Arotte commited on
Commit
f6a5b32
·
1 Parent(s): 0b8c9e4

Model update

Browse files

New model files after re-training.

README.md CHANGED
@@ -1,6 +1,55 @@
1
  ---
2
  language:
3
  - en
 
 
 
 
 
4
  ---
5
 
6
- GPT-2 small fine-tuned on the MapTask corpus. More details soon.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  language:
3
  - en
4
+ metrics:
5
+ - accuracy
6
+ model-index:
7
+ - name: gpt2-small-mt
8
+ results: []
9
  ---
10
 
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # gpt2-small-mt
15
+
16
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the MapTask dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 2.0708
19
+ - Accuracy: 0.5562
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.5562072336265884,
4
+ "eval_loss": 2.0708322525024414,
5
+ "eval_runtime": 2.2089,
6
+ "eval_samples": 34,
7
+ "eval_samples_per_second": 15.392,
8
+ "eval_steps_per_second": 3.169,
9
+ "perplexity": 7.93142131702376,
10
+ "train_loss": 1.8756726582845051,
11
+ "train_runtime": 674.4182,
12
+ "train_samples": 178,
13
+ "train_samples_per_second": 5.279,
14
+ "train_steps_per_second": 1.068
15
+ }
eval_results.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 20.0,
3
+ "eval_accuracy": 0.5562072336265884,
4
+ "eval_loss": 2.0708322525024414,
5
+ "eval_runtime": 2.2089,
6
+ "eval_samples": 34,
7
+ "eval_samples_per_second": 15.392,
8
+ "eval_steps_per_second": 3.169,
9
+ "perplexity": 7.93142131702376
10
+ }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d19b57a42fa91524532e1e3500c52c4b22f3edfb071f3ab062f1c541578273a0
3
  size 510398013
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b65ca889bb2c30e08628c1c85a842362915c617c46dc589e5a76fcc1e7ffe947
3
  size 510398013
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 20.0,
3
+ "train_loss": 1.8756726582845051,
4
+ "train_runtime": 674.4182,
5
+ "train_samples": 178,
6
+ "train_samples_per_second": 5.279,
7
+ "train_steps_per_second": 1.068
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 20.0,
5
+ "global_step": 720,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 13.89,
12
+ "learning_rate": 1.527777777777778e-05,
13
+ "loss": 1.9478,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 20.0,
18
+ "step": 720,
19
+ "total_flos": 1860399267840000.0,
20
+ "train_loss": 1.8756726582845051,
21
+ "train_runtime": 674.4182,
22
+ "train_samples_per_second": 5.279,
23
+ "train_steps_per_second": 1.068
24
+ }
25
+ ],
26
+ "max_steps": 720,
27
+ "num_train_epochs": 20,
28
+ "total_flos": 1860399267840000.0,
29
+ "trial_name": null,
30
+ "trial_params": null
31
+ }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6468789fd10e99b31effaf16a88565557ab5ad9372647b53b9287d4b1ac350cb
3
- size 3579
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6ce68a59cbb28dbb13702a1485d8fc746d2df39e7bc12b4c361ddeff9a95737
3
+ size 3515