End of training
Browse files- README.md +186 -0
- debug.log +0 -0
- model-00001-of-00003.safetensors +1 -1
- model-00002-of-00003.safetensors +1 -1
- model-00003-of-00003.safetensors +1 -1
README.md
ADDED
|
@@ -0,0 +1,186 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: allenai/Olmo-3-1025-7B
|
| 5 |
+
tags:
|
| 6 |
+
- axolotl
|
| 7 |
+
- generated_from_trainer
|
| 8 |
+
datasets:
|
| 9 |
+
- dataset-tfs-mk-IMP-SOS-processed-olmo3-think.jsonl
|
| 10 |
+
model-index:
|
| 11 |
+
- name: O37BB
|
| 12 |
+
results: []
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 16 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 17 |
+
|
| 18 |
+
[<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
|
| 19 |
+
<details><summary>See axolotl config</summary>
|
| 20 |
+
|
| 21 |
+
axolotl version: `0.13.0.dev0`
|
| 22 |
+
```yaml
|
| 23 |
+
# --- Base Model & Tokenizer Configuration ---
|
| 24 |
+
base_model: allenai/Olmo-3-1025-7B
|
| 25 |
+
trust_remote_code: true
|
| 26 |
+
hub_model_id: Auditt/O37BB # Push the model to the Hugging Face Hub
|
| 27 |
+
chat_template_jinja: /workspace/data/model-output/chat_template.jinja # Uses the template defined in tokenizer_config.json
|
| 28 |
+
|
| 29 |
+
# --- Dataset Configuration ---
|
| 30 |
+
# Assuming a standard conversation format (ShareGPT/ChatML style)
|
| 31 |
+
datasets:
|
| 32 |
+
- path: dataset-tfs-mk-IMP-SOS-processed-olmo3-think.jsonl
|
| 33 |
+
type: chat_template
|
| 34 |
+
field_messages: messages # The top-level key containing the list
|
| 35 |
+
message_field_role: role # The key inside the list for 'user'/'assistant'
|
| 36 |
+
message_field_content: content # The key inside the list for the actual text
|
| 37 |
+
|
| 38 |
+
# 4. MAP YOUR ROLES
|
| 39 |
+
# The keys (left) are what Axolotl expects.
|
| 40 |
+
# The values (right) are what exist in your raw JSONL file.
|
| 41 |
+
roles:
|
| 42 |
+
user: ["user"]
|
| 43 |
+
assistant: ["assistant"]
|
| 44 |
+
system: ["system"]
|
| 45 |
+
|
| 46 |
+
# 5. SUPERVISION
|
| 47 |
+
# This ensures loss is calculated ONLY on the "assistant" turns.
|
| 48 |
+
roles_to_train: ["assistant"]
|
| 49 |
+
|
| 50 |
+
val_set_size: 0.1 # 10% Validation, 90% Training
|
| 51 |
+
dataset_prepared_path: last_run_prepared
|
| 52 |
+
|
| 53 |
+
# --- Training Strategy ---
|
| 54 |
+
sequence_len: 60000 # Max sequence length
|
| 55 |
+
sample_packing: true # Efficiently packs samples to fill sequence_len
|
| 56 |
+
pad_to_sequence_len: true
|
| 57 |
+
|
| 58 |
+
# Supervision Settings
|
| 59 |
+
train_on_inputs: false # False = Mask User prompts (Supervise Assistant only)
|
| 60 |
+
group_by_length: false # Usually false when sample_packing is true
|
| 61 |
+
|
| 62 |
+
# --- Hyperparameters & Training Loop ---
|
| 63 |
+
num_epochs: 2
|
| 64 |
+
micro_batch_size: 1 # Keep small due to 60k context
|
| 65 |
+
gradient_accumulation_steps: 4 # Adjust based on desired global batch size
|
| 66 |
+
learning_rate: 0.00001
|
| 67 |
+
optimizer: adamw_torch
|
| 68 |
+
|
| 69 |
+
# --- Distributed Training & Memory ---
|
| 70 |
+
context_parallel_size: 2 # Splits the 60k sequence across 2 GPUs
|
| 71 |
+
gradient_checkpointing: true # Essential for 60k context
|
| 72 |
+
flash_attention: true # Essential for speed/memory at this length
|
| 73 |
+
|
| 74 |
+
# --- Logging & Evaluation ---
|
| 75 |
+
logging_steps: 1 # Log training loss every step
|
| 76 |
+
evals_per_epoch: 1 # Run eval 1 times per epoch (roughly)
|
| 77 |
+
#eval_strategy: epoch
|
| 78 |
+
#save_strategy: epoch # Save checkpoint at end of epoch
|
| 79 |
+
#wandb_project: olmo3-finetune # Optional: Weights & Biases logging
|
| 80 |
+
#wandb_entity: your-entity # Optional
|
| 81 |
+
output_dir: /workspace/data/model-output-base
|
| 82 |
+
|
| 83 |
+
# --- Precision ---
|
| 84 |
+
bf16: true # Bfloat16 is recommended for OLMo
|
| 85 |
+
fp16: false
|
| 86 |
+
tf32: true
|
| 87 |
+
|
| 88 |
+
tokens: # Add these to the tokenizer
|
| 89 |
+
- "π²"
|
| 90 |
+
- "πΎ"
|
| 91 |
+
- "γ"
|
| 92 |
+
- "π"
|
| 93 |
+
- "β"
|
| 94 |
+
- "π "
|
| 95 |
+
- "π"
|
| 96 |
+
- "πΈ"
|
| 97 |
+
- "β§"
|
| 98 |
+
- "β₯"
|
| 99 |
+
- "π"
|
| 100 |
+
- "π"
|
| 101 |
+
- "β"
|
| 102 |
+
- "π"
|
| 103 |
+
- "β"
|
| 104 |
+
- "π£"
|
| 105 |
+
- "π"
|
| 106 |
+
- "π"
|
| 107 |
+
- "π"
|
| 108 |
+
- "Ο"
|
| 109 |
+
- "π"
|
| 110 |
+
- "γ"
|
| 111 |
+
- "π"
|
| 112 |
+
- "π»"
|
| 113 |
+
- "π"
|
| 114 |
+
- "π³"
|
| 115 |
+
- "β "
|
| 116 |
+
- "π·"
|
| 117 |
+
- "β€"
|
| 118 |
+
- "π"
|
| 119 |
+
- "π±"
|
| 120 |
+
- "π"
|
| 121 |
+
- "β¦"
|
| 122 |
+
- "π"
|
| 123 |
+
- "β"
|
| 124 |
+
- "π"
|
| 125 |
+
- "π°"
|
| 126 |
+
- "Ξ΅"
|
| 127 |
+
|
| 128 |
+
```
|
| 129 |
+
|
| 130 |
+
</details><br>
|
| 131 |
+
|
| 132 |
+
# O37BB
|
| 133 |
+
|
| 134 |
+
This model is a fine-tuned version of [allenai/Olmo-3-1025-7B](https://huggingface.co/allenai/Olmo-3-1025-7B) on the dataset-tfs-mk-IMP-SOS-processed-olmo3-think.jsonl dataset.
|
| 135 |
+
It achieves the following results on the evaluation set:
|
| 136 |
+
- Loss: 0.0019
|
| 137 |
+
- Memory/max Active (gib): 85.95
|
| 138 |
+
- Memory/max Allocated (gib): 82.72
|
| 139 |
+
- Memory/device Reserved (gib): 93.36
|
| 140 |
+
|
| 141 |
+
## Model description
|
| 142 |
+
|
| 143 |
+
More information needed
|
| 144 |
+
|
| 145 |
+
## Intended uses & limitations
|
| 146 |
+
|
| 147 |
+
More information needed
|
| 148 |
+
|
| 149 |
+
## Training and evaluation data
|
| 150 |
+
|
| 151 |
+
More information needed
|
| 152 |
+
|
| 153 |
+
## Training procedure
|
| 154 |
+
|
| 155 |
+
### Training hyperparameters
|
| 156 |
+
|
| 157 |
+
The following hyperparameters were used during training:
|
| 158 |
+
- learning_rate: 1e-05
|
| 159 |
+
- train_batch_size: 1
|
| 160 |
+
- eval_batch_size: 1
|
| 161 |
+
- seed: 42
|
| 162 |
+
- distributed_type: multi-GPU
|
| 163 |
+
- num_devices: 2
|
| 164 |
+
- gradient_accumulation_steps: 4
|
| 165 |
+
- total_train_batch_size: 8
|
| 166 |
+
- total_eval_batch_size: 2
|
| 167 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 168 |
+
- lr_scheduler_type: cosine
|
| 169 |
+
- lr_scheduler_warmup_steps: 10
|
| 170 |
+
- training_steps: 348
|
| 171 |
+
|
| 172 |
+
### Training results
|
| 173 |
+
|
| 174 |
+
| Training Loss | Epoch | Step | Validation Loss | Active (gib) | Allocated (gib) | Reserved (gib) |
|
| 175 |
+
|:-------------:|:------:|:----:|:---------------:|:------------:|:---------------:|:--------------:|
|
| 176 |
+
| No log | 0 | 0 | 1.0680 | 58.72 | 55.5 | 65.44 |
|
| 177 |
+
| 0.0647 | 0.9943 | 174 | 0.0021 | 85.95 | 82.72 | 106.04 |
|
| 178 |
+
| 0.0296 | 1.9943 | 348 | 0.0019 | 85.95 | 82.72 | 93.36 |
|
| 179 |
+
|
| 180 |
+
|
| 181 |
+
### Framework versions
|
| 182 |
+
|
| 183 |
+
- Transformers 4.57.0
|
| 184 |
+
- Pytorch 2.7.1+cu126
|
| 185 |
+
- Datasets 4.0.0
|
| 186 |
+
- Tokenizers 0.22.1
|
debug.log
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model-00001-of-00003.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4970296272
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ddfd5c4ee683c28f1c85313fb8c78b300713de4dcbbc0dd015c8e0c63f2841b3
|
| 3 |
size 4970296272
|
model-00002-of-00003.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4981161496
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:52f8aba6952a7d77fb080415fa01951f7edd404bbf35599e132dbab018acf98f
|
| 3 |
size 4981161496
|
model-00003-of-00003.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4645228536
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:137732105bebe521f2b2ed041974ad2e7097921a82fee9d4417152df112603f5
|
| 3 |
size 4645228536
|