Hiranmai49 commited on
Commit
832b8ba
·
verified ·
1 Parent(s): eff744d

contracts-Finetuning

Browse files
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: meta-llama/Llama-3.1-8B-Instruct
3
+ library_name: peft
4
+ license: llama3.1
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: Llama-3.1-8B-Instruct-contracts-Finetuning
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # Llama-3.1-8B-Instruct-contracts-Finetuning
16
+
17
+ This model is a fine-tuned version of [meta-llama/Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 5.5752
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 2.5e-05
39
+ - train_batch_size: 2
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 4
43
+ - total_train_batch_size: 8
44
+ - optimizer: Use paged_adamw_8bit with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
45
+ - lr_scheduler_type: linear
46
+ - lr_scheduler_warmup_steps: 5
47
+ - training_steps: 6000
48
+ - mixed_precision_training: Native AMP
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss |
53
+ |:-------------:|:------:|:----:|:---------------:|
54
+ | 6.0322 | 0.0024 | 500 | 5.8889 |
55
+ | 5.9047 | 0.0048 | 1000 | 5.7508 |
56
+ | 5.8849 | 0.0073 | 1500 | 5.7206 |
57
+ | 5.8508 | 0.0097 | 2000 | 5.6745 |
58
+ | 5.7946 | 0.0121 | 2500 | 5.6536 |
59
+ | 5.8142 | 0.0145 | 3000 | 5.6447 |
60
+ | 5.715 | 0.0170 | 3500 | 5.6192 |
61
+ | 5.7378 | 0.0194 | 4000 | 5.6052 |
62
+ | 5.702 | 0.0218 | 4500 | 5.5940 |
63
+ | 5.6464 | 0.0242 | 5000 | 5.5837 |
64
+ | 5.6911 | 0.0266 | 5500 | 5.5782 |
65
+ | 5.749 | 0.0291 | 6000 | 5.5752 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - PEFT 0.13.2
71
+ - Transformers 4.46.1
72
+ - Pytorch 2.4.0+cu121
73
+ - Datasets 3.0.1
74
+ - Tokenizers 0.20.1
adapter_config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "meta-llama/Llama-3.1-8B-Instruct",
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": 16,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 8,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "gate_proj",
24
+ "o_proj",
25
+ "lm_head",
26
+ "down_proj",
27
+ "q_proj",
28
+ "up_proj",
29
+ "k_proj",
30
+ "v_proj"
31
+ ],
32
+ "task_type": "CAUSAL_LM",
33
+ "use_dora": false,
34
+ "use_rslora": false
35
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ad3ec5b428a44fdb4333688a424b322986e93025179fc471adfe54608995996
3
+ size 2189529112
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87420c78bc572ececf919ddb5c6b3ff78821d0011ee0bef56bdbf4bbabc81239
3
+ size 5240