Model save
Browse files- README.md +79 -0
- generation_config.json +8 -0
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: gpt2-xl
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: lmind_hotpot_train8000_eval7405_v1_recite_qa_gpt2-xl
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# lmind_hotpot_train8000_eval7405_v1_recite_qa_gpt2-xl
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [gpt2-xl](https://huggingface.co/gpt2-xl) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.4650
|
21 |
+
- Accuracy: 0.7664
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 3e-05
|
41 |
+
- train_batch_size: 16
|
42 |
+
- eval_batch_size: 16
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: constant
|
46 |
+
- num_epochs: 20.0
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Accuracy | Validation Loss |
|
51 |
+
|:-------------:|:-----:|:-----:|:--------:|:---------------:|
|
52 |
+
| 1.9537 | 1.0 | 2179 | 0.6693 | 1.5623 |
|
53 |
+
| 1.4734 | 2.0 | 4358 | 0.6924 | 1.2099 |
|
54 |
+
| 1.0665 | 3.0 | 6537 | 0.7147 | 0.9178 |
|
55 |
+
| 0.7684 | 4.0 | 8716 | 0.7331 | 0.6988 |
|
56 |
+
| 0.548 | 5.0 | 10895 | 0.7466 | 0.5567 |
|
57 |
+
| 0.4039 | 6.0 | 13074 | 0.7551 | 0.4728 |
|
58 |
+
| 0.3044 | 7.0 | 15253 | 0.7600 | 0.4376 |
|
59 |
+
| 0.2446 | 8.0 | 17432 | 0.7628 | 0.4220 |
|
60 |
+
| 0.2039 | 9.0 | 19611 | 0.7642 | 0.4190 |
|
61 |
+
| 0.1787 | 10.0 | 21790 | 0.7649 | 0.4250 |
|
62 |
+
| 0.1652 | 11.0 | 23969 | 0.7654 | 0.4295 |
|
63 |
+
| 0.154 | 12.0 | 26148 | 0.7655 | 0.4366 |
|
64 |
+
| 0.1441 | 13.0 | 28327 | 0.7657 | 0.4429 |
|
65 |
+
| 0.143 | 14.0 | 30506 | 0.7657 | 0.4418 |
|
66 |
+
| 0.1366 | 15.0 | 32685 | 0.7661 | 0.4469 |
|
67 |
+
| 0.1335 | 16.0 | 34864 | 0.7661 | 0.4517 |
|
68 |
+
| 0.1299 | 17.0 | 37043 | 0.7662 | 0.4534 |
|
69 |
+
| 0.1271 | 18.0 | 39222 | 0.7664 | 0.4579 |
|
70 |
+
| 0.1268 | 19.0 | 41401 | 0.7664 | 0.4556 |
|
71 |
+
| 0.1238 | 20.0 | 43580 | 0.4650 | 0.7664 |
|
72 |
+
|
73 |
+
|
74 |
+
### Framework versions
|
75 |
+
|
76 |
+
- Transformers 4.34.0
|
77 |
+
- Pytorch 2.1.0+cu121
|
78 |
+
- Datasets 2.14.5
|
79 |
+
- Tokenizers 0.14.1
|
generation_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 50256,
|
4 |
+
"do_sample": true,
|
5 |
+
"eos_token_id": 50256,
|
6 |
+
"max_length": 50,
|
7 |
+
"transformers_version": "4.34.0"
|
8 |
+
}
|