Built with Axolotl

See axolotl config

axolotl version: 0.8.0.dev0

base_model: TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T
datasets:
  - path: alpaca_dataset.json
    type: alpaca
output_dir: ./outputs/tinyllama-alpaca-h100

# Hardware-Specific Tuning (H100 80GB)
micro_batch_size: 32  # Max stable for H100 (tested empirically)
gradient_accumulation_steps: 1  # Disabled (VRAM fits full batches)
flash_attention: true  # 20-30% speed boost on H100

# LoRA Config (optimized for throughput)
lora_r: 8
lora_alpha: 16
lora_dropout: 0.05
lora_target_modules:
  - q_proj
  - v_proj

# Training
num_epochs: 1
learning_rate: 0.0002
optimizer: adamw_bnb_8bit
lr_scheduler: cosine
warmup_steps: 100
max_steps: 17500  # 560k samples / batch_size 32

# Memory/Precision
bf16: true  # H100 native support
load_in_8bit: false  # Disabled (hurts H100 throughput)
gradient_checkpointing: false  # Not needed with 80GB VRAM

# Logging
eval_steps: 200
save_steps: 1000
log_format: wandb  # Optional for real-time monitoring

outputs/tinyllama-alpaca-h100

This model is a fine-tuned version of TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T on the alpaca_dataset.json 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: 0.0002
  • train_batch_size: 32
  • eval_batch_size: 32
  • seed: 42
  • 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: cosine
  • lr_scheduler_warmup_steps: 100
  • training_steps: 17500

Training results

Framework versions

  • Transformers 4.49.0
  • Pytorch 2.5.1+cu124
  • Datasets 3.2.0
  • Tokenizers 0.21.0
Downloads last month
15
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Omar401/tinyllama-alpaca-h100

Finetuned
(109)
this model