Views
No views yet
0.4.11base_model: meta-llama/Meta-Llama-3-8B
2model_type: LlamaForCausalLM
3tokenizer_type: AutoTokenizer
4
5load_in_8bit: true
6load_in_4bit: false
7strict: false
8
9datasets:
10 - path: rubenamtz0/law_entity_recognition
11 type: alpaca
12dataset_prepared_path:
13val_set_size: 0.1
14output_dir: ./outputs/lora-law
15hub_model_id: rubenamtz0/llama-3-8b-lora-law2entity
16
17sequence_len: 4096
18sample_packing: true
19pad_to_sequence_len: true
20
21adapter: lora
22lora_model_dir:
23lora_r: 32
24lora_alpha: 16
25lora_dropout: 0.05
26lora_target_linear: true
27lora_fan_in_fan_out:
28
29wandb_project: entity-relationship-claim-ft
30wandb_entity:
31wandb_watch:
32wandb_name:
33wandb_log_model:
34
35gradient_accumulation_steps: 4
36micro_batch_size: 2
37num_epochs: 4
38optimizer: adamw_bnb_8bit
39lr_scheduler: cosine
40learning_rate: 0.0002
41
42train_on_inputs: false
43group_by_length: false
44bf16: auto
45fp16:
46tf32: false
47
48gradient_checkpointing: true
49early_stopping_patience:
50resume_from_checkpoint:
51local_rank:
52logging_steps: 1
53xformers_attention:
54flash_attention: true
55s2_attention:
56
57warmup_steps: 10
58evals_per_epoch: 4
59eval_table_size:
60eval_max_new_tokens: 128
61saves_per_epoch: 1
62debug:
63deepspeed:
64weight_decay: 0.0
65fsdp:
66fsdp_config:
67special_tokens:
68 pad_token: <|end_of_text|>
69| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.2735 | 0.05 | 1 | 0.2923 |
| 0.2852 | 0.25 | 5 | 0.2742 |
| 0.2007 | 0.5 | 10 | 0.2015 |
| 0.1742 | 0.75 | 15 | 0.1807 |
| 0.1854 | 1.0 | 20 | 0.1688 |
| 0.159 | 1.1125 | 25 | 0.1630 |
| 0.1444 | 1.3625 | 30 | 0.1592 |
| 0.1479 | 1.6125 | 35 | 0.1565 |
| 0.1505 | 1.8625 | 40 | 0.1538 |
| 0.1369 | 2.1125 | 45 | 0.1518 |
| 0.1348 | 2.2125 | 50 | 0.1512 |
| 0.1287 | 2.4625 | 55 | 0.1510 |
| 0.1359 | 2.7125 | 60 | 0.1498 |
| 0.1367 | 2.9625 | 65 | 0.1491 |
| 0.1218 | 3.075 | 70 | 0.1491 |
| 0.1285 | 3.325 | 75 | 0.1493 |
| 0.1307 | 3.575 | 80 | 0.1490 |