brettbbb commited on
Commit
f6a1586
1 Parent(s): 521a7dc

End of training

Browse files
README.md CHANGED
@@ -4,6 +4,8 @@ tags:
4
  - generated_from_trainer
5
  datasets:
6
  - truthful_qa
 
 
7
  model-index:
8
  - name: llama_mc_finetune
9
  results: []
@@ -15,6 +17,9 @@ should probably proofread and complete it, then remove this comment. -->
15
  # llama_mc_finetune
16
 
17
  This model is a fine-tuned version of [meta-llama/Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf) on the truthful_qa dataset.
 
 
 
18
 
19
  ## Model description
20
 
@@ -34,17 +39,39 @@ More information needed
34
 
35
  The following hyperparameters were used during training:
36
  - learning_rate: 0.0002
37
- - train_batch_size: 4
38
  - eval_batch_size: 8
39
  - seed: 42
40
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
41
  - lr_scheduler_type: linear
42
  - lr_scheduler_warmup_steps: 2
43
- - training_steps: 20
44
  - mixed_precision_training: Native AMP
45
 
46
  ### Training results
47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
 
49
 
50
  ### Framework versions
 
4
  - generated_from_trainer
5
  datasets:
6
  - truthful_qa
7
+ metrics:
8
+ - accuracy
9
  model-index:
10
  - name: llama_mc_finetune
11
  results: []
 
17
  # llama_mc_finetune
18
 
19
  This model is a fine-tuned version of [meta-llama/Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf) on the truthful_qa dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 1.3667
22
+ - Accuracy: 0.8476
23
 
24
  ## Model description
25
 
 
39
 
40
  The following hyperparameters were used during training:
41
  - learning_rate: 0.0002
42
+ - train_batch_size: 6
43
  - eval_batch_size: 8
44
  - seed: 42
45
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
  - lr_scheduler_type: linear
47
  - lr_scheduler_warmup_steps: 2
48
+ - num_epochs: 20
49
  - mixed_precision_training: Native AMP
50
 
51
  ### Training results
52
 
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
54
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
55
+ | 1.6688 | 1.0 | 109 | 2.2295 | 0.2988 |
56
+ | 1.044 | 2.0 | 218 | 2.1568 | 0.3354 |
57
+ | 0.3249 | 3.0 | 327 | 0.7980 | 0.7195 |
58
+ | 1.3202 | 4.0 | 436 | 2.2679 | 0.1768 |
59
+ | 1.325 | 5.0 | 545 | 0.9487 | 0.8232 |
60
+ | 0.0001 | 6.0 | 654 | 1.3517 | 0.8171 |
61
+ | 1.8235 | 7.0 | 763 | 1.5762 | 0.7622 |
62
+ | 0.0001 | 8.0 | 872 | 1.5415 | 0.8415 |
63
+ | 0.0 | 9.0 | 981 | 1.1195 | 0.8110 |
64
+ | 0.0 | 10.0 | 1090 | 1.2257 | 0.8232 |
65
+ | 0.0 | 11.0 | 1199 | 1.3680 | 0.8171 |
66
+ | 0.0 | 12.0 | 1308 | 1.3485 | 0.8171 |
67
+ | 0.0 | 13.0 | 1417 | 1.3482 | 0.8171 |
68
+ | 0.0 | 14.0 | 1526 | 1.3481 | 0.8171 |
69
+ | 0.0 | 15.0 | 1635 | 1.3628 | 0.8415 |
70
+ | 0.0 | 16.0 | 1744 | 1.3643 | 0.8476 |
71
+ | 0.0 | 17.0 | 1853 | 1.3649 | 0.8476 |
72
+ | 0.0 | 18.0 | 1962 | 1.3659 | 0.8476 |
73
+ | 0.0 | 19.0 | 2071 | 1.3663 | 0.8476 |
74
+ | 0.0 | 20.0 | 2180 | 1.3667 | 0.8476 |
75
 
76
 
77
  ### Framework versions
adapter_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:09c2b7002ff788d88d15bd99682d6628ff38f37610acdc8fc2a94ba41d5fb965
3
  size 160283150
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:adf38df745a81dbd66e2264d38cbd4996b6feaacf9dcd10498954713816601cf
3
  size 160283150
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0b2017190d296cba81ef5d64174acf4db1f01102ab62e220c70981fc90aff577
3
  size 160180976
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9017deec726e179a130f88d40afe680f37577ce20e4c7a24f46fce9e70d5243e
3
  size 160180976
all_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 0.12,
3
- "total_flos": 825752514723840.0,
4
- "train_loss": 0.38747100830078124,
5
- "train_runtime": 30.2879,
6
- "train_samples_per_second": 2.641,
7
- "train_steps_per_second": 0.66
8
  }
 
1
  {
2
+ "epoch": 20.0,
3
+ "total_flos": 1.2663415269359616e+17,
4
+ "train_loss": 0.4154004427643197,
5
+ "train_runtime": 4412.8344,
6
+ "train_samples_per_second": 2.96,
7
+ "train_steps_per_second": 0.494
8
  }
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 0.12,
3
- "total_flos": 825752514723840.0,
4
- "train_loss": 0.38747100830078124,
5
- "train_runtime": 30.2879,
6
- "train_samples_per_second": 2.641,
7
- "train_steps_per_second": 0.66
8
  }
 
1
  {
2
+ "epoch": 20.0,
3
+ "total_flos": 1.2663415269359616e+17,
4
+ "train_loss": 0.4154004427643197,
5
+ "train_runtime": 4412.8344,
6
+ "train_samples_per_second": 2.96,
7
+ "train_steps_per_second": 0.494
8
  }
trainer_state.json CHANGED
The diff for this file is too large to render. See raw diff