Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +12 -141
- configs/sft_stage5_clean_512.yaml +12 -0
- configs/sft_stage6_from_cpt1000_512.yaml +24 -0
- configs/veridian_2b_bpe131k.yaml +27 -0
- step_0000050.pt +3 -0
- tokenizer.json +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,145 +1,16 @@
|
|
| 1 |
-
-
|
| 2 |
-
license: other
|
| 3 |
-
language:
|
| 4 |
-
- ru
|
| 5 |
-
- en
|
| 6 |
-
tags:
|
| 7 |
-
- causal-lm
|
| 8 |
-
- bilingual
|
| 9 |
-
- moe
|
| 10 |
-
- pytorch
|
| 11 |
-
- experimental
|
| 12 |
-
- nullxes
|
| 13 |
-
- veridian
|
| 14 |
-
pipeline_tag: text-generation
|
| 15 |
-
library_name: pytorch
|
| 16 |
-
---
|
| 17 |
|
| 18 |
-
|
|
|
|
| 19 |
|
| 20 |
-
|
|
|
|
| 21 |
|
| 22 |
-
|
|
|
|
|
|
|
| 23 |
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
VERIDIAN is not designed as a generic chatbot. It is being built as a **foundational model for execution-oriented AI systems** — including digital employees, assistants, and real-time integrated agents.
|
| 29 |
-
|
| 30 |
-
---
|
| 31 |
-
|
| 32 |
-
## 🧠 Core Idea
|
| 33 |
-
|
| 34 |
-
VERIDIAN sits inside the broader **NULLXES AI infrastructure stack**, where models are expected not just to generate text, but to:
|
| 35 |
-
|
| 36 |
-
* operate inside real systems
|
| 37 |
-
* interact with tools and workflows
|
| 38 |
-
* act as components of larger AI-driven architectures
|
| 39 |
-
|
| 40 |
-
This beta reflects that direction at an early stage.
|
| 41 |
-
|
| 42 |
-
---
|
| 43 |
-
|
| 44 |
-
## ⚙️ Current Capabilities
|
| 45 |
-
|
| 46 |
-
* Bilingual baseline (Russian / English)
|
| 47 |
-
* Early identity anchoring
|
| 48 |
-
* Experimental sparse MoE architecture
|
| 49 |
-
* Initial behavior shaping toward system integration
|
| 50 |
-
|
| 51 |
-
---
|
| 52 |
-
|
| 53 |
-
## 🚧 Status
|
| 54 |
-
|
| 55 |
-
* **Version:** beta-0
|
| 56 |
-
* **Stage:** early experimental
|
| 57 |
-
* **Languages:** RU / EN
|
| 58 |
-
* **Format:** PyTorch → `safetensors`
|
| 59 |
-
|
| 60 |
-
---
|
| 61 |
-
|
| 62 |
-
## ⚠️ Known Limitations
|
| 63 |
-
|
| 64 |
-
* Tokenizer splits names, brands, and custom tokens inconsistently
|
| 65 |
-
* Output quality is unstable across domains
|
| 66 |
-
* Reasoning depth is limited
|
| 67 |
-
* Instruction-following is still weak
|
| 68 |
-
* Not optimized for long-context tasks
|
| 69 |
-
* Hugging Face integration is minimal (artifact-focused)
|
| 70 |
-
|
| 71 |
-
---
|
| 72 |
-
|
| 73 |
-
## 📦 Files
|
| 74 |
-
|
| 75 |
-
* `veridian_beta_0.safetensors` — model weights
|
| 76 |
-
* `veridian_beta_0_config.yaml` — original config
|
| 77 |
-
* `config.json` — HF-compatible config
|
| 78 |
-
* `tokenizer.json` — tokenizer
|
| 79 |
-
* `tokenizer_config.json` — tokenizer metadata
|
| 80 |
-
* `special_tokens_map.json` — special tokens
|
| 81 |
-
* `generation_config.json` — generation defaults
|
| 82 |
-
|
| 83 |
-
---
|
| 84 |
-
|
| 85 |
-
## 🚀 Intended Use
|
| 86 |
-
|
| 87 |
-
* Research and experimentation
|
| 88 |
-
* Internal system testing
|
| 89 |
-
* Prototyping bilingual agents
|
| 90 |
-
* Custom pipeline integration
|
| 91 |
-
* Studying early-stage MoE behavior
|
| 92 |
-
|
| 93 |
-
---
|
| 94 |
-
|
| 95 |
-
## ⛔ Not Recommended For
|
| 96 |
-
|
| 97 |
-
* Production deployment
|
| 98 |
-
* High-stakes or safety-critical decisions
|
| 99 |
-
* Reliability-sensitive applications
|
| 100 |
-
* Benchmark comparisons with mature models
|
| 101 |
-
* Polished end-user chat experiences
|
| 102 |
-
|
| 103 |
-
---
|
| 104 |
-
|
| 105 |
-
## 🧩 Positioning
|
| 106 |
-
|
| 107 |
-
VERIDIAN is part of a shift from:
|
| 108 |
-
|
| 109 |
-
> "models that answer"
|
| 110 |
-
|
| 111 |
-
to:
|
| 112 |
-
|
| 113 |
-
> "models that operate"
|
| 114 |
-
|
| 115 |
-
It is being developed as an execution layer inside AI systems — not just an interface.
|
| 116 |
-
|
| 117 |
-
---
|
| 118 |
-
|
| 119 |
-
## 🏗️ About NULLXES
|
| 120 |
-
|
| 121 |
-
**NULLXES** builds next-generation AI infrastructure and digital employees designed to operate in real-world environments.
|
| 122 |
-
|
| 123 |
-
VERIDIAN is a foundational model initiative within this ecosystem.
|
| 124 |
-
|
| 125 |
-
---
|
| 126 |
-
|
| 127 |
-
## 🔮 Roadmap (high-level)
|
| 128 |
-
|
| 129 |
-
* Tokenizer stability improvements
|
| 130 |
-
* Stronger bilingual coherence
|
| 131 |
-
* Instruction tuning and alignment layers
|
| 132 |
-
* More consistent identity behavior
|
| 133 |
-
* Expanded training datasets
|
| 134 |
-
* Integration into real-time systems (voice / avatar / agents)
|
| 135 |
-
* Progression toward multimodal capabilities
|
| 136 |
-
|
| 137 |
-
---
|
| 138 |
-
|
| 139 |
-
## 💬 Release Note
|
| 140 |
-
|
| 141 |
-
This is not a finished model.
|
| 142 |
-
|
| 143 |
-
This is a **starting checkpoint** — raw, imperfect, but directional.
|
| 144 |
-
|
| 145 |
-
VERIDIAN will evolve alongside the NULLXES ecosystem into a system-level AI component.
|
|
|
|
| 1 |
+
# veridian-beta
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
+
Current checkpoint:
|
| 4 |
+
- `step_0000050.pt`
|
| 5 |
|
| 6 |
+
Base:
|
| 7 |
+
- VERIDIAN 2B `step_0004750.pt`
|
| 8 |
|
| 9 |
+
Pipeline:
|
| 10 |
+
- continued pretraining from `step_0004750.pt`
|
| 11 |
+
- quick clean SFT from `pretrain_stage2_5 step_0001000.pt`
|
| 12 |
|
| 13 |
+
Files:
|
| 14 |
+
- `step_0000050.pt`
|
| 15 |
+
- `tokenizer.json`
|
| 16 |
+
- `configs/`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
configs/sft_stage5_clean_512.yaml
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: veridian-sft-stage5-clean-512
|
| 2 |
+
streaming: false
|
| 3 |
+
shuffle_buffer_size: 1024
|
| 4 |
+
sequence_length: 512
|
| 5 |
+
min_document_tokens: 0
|
| 6 |
+
|
| 7 |
+
datasets:
|
| 8 |
+
- name: clean_stage5
|
| 9 |
+
path: data/stage5_clean/veridian_stage5_clean.jsonl
|
| 10 |
+
split: train
|
| 11 |
+
text_field: messages
|
| 12 |
+
weight: 1.0
|
configs/sft_stage6_from_cpt1000_512.yaml
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: veridian-sft-stage6-from-cpt1000-512
|
| 2 |
+
seed: 42
|
| 3 |
+
device: cuda
|
| 4 |
+
dtype: bfloat16
|
| 5 |
+
global_batch_size_tokens: 16384
|
| 6 |
+
micro_batch_size_sequences: 1
|
| 7 |
+
gradient_accumulation_steps: 32
|
| 8 |
+
num_train_steps: 100
|
| 9 |
+
learning_rate: 2.0e-7
|
| 10 |
+
min_learning_rate: 5.0e-8
|
| 11 |
+
warmup_steps: 10
|
| 12 |
+
weight_decay: 0.0
|
| 13 |
+
adam_beta1: 0.9
|
| 14 |
+
adam_beta2: 0.95
|
| 15 |
+
adam_epsilon: 1.0e-8
|
| 16 |
+
grad_clip_norm: 0.15
|
| 17 |
+
log_every: 10
|
| 18 |
+
eval_every: 0
|
| 19 |
+
save_every: 50
|
| 20 |
+
checkpoint_dir: checkpoints/sft_stage6_cpt1000
|
| 21 |
+
bf16: true
|
| 22 |
+
use_tf32: true
|
| 23 |
+
activation_checkpointing: true
|
| 24 |
+
compile_model: false
|
configs/veridian_2b_bpe131k.yaml
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: veridian-2b-bpe131k
|
| 2 |
+
vocab_size: 131072
|
| 3 |
+
hidden_size: 2048
|
| 4 |
+
intermediate_size: 5632
|
| 5 |
+
num_hidden_layers: 20
|
| 6 |
+
num_attention_heads: 16
|
| 7 |
+
num_key_value_heads: 4
|
| 8 |
+
num_local_experts: 4
|
| 9 |
+
num_shared_experts: 1
|
| 10 |
+
num_experts_per_tok: 2
|
| 11 |
+
max_position_embeddings: 1024
|
| 12 |
+
target_max_position_embeddings: 1024
|
| 13 |
+
pad_token_id: 0
|
| 14 |
+
bos_token_id: 1
|
| 15 |
+
eos_token_id: 2
|
| 16 |
+
attention_dropout: 0.0
|
| 17 |
+
residual_dropout: 0.0
|
| 18 |
+
rms_norm_eps: 1.0e-6
|
| 19 |
+
rope_theta: 100000.0
|
| 20 |
+
router_aux_loss_coef: 0.01
|
| 21 |
+
router_z_loss_coef: 1.0e-4
|
| 22 |
+
capacity_factor_train: 1.0
|
| 23 |
+
capacity_factor_eval: 1.0
|
| 24 |
+
initializer_range: 0.02
|
| 25 |
+
tie_word_embeddings: true
|
| 26 |
+
use_bias: false
|
| 27 |
+
use_cache: true
|
step_0000050.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4dbdac8eeea99b330aa155c87daf6e58e03e7458ed1e43f2f744a99bd8f87144
|
| 3 |
+
size 47264986666
|
tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|