CoolFace
Modelpublic

lucianroman/llama-3.1-8b-romanian-girlfriend-lora

sourceHugging Facellama3.1updated 1y agoView on Hugging Face
0likes6downloads
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.8.0.dev0

yaml
base_model: meta-llama/Llama-3.1-8B-Instruct
model_type: LlamaForCausalLM
is_llama_derived_model: true
special_tokens:
  pad_token: "<|end_of_text|>"
load_in_8bit: false
load_in_4bit: false
torch_dtype: bfloat16
strict: false
adapter: lora
datasets:
  - path: /workspace/fine-tuning
    data_files: girlfriend-ai-romanian-v1.jsonl
    type: chat_template
sequence_len: 4096
sample_packing: false
num_epochs: 1.0
micro_batch_size: 2
gradient_accumulation_steps: 8
output_dir: ./outputs/mymodel
learning_rate: 0.0002
lr_scheduler: cosine
weight_decay: 0.0
optimizer: adamw_torch
lora_r: 16
lora_alpha: 32
lora_dropout: 0.05
lora_target_modules:
  - q_proj
  - v_proj
  - k_proj
  - o_proj
  - gate_proj
  - down_proj
  - up_proj
gradient_checkpointing: true
save_safetensors: true
train_on_inputs: false
val_set_size: 0.0
trust_remote_code: true
bf16: true
fp16: false

</details><br>

outputs/mymodel

This model is a fine-tuned version of meta-llama/Llama-3.1-8B-Instruct on the None 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
  • —trainbatchsize: 2
  • —evalbatchsize: 2
  • —seed: 42
  • —gradientaccumulationsteps: 8
  • —totaltrainbatch_size: 16
  • —optimizer: Use OptimizerNames.ADAMWTORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • —lrschedulertype: cosine
  • —num_epochs: 1.0

Training results

Framework versions

  • —PEFT 0.14.0
  • —Transformers 4.49.0
  • —Pytorch 2.5.1+cu124
  • —Datasets 3.2.0
  • —Tokenizers 0.21.0