msab97 commited on
Commit
513ce1f
·
verified ·
1 Parent(s): 255c33d

End of training

Browse files
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: llama3.2
4
+ base_model: meta-llama/Llama-3.2-1B
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: LLama3-finetuning
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # LLama3-finetuning
18
+
19
+ This model is a fine-tuned version of [meta-llama/Llama-3.2-1B](https://huggingface.co/meta-llama/Llama-3.2-1B) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.4647
22
+ - Accuracy: 0.8284
23
+ - F1 Macro: 0.7893
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 2e-05
43
+ - train_batch_size: 16
44
+ - eval_batch_size: 16
45
+ - seed: 42
46
+ - gradient_accumulation_steps: 2
47
+ - total_train_batch_size: 32
48
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
49
+ - lr_scheduler_type: linear
50
+ - lr_scheduler_warmup_ratio: 0.1
51
+ - num_epochs: 10
52
+ - mixed_precision_training: Native AMP
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro |
57
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
58
+ | 0.9663 | 1.0 | 461 | 0.9493 | 0.6278 | 0.4609 |
59
+ | 0.5136 | 2.0 | 922 | 0.5921 | 0.7721 | 0.6943 |
60
+ | 0.4578 | 3.0 | 1383 | 0.5004 | 0.8128 | 0.7707 |
61
+ | 0.4147 | 4.0 | 1844 | 0.4632 | 0.8313 | 0.7930 |
62
+ | 0.4134 | 5.0 | 2305 | 0.4603 | 0.8302 | 0.7950 |
63
+ | 0.3137 | 6.0 | 2766 | 0.4506 | 0.8334 | 0.8007 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - PEFT 0.13.2
69
+ - Transformers 4.46.3
70
+ - Pytorch 2.5.1+cu121
71
+ - Datasets 3.1.0
72
+ - Tokenizers 0.20.3
adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "meta-llama/Llama-3.2-1B",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 8,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": [
18
+ "classifier",
19
+ "score"
20
+ ],
21
+ "peft_type": "LORA",
22
+ "r": 16,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "k_proj",
27
+ "q_proj",
28
+ "o_proj",
29
+ "v_proj"
30
+ ],
31
+ "task_type": "SEQ_CLS",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2bcd6c60001dbc2237b3505e76e426e0c04ec24b290b237796366b11b88369f
3
+ size 13705936
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88edd027c86f02ac7eeed3312ae46b879bba5fa6513a61b33b80af8e429a3603
3
+ size 5240