CoolFace
Modelpublic

mrmsoares/poti-wp-llama3-8b-lora

sourceHugging Facellama3updated 9mo agoView on Hugging Face
0likes4downloads
Model Card

<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->

<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/> <details><summary>See axolotl config</summary>

axolotl version: 0.13.0.dev0

yaml

# ============================================
# πŸ”₯ POTI-WP - MODO ESTÁVEL MAS FORTE πŸ”₯
# ============================================

base_model: unsloth/llama-3-8b-bnb-4bit
model_type: LlamaForCausalLM
load_in_8bit: false
load_in_4bit: true
strict: false

datasets:
  - path: mrmsoares/poti-wp-instruct
    type: alpaca
    shards: 1

dataset_prepared_path: last_run_prepared
val_set_size: 0.02
output_dir: ./outputs/poti-wp-lora-chernobyl

adapter: qlora

sequence_len: 2048
sample_packing: true
pad_to_sequence_len: true
eval_sample_packing: false

lora_r: 64
lora_alpha: 128
lora_dropout: 0.05
lora_target_linear: true

# Desabilita os kernels otimizados que estΓ£o dando problema
lora_mlp_kernel: false
lora_qkv_kernel: false
lora_o_kernel: false

micro_batch_size: 2
gradient_accumulation_steps: 8

num_epochs: 4
optimizer: adamw_torch_fused
lr_scheduler: cosine
learning_rate: 2e-4
train_on_inputs: false
group_by_length: false

bf16: auto
fp16: false
tf32: true

gradient_checkpointing: true

flash_attention: true

torch_compile: false

dataloader_num_workers: 2
dataloader_pin_memory: true

logging_steps: 1
warmup_steps: 10
evals_per_epoch: 2
saves_per_epoch: 1

weight_decay: 0.01
seed: 42
neftune_noise_alpha: 5

</details><br>

outputs/poti-wp-lora-chernobyl

This model is a fine-tuned version of unsloth/llama-3-8b-bnb-4bit on the mrmsoares/poti-wp-instruct dataset. It achieves the following results on the evaluation set:

  • β€”Loss: 12.6679
  • β€”Ppl: 317384.6004
  • β€”Memory/max Active (gib): 12.45
  • β€”Memory/max Allocated (gib): 12.45
  • β€”Memory/device Reserved (gib): 16.26

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
  • β€”trainbatchsize: 2
  • β€”evalbatchsize: 2
  • β€”seed: 42
  • β€”gradientaccumulationsteps: 8
  • β€”totaltrainbatch_size: 16
  • β€”optimizer: Use adamwtorchfused with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • β€”lrschedulertype: cosine
  • β€”lrschedulerwarmup_steps: 10
  • β€”training_steps: 16

Training results

Training LossEpochStepValidation LossPplActive (gib)Allocated (gib)Reserved (gib)
No log0012.6570313965.295511.1811.1811.46
0.52640.4324212.6579314226.498912.4512.4516.26
0.46170.8649412.6410308956.253512.4512.4516.26
0.30771.2162612.6273304764.183212.4512.4516.26
0.2061.6486812.6059298315.936612.4512.4516.26
0.21382.01012.5923294282.271512.4512.4516.26
0.14382.43241212.6695317914.735312.4512.4516.26
0.14092.86491412.6859323160.230612.4512.4516.26
0.10063.21621612.6679317384.600412.4512.4516.26

Framework versions

  • β€”PEFT 0.18.1.dev0
  • β€”Transformers 4.57.1
  • β€”Pytorch 2.8.0+cu128
  • β€”Datasets 4.4.2
  • β€”Tokenizers 0.22.1