Views
No views yet
0.4.11base_model: NousResearch/Meta-Llama-3-8B-Instruct
2model_type: LlamaForCausalLM
3tokenizer_type: AutoTokenizer
4
5load_in_8bit: true
6load_in_4bit: false
7strict: false
8
9# chat_template: llama3
10datasets:
11 - path: /home/ftcourse/sample_data/crossner_ai_train.jsonl
12 type: alpaca
13# datasets:
14# - path: fozziethebeat/alpaca_messages_2k_test
15# type: chat_template
16# field_messages: messages
17# message_field_role: role
18# message_field_content: content
19# roles:
20# user:
21# - user
22# assistant:
23# - assistant
24
25dataset_prepared_path:
26val_set_size: 0.05
27output_dir: ./outputs/lora-out
28hub_model_id: femT-data/llama-3.1-8B-instruct-GNER
29
30sequence_len: 4096
31sample_packing: false
32pad_to_sequence_len: true
33
34adapter: lora
35lora_model_dir:
36lora_r: 32
37lora_alpha: 16
38lora_dropout: 0.05
39lora_target_linear: true
40lora_fan_in_fan_out:
41
42gradient_accumulation_steps: 4
43micro_batch_size: 2
44num_epochs: 1
45optimizer: adamw_bnb_8bit
46lr_scheduler: cosine
47learning_rate: 0.0002
48
49train_on_inputs: false
50group_by_length: false
51bf16: auto
52fp16:
53tf32: false
54
55gradient_checkpointing: true
56early_stopping_patience:
57resume_from_checkpoint:
58local_rank:
59logging_steps: 1
60xformers_attention:
61flash_attention: true
62s2_attention:
63
64warmup_steps: 10
65evals_per_epoch: 4
66eval_table_size:
67eval_max_new_tokens: 128
68saves_per_epoch: 1
69debug:
70deepspeed:
71weight_decay: 0.0
72fsdp:
73fsdp_config:
74special_tokens:
75 pad_token: <|end_of_text|>
76| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.5951 | 0.0187 | 1 | 0.6405 |
| 0.1134 | 0.2617 | 14 | 0.0841 |
| 0.0224 | 0.5234 | 28 | 0.0434 |
| 0.0423 | 0.7850 | 42 | 0.0363 |