Built with Axolotl

See axolotl config

axolotl version: 0.10.0

base_model: meta-llama/Llama-3.1-8B-Instruct
model_type: LlamaForCausalLM
tokenizer_type: AutoTokenizer

load_in_8bit: false
load_in_4bit: false

datasets:
  - path: cfierro/simpleqa_wiki
    type: completion
    field: doc
    split: test
dataset_prepared_path: /scratch/project/eu-25-39/knowledge-ft/axolotl/datasets/Llama-2-7b-chat/simpleqa-raw-wiki
val_set_size: 0.0
output_dir: /scratch/project/eu-25-39/knowledge-ft/axolotl/models/llama-3.1-8b-fft-simpleqa-raw-wiki
hub_model_id: llama-3.1-8b-fft-simpleqa-raw-wiki

sequence_len: 4096
sample_packing: true
eval_sample_packing: false

# No LoRA — full fine-tuning

wandb_project: knowledge-ft
wandb_entity: cfierro
wandb_watch:
wandb_name: llama-3.1-8b-fft-simpleqa-raw-wiki
wandb_log_model: "false"

# Multi-GPU settings (same as AR full-FT)
# effective batch = 4 GPUs * 1 micro_batch * 2 grad_accum = 8
gradient_accumulation_steps: 2
micro_batch_size: 1
max_steps: 500
save_steps: 100

optimizer: adamw_bnb_8bit
lr_scheduler: constant
learning_rate: 1e-5

bf16: auto
tf32: false

gradient_checkpointing: true
resume_from_checkpoint:
logging_steps: 1
flash_attention: true

warmup_ratio: 0.03
save_total_limit: 1
weight_decay: 0.0
special_tokens:
   pad_token: <|end_of_text|>

# DeepSpeed ZeRO Stage 3
deepspeed: deepspeed_configs/zero3.json

llama-3.1-8b-fft-simpleqa-raw-wiki

This model is a fine-tuned version of meta-llama/Llama-3.1-8B-Instruct on the cfierro/simpleqa_wiki dataset.

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 1e-05
  • train_batch_size: 1
  • eval_batch_size: 1
  • seed: 42
  • distributed_type: multi-GPU
  • num_devices: 4
  • gradient_accumulation_steps: 2
  • total_train_batch_size: 8
  • total_eval_batch_size: 4
  • optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • lr_scheduler_type: constant
  • lr_scheduler_warmup_steps: 13
  • training_steps: 500

Training results

Framework versions

  • Transformers 4.57.3
  • Pytorch 2.9.0+cu128
  • Datasets 3.5.0
  • Tokenizers 0.22.2
Downloads last month
3
Safetensors
Model size
266k params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for cfierro/llama-3.1-8b-fft-simpleqa-raw-wiki

Finetuned
(2584)
this model

Dataset used to train cfierro/llama-3.1-8b-fft-simpleqa-raw-wiki