matrixportalx/aya-turkish-alpaca
Viewer • Updated • 3.63M • 36 • 2
How to use matrixportalx/TR-Lora with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Meta-Llama-3-8B-Instruct")
model = PeftModel.from_pretrained(base_model, "matrixportalx/TR-Lora")axolotl version: 0.8.1
adapter: qlora
base_model: meta-llama/Meta-Llama-3-8B-Instruct
bf16: auto
dataset_prepared_path: last_run_prepared
datasets:
- path: matrixportal/aya-turkish-alpaca
type: alpaca
debug: null
deepspeed: null
early_stopping_patience: null
eval_sample_packing: true
eval_table_size: null
evals_per_epoch: 1
flash_attention: false
fp16: null
fsdp: null
fsdp_config: null
gradient_accumulation_steps: 2
gradient_checkpointing: true
group_by_length: false
learning_rate: 2e-5
load_in_4bit: true
load_in_8bit: false
logging_steps: 1
lora_alpha: 16
lora_dropout: 0.05
lora_fan_in_fan_out: null
lora_model_dir: null
lora_modules_to_save:
- embed_tokens
- lm_head
lora_r: 32
lora_target_linear: true
lr_scheduler: cosine
max_steps: 25
micro_batch_size: 1
num_epochs: 1
optimizer: paged_adamw_8bit
output_dir: ./outputs/lora-out
pad_to_sequence_len: true
resume_from_checkpoint: null
sample_packing: true
saves_per_epoch: 1
sdp_attention: true
sequence_len: 2048
special_tokens:
pad_token: <|end_of_text|>
strict: false
tf32: false
train_on_inputs: false
val_set_size: 0.05
wandb_entity: null
wandb_log_model: null
wandb_name: null
wandb_project: null
wandb_watch: null
warmup_steps: 1
weight_decay: 0.0
xformers_attention: null
This model is a fine-tuned version of meta-llama/Meta-Llama-3-8B-Instruct on the matrixportal/aya-turkish-alpaca 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 |
|---|---|---|---|
| 4.5843 | 0.0002 | 25 | 4.9042 |
Base model
meta-llama/Meta-Llama-3-8B-Instruct