oguz7/printer
Viewer • Updated • 19 • 11
How to use oguz7/printerllama3.1 with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("NousResearch/Meta-Llama-3-8B")
model = PeftModel.from_pretrained(base_model, "oguz7/printerllama3.1")axolotl version: 0.6.0
adapter: lora
base_model: NousResearch/Meta-Llama-3-8B
bf16: auto
dataset_prepared_path: null
datasets:
- path: oguz7/printer
type: alpaca
debug: null
deepspeed: null
early_stopping_patience: null
eval_max_new_tokens: 128
eval_sample_packing: false
eval_table_size: null
evals_per_epoch: 4
flash_attention: true
fp16: null
fsdp: null
fsdp_config: null
gradient_accumulation_steps: 4
gradient_checkpointing: true
group_by_length: false
hub_model_id: oguz7/printerllama3.1
learning_rate: 0.0002
load_in_4bit: false
load_in_8bit: true
local_rank: null
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
micro_batch_size: 2
model_type: LlamaForCausalLM
num_epochs: 4
optimizer: adamw_bnb_8bit
output_dir: ./outputs/lora-out
pad_to_sequence_len: true
resume_from_checkpoint: null
s2_attention: null
sample_packing: true
saves_per_epoch: 1
sequence_len: 4096
special_tokens:
pad_token: <|end_of_text|>
strict: false
tf32: false
tokenizer_type: AutoTokenizer
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: 10
weight_decay: 0.0
xformers_attention: null
This model is a fine-tuned version of NousResearch/Meta-Llama-3-8B on the oguz7/printer dataset.
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
Base model
NousResearch/Meta-Llama-3-8B