Downloads · 30 days
11
15% of all-time downloads
giux78/zagreus-test-202000-sft
zagreus-test-202000-sft is a text generation model from giux78. Use it when you need the model to write or continue text. It is set up for transformers.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
11
15% of all-time downloads
All-time downloads
74
Public
Parameters
438M
893 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors876 MB · 98%
From the Hugging Face model README
axolotl version: 0.9.2
base_model: giux78/zagreus-test-202000
# Automatically upload checkpoint and final model to HF
# hub_model_id: username/custom_model_name
strict: false
# === Datasets ===
streaming: true
datasets:
- path: /leonardo_work/EUHPC_A04_045/.data
type: chat_template
chat_template: tokenizer_default_fallback_llama3
field_messages: conversations
message_property_mappings:
role: from
content: value
roles_to_train: ["gpt", "assistant"]
train_on_eos: "turn"
# === Sequencing / packing ===
sequence_len: 4096
sample_packing: true
remove_unused_columns: false # <-- aggiungi questa riga
eval_sample_packing: false
pad_to_sequence_len: false
streaming_multipack_buffer_size: 10000
# === Ottimizzazione ===
optimizer: adamw_torch_fused
learning_rate: 2e-5
lr_scheduler: cosine
warmup_ratio: 0.1
weight_decay: 0.0
# === Batch (per GPU) ===
micro_batch_size: 1
gradient_accumulation_steps: 8
# Eff. batch = micro_batch_size * grad_accum * num_gpus = 1 * 8 * 32 = 256
# === Precisione / memoria ===
bf16: auto
tf32: true
flash_attention: true
gradient_checkpointing: true
gradient_checkpointing_kwargs:
use_reentrant: false
# === FSDP (Axolotl usa fsdp_config; la chiave "fsdp:" è deprecata) ===
fsdp_config:
fsdp_sharding_strategy: FULL_SHARD # shard di param, grad e optimizer state
fsdp_auto_wrap_policy: TRANSFORMER_BASED_WRAP
fsdp_transformer_layer_cls_to_wrap: LlamaDecoderLayer
fsdp_use_orig_params: false
fsdp_sync_module_states: true
fsdp_limit_all_gathers: true
fsdp_cpu_ram_efficient_loading: true
fsdp_offload_params: false # attivalo solo se VRAM è stretta (vedi variante)
fsdp_state_dict_type: SHARDED_STATE_DICT # checkpoint più leggeri su cluster multi-nodo
# === Loop di training ===
num_epochs: 1 # con 170GB basta una passata
# max_steps: 200000 # alternativa: budget a step/token
# === Eval / checkpoint ===
val_set_size: 0.01
evals_per_epoch: 5
save_steps: 2000 # salva ogni 2.000 step (metti il valore che preferisci)
save_total_limit: 5
logging_steps: 20
# === Tracciamento ===
wandb_mode: "offline"
wandb_project: zagreus-350M-sft
wandb_entity: mii-llm
wandb_name: sft
# === Token speciali ===
special_tokens:
pad_token: <|end_of_text|>
eos_token: <|end_of_text|>
</details><br>
This model is a fine-tuned version of giux78/zagreus-test-202000 on the None dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| No log | 0.0003 | 1 | 2.1506 |
| 3.6166 | 0.2003 | 681 | 2.1390 |
| 3.4709 | 0.4006 | 1362 | 2.2716 |
| 3.4327 | 0.6008 | 2043 | 2.2737 |
| 3.4102 | 0.8011 | 2724 | 2.2814 |