Model update
Browse filesNew model files after re-training.
- README.md +47 -1
- all_results.json +15 -0
- eval_results.json +10 -0
- pytorch_model.bin +1 -1
- train_results.json +8 -0
- trainer_state.json +103 -0
- training_args.bin +2 -2
README.md
CHANGED
@@ -4,6 +4,52 @@ language:
|
|
4 |
widget:
|
5 |
- text: "A:The rest of it is just like wild flowers\nB:Wild flowers.\nA:and in the summertime we get the prettiest yellow flowers.\nB:Uh-huh.\nA:They're about, oh, I guess, a third the size of your, palm of your hand\nB:"
|
6 |
example_title: "SW Example 1"
|
|
|
|
|
|
|
|
|
|
|
7 |
---
|
8 |
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
widget:
|
5 |
- text: "A:The rest of it is just like wild flowers\nB:Wild flowers.\nA:and in the summertime we get the prettiest yellow flowers.\nB:Uh-huh.\nA:They're about, oh, I guess, a third the size of your, palm of your hand\nB:"
|
6 |
example_title: "SW Example 1"
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
model-index:
|
10 |
+
- name: gpt2-small-sw
|
11 |
+
results: []
|
12 |
---
|
13 |
|
14 |
+
# gpt2-small-sw
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the SwitchBoard dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 2.4870
|
19 |
+
- Accuracy: 0.4657
|
20 |
+
|
21 |
+
## Model description
|
22 |
+
|
23 |
+
More details soon.
|
24 |
+
|
25 |
+
## Intended uses & limitations
|
26 |
+
|
27 |
+
More details soon.
|
28 |
+
|
29 |
+
## Training and evaluation data
|
30 |
+
|
31 |
+
More details soon.
|
32 |
+
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
### Training hyperparameters
|
36 |
+
|
37 |
+
The following hyperparameters were used during training:
|
38 |
+
- learning_rate: 5e-05
|
39 |
+
- train_batch_size: 5
|
40 |
+
- eval_batch_size: 5
|
41 |
+
- seed: 42
|
42 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
43 |
+
- lr_scheduler_type: linear
|
44 |
+
- num_epochs: 20.0
|
45 |
+
|
46 |
+
### Training results
|
47 |
+
|
48 |
+
|
49 |
+
|
50 |
+
### Framework versions
|
51 |
+
|
52 |
+
- Transformers 4.26.0
|
53 |
+
- Pytorch 1.13.1
|
54 |
+
- Datasets 2.9.0
|
55 |
+
- Tokenizers 0.13.0.dev0
|
all_results.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 20.0,
|
3 |
+
"eval_accuracy": 0.46566471163245354,
|
4 |
+
"eval_loss": 2.4869625568389893,
|
5 |
+
"eval_runtime": 13.4779,
|
6 |
+
"eval_samples": 208,
|
7 |
+
"eval_samples_per_second": 15.433,
|
8 |
+
"eval_steps_per_second": 3.116,
|
9 |
+
"perplexity": 12.024696262523243,
|
10 |
+
"train_loss": 2.1814393838702095,
|
11 |
+
"train_runtime": 6610.5408,
|
12 |
+
"train_samples": 1741,
|
13 |
+
"train_samples_per_second": 5.267,
|
14 |
+
"train_steps_per_second": 1.056
|
15 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 20.0,
|
3 |
+
"eval_accuracy": 0.46566471163245354,
|
4 |
+
"eval_loss": 2.4869625568389893,
|
5 |
+
"eval_runtime": 13.4779,
|
6 |
+
"eval_samples": 208,
|
7 |
+
"eval_samples_per_second": 15.433,
|
8 |
+
"eval_steps_per_second": 3.116,
|
9 |
+
"perplexity": 12.024696262523243
|
10 |
+
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 510398013
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4c3f088a4fd9ff70b6ed32c3386721c6e819adb994587e1d2901927f01441cce
|
3 |
size 510398013
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 20.0,
|
3 |
+
"train_loss": 2.1814393838702095,
|
4 |
+
"train_runtime": 6610.5408,
|
5 |
+
"train_samples": 1741,
|
6 |
+
"train_samples_per_second": 5.267,
|
7 |
+
"train_steps_per_second": 1.056
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 20.0,
|
5 |
+
"global_step": 6980,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 1.43,
|
12 |
+
"learning_rate": 4.641833810888253e-05,
|
13 |
+
"loss": 2.5428,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 2.87,
|
18 |
+
"learning_rate": 4.2836676217765046e-05,
|
19 |
+
"loss": 2.4266,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 4.3,
|
24 |
+
"learning_rate": 3.9255014326647564e-05,
|
25 |
+
"loss": 2.3389,
|
26 |
+
"step": 1500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 5.73,
|
30 |
+
"learning_rate": 3.567335243553009e-05,
|
31 |
+
"loss": 2.2819,
|
32 |
+
"step": 2000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 7.16,
|
36 |
+
"learning_rate": 3.2091690544412614e-05,
|
37 |
+
"loss": 2.2307,
|
38 |
+
"step": 2500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 8.6,
|
42 |
+
"learning_rate": 2.851002865329513e-05,
|
43 |
+
"loss": 2.1831,
|
44 |
+
"step": 3000
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 10.03,
|
48 |
+
"learning_rate": 2.492836676217765e-05,
|
49 |
+
"loss": 2.1536,
|
50 |
+
"step": 3500
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 11.46,
|
54 |
+
"learning_rate": 2.1346704871060173e-05,
|
55 |
+
"loss": 2.112,
|
56 |
+
"step": 4000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 12.89,
|
60 |
+
"learning_rate": 1.7765042979942695e-05,
|
61 |
+
"loss": 2.0913,
|
62 |
+
"step": 4500
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 14.33,
|
66 |
+
"learning_rate": 1.4183381088825215e-05,
|
67 |
+
"loss": 2.0638,
|
68 |
+
"step": 5000
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 15.76,
|
72 |
+
"learning_rate": 1.0601719197707736e-05,
|
73 |
+
"loss": 2.0455,
|
74 |
+
"step": 5500
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 17.19,
|
78 |
+
"learning_rate": 7.020057306590258e-06,
|
79 |
+
"loss": 2.0315,
|
80 |
+
"step": 6000
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 18.62,
|
84 |
+
"learning_rate": 3.4383954154727795e-06,
|
85 |
+
"loss": 2.0204,
|
86 |
+
"step": 6500
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 20.0,
|
90 |
+
"step": 6980,
|
91 |
+
"total_flos": 1.819637710848e+16,
|
92 |
+
"train_loss": 2.1814393838702095,
|
93 |
+
"train_runtime": 6610.5408,
|
94 |
+
"train_samples_per_second": 5.267,
|
95 |
+
"train_steps_per_second": 1.056
|
96 |
+
}
|
97 |
+
],
|
98 |
+
"max_steps": 6980,
|
99 |
+
"num_train_epochs": 20,
|
100 |
+
"total_flos": 1.819637710848e+16,
|
101 |
+
"trial_name": null,
|
102 |
+
"trial_params": null
|
103 |
+
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:93b93c6a6f2dbe5baaf363ffad1e01f21c623144709e505eeec0207b9978732e
|
3 |
+
size 3515
|