steffygreypaul commited on
Commit
7dbc802
·
verified ·
1 Parent(s): e5a44bf

steffygreypaul/LoRA_finetuned

Browse files
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- base_model: meta-llama/Llama-3.2-3B-Instruct
3
  datasets:
4
  - generator
5
  library_name: peft
@@ -18,7 +18,9 @@ should probably proofread and complete it, then remove this comment. -->
18
 
19
  # output
20
 
21
- This model is a fine-tuned version of [meta-llama/Llama-3.2-3B-Instruct](https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct) on the generator dataset.
 
 
22
 
23
  ## Model description
24
 
@@ -37,20 +39,26 @@ More information needed
37
  ### Training hyperparameters
38
 
39
  The following hyperparameters were used during training:
40
- - learning_rate: 0.0002
41
  - train_batch_size: 1
42
- - eval_batch_size: 8
43
  - seed: 42
44
  - gradient_accumulation_steps: 4
45
  - total_train_batch_size: 4
46
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
  - lr_scheduler_type: constant
48
  - lr_scheduler_warmup_ratio: 0.03
49
- - num_epochs: 1
50
- - mixed_precision_training: Native AMP
51
 
52
  ### Training results
53
 
 
 
 
 
 
 
 
54
 
55
 
56
  ### Framework versions
 
1
  ---
2
+ base_model: meta-llama/Llama-3.2-1B-Instruct
3
  datasets:
4
  - generator
5
  library_name: peft
 
18
 
19
  # output
20
 
21
+ This model is a fine-tuned version of [meta-llama/Llama-3.2-1B-Instruct](https://huggingface.co/meta-llama/Llama-3.2-1B-Instruct) on the generator dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 1.0057
24
 
25
  ## Model description
26
 
 
39
  ### Training hyperparameters
40
 
41
  The following hyperparameters were used during training:
42
+ - learning_rate: 0.0005
43
  - train_batch_size: 1
44
+ - eval_batch_size: 1
45
  - seed: 42
46
  - gradient_accumulation_steps: 4
47
  - total_train_batch_size: 4
48
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
  - lr_scheduler_type: constant
50
  - lr_scheduler_warmup_ratio: 0.03
51
+ - training_steps: 50
 
52
 
53
  ### Training results
54
 
55
+ | Training Loss | Epoch | Step | Validation Loss |
56
+ |:-------------:|:------:|:----:|:---------------:|
57
+ | 1.33 | 0.0277 | 10 | 1.2129 |
58
+ | 1.1447 | 0.0553 | 20 | 1.0979 |
59
+ | 1.0316 | 0.0830 | 30 | 1.0379 |
60
+ | 0.9919 | 0.1107 | 40 | 1.0169 |
61
+ | 0.9903 | 0.1383 | 50 | 1.0057 |
62
 
63
 
64
  ### Framework versions
adapter_config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": null,
4
- "base_model_name_or_path": "meta-llama/Llama-3.2-3B-Instruct",
5
  "bias": "none",
6
  "fan_in_fan_out": false,
7
  "inference_mode": true,
@@ -10,18 +10,18 @@
10
  "layers_pattern": null,
11
  "layers_to_transform": null,
12
  "loftq_config": {},
13
- "lora_alpha": 16,
14
  "lora_dropout": 0.1,
15
  "megatron_config": null,
16
  "megatron_core": "megatron.core",
17
  "modules_to_save": null,
18
  "peft_type": "LORA",
19
- "r": 64,
20
  "rank_pattern": {},
21
  "revision": null,
22
  "target_modules": [
23
- "q_proj",
24
- "v_proj"
25
  ],
26
  "task_type": "CAUSAL_LM",
27
  "use_dora": false,
 
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": null,
4
+ "base_model_name_or_path": "meta-llama/Llama-3.2-1B-Instruct",
5
  "bias": "none",
6
  "fan_in_fan_out": false,
7
  "inference_mode": true,
 
10
  "layers_pattern": null,
11
  "layers_to_transform": null,
12
  "loftq_config": {},
13
+ "lora_alpha": 8,
14
  "lora_dropout": 0.1,
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
+ "v_proj",
24
+ "q_proj"
25
  ],
26
  "task_type": "CAUSAL_LM",
27
  "use_dora": false,
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0e5ceb216599113955fb046366e338dd7e36152aa88fd5b332d2e6b3c507beb0
3
- size 73415408
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8693e82b93957aaaa01727bf1e8a4a70e603528c24af8fce031e9315c341bb5
3
+ size 3416264
runs/Oct05_09-44-23_1c19e0adc58d/events.out.tfevents.1728121689.1c19e0adc58d.5547.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0eed07ba5a4cdf354356edc13b9023933ad75674683ce9b53713cff91c130cf7
3
+ size 8229
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4fcf876aad706f024be5e4df0f9caa8b0cc643c4c59d036ce47ee3e9dc7d781b
3
  size 5432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2972ce8d54804c085c7836ca6776d68f400268c1085966dd58712d0ee5801aef
3
  size 5432