stuartmesham
commited on
Commit
•
69475f6
1
Parent(s):
56118ef
Upload with huggingface_hub
Browse files- README.md +63 -0
- all_results.json +14 -0
- config.json +0 -0
- eval_results.json +9 -0
- inference_tweak_params.json +1 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +18 -0
- tokenizer.json +0 -0
- tokenizer_config.json +28 -0
- train_results.json +8 -0
- trainer_state.json +76 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
metrics:
|
5 |
+
- accuracy
|
6 |
+
model-index:
|
7 |
+
- name: xlnet-large_lemon-spell_5k_3_p3
|
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 |
+
# xlnet-large_lemon-spell_5k_3_p3
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [model_saves/xlnet-large_lemon-spell_5k_3_p2](https://huggingface.co/model_saves/xlnet-large_lemon-spell_5k_3_p2) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.4634
|
19 |
+
- Accuracy: 0.9396
|
20 |
+
|
21 |
+
## Model description
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Intended uses & limitations
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training and evaluation data
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
### Training hyperparameters
|
36 |
+
|
37 |
+
The following hyperparameters were used during training:
|
38 |
+
- learning_rate: 1e-05
|
39 |
+
- train_batch_size: 128
|
40 |
+
- eval_batch_size: 128
|
41 |
+
- seed: 62
|
42 |
+
- distributed_type: multi-GPU
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: constant
|
45 |
+
- num_epochs: 15.0
|
46 |
+
|
47 |
+
### Training results
|
48 |
+
|
49 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
50 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
51 |
+
| No log | 1.0 | 268 | 0.4405 | 0.9392 |
|
52 |
+
| No log | 2.0 | 536 | 0.4634 | 0.9396 |
|
53 |
+
| No log | 3.0 | 804 | 0.4988 | 0.9391 |
|
54 |
+
| 0.2992 | 4.0 | 1072 | 0.5409 | 0.9394 |
|
55 |
+
| 0.2992 | 5.0 | 1340 | 0.5943 | 0.9393 |
|
56 |
+
|
57 |
+
|
58 |
+
### Framework versions
|
59 |
+
|
60 |
+
- Transformers 4.21.0.dev0
|
61 |
+
- Pytorch 1.11.0+cu113
|
62 |
+
- Datasets 2.3.2
|
63 |
+
- Tokenizers 0.12.1
|
all_results.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 5.0,
|
3 |
+
"eval_accuracy": 0.9395845212938427,
|
4 |
+
"eval_loss": 0.4633668065071106,
|
5 |
+
"eval_runtime": 4.7569,
|
6 |
+
"eval_samples": 4382,
|
7 |
+
"eval_samples_per_second": 921.181,
|
8 |
+
"eval_steps_per_second": 7.358,
|
9 |
+
"train_loss": 0.2714570799870277,
|
10 |
+
"train_runtime": 550.3629,
|
11 |
+
"train_samples": 34304,
|
12 |
+
"train_samples_per_second": 934.947,
|
13 |
+
"train_steps_per_second": 7.304
|
14 |
+
}
|
config.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
eval_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 5.0,
|
3 |
+
"eval_accuracy": 0.9395845212938427,
|
4 |
+
"eval_loss": 0.4633668065071106,
|
5 |
+
"eval_runtime": 4.7569,
|
6 |
+
"eval_samples": 4382,
|
7 |
+
"eval_samples_per_second": 921.181,
|
8 |
+
"eval_steps_per_second": 7.358
|
9 |
+
}
|
inference_tweak_params.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"min_error_probability": 0.64, "additional_confidence": 0.34}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f83d1274f326e022aa7531c3cdf1ec0a009394a2d70ad108c9801ce193fe0d07
|
3 |
+
size 1461731013
|
special_tokens_map.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"$START"
|
4 |
+
],
|
5 |
+
"bos_token": "<s>",
|
6 |
+
"cls_token": "<cls>",
|
7 |
+
"eos_token": "</s>",
|
8 |
+
"mask_token": {
|
9 |
+
"content": "<mask>",
|
10 |
+
"lstrip": true,
|
11 |
+
"normalized": false,
|
12 |
+
"rstrip": false,
|
13 |
+
"single_word": false
|
14 |
+
},
|
15 |
+
"pad_token": "<pad>",
|
16 |
+
"sep_token": "<sep>",
|
17 |
+
"unk_token": "<unk>"
|
18 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": true,
|
3 |
+
"add_special_tokens": false,
|
4 |
+
"additional_special_tokens": [
|
5 |
+
"<eop>",
|
6 |
+
"<eod>"
|
7 |
+
],
|
8 |
+
"bos_token": "<s>",
|
9 |
+
"cls_token": "<cls>",
|
10 |
+
"do_lower_case": false,
|
11 |
+
"eos_token": "</s>",
|
12 |
+
"keep_accents": false,
|
13 |
+
"mask_token": {
|
14 |
+
"__type": "AddedToken",
|
15 |
+
"content": "<mask>",
|
16 |
+
"lstrip": true,
|
17 |
+
"normalized": true,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false
|
20 |
+
},
|
21 |
+
"name_or_path": "model_saves/xlnet-large_lemon-spell_5k_3_p2",
|
22 |
+
"pad_token": "<pad>",
|
23 |
+
"remove_space": true,
|
24 |
+
"sep_token": "<sep>",
|
25 |
+
"special_tokens_map_file": null,
|
26 |
+
"tokenizer_class": "XLNetTokenizer",
|
27 |
+
"unk_token": "<unk>"
|
28 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 5.0,
|
3 |
+
"train_loss": 0.2714570799870277,
|
4 |
+
"train_runtime": 550.3629,
|
5 |
+
"train_samples": 34304,
|
6 |
+
"train_samples_per_second": 934.947,
|
7 |
+
"train_steps_per_second": 7.304
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.9395845212938427,
|
3 |
+
"best_model_checkpoint": "model_saves/xlnet-large_lemon-spell_5k_3_p3/checkpoint-536",
|
4 |
+
"epoch": 5.0,
|
5 |
+
"global_step": 1340,
|
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.0,
|
12 |
+
"eval_accuracy": 0.9392379163452186,
|
13 |
+
"eval_loss": 0.44053345918655396,
|
14 |
+
"eval_runtime": 4.7501,
|
15 |
+
"eval_samples_per_second": 922.513,
|
16 |
+
"eval_steps_per_second": 7.368,
|
17 |
+
"step": 268
|
18 |
+
},
|
19 |
+
{
|
20 |
+
"epoch": 2.0,
|
21 |
+
"eval_accuracy": 0.9395845212938427,
|
22 |
+
"eval_loss": 0.4633668065071106,
|
23 |
+
"eval_runtime": 4.7229,
|
24 |
+
"eval_samples_per_second": 927.829,
|
25 |
+
"eval_steps_per_second": 7.411,
|
26 |
+
"step": 536
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 3.0,
|
30 |
+
"eval_accuracy": 0.9390925658828922,
|
31 |
+
"eval_loss": 0.498786985874176,
|
32 |
+
"eval_runtime": 4.7484,
|
33 |
+
"eval_samples_per_second": 922.834,
|
34 |
+
"eval_steps_per_second": 7.371,
|
35 |
+
"step": 804
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"epoch": 3.73,
|
39 |
+
"learning_rate": 1e-05,
|
40 |
+
"loss": 0.2992,
|
41 |
+
"step": 1000
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 4.0,
|
45 |
+
"eval_accuracy": 0.9394335804291193,
|
46 |
+
"eval_loss": 0.5408743023872375,
|
47 |
+
"eval_runtime": 4.7473,
|
48 |
+
"eval_samples_per_second": 923.047,
|
49 |
+
"eval_steps_per_second": 7.373,
|
50 |
+
"step": 1072
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 5.0,
|
54 |
+
"eval_accuracy": 0.9392602779548072,
|
55 |
+
"eval_loss": 0.5943452715873718,
|
56 |
+
"eval_runtime": 4.7987,
|
57 |
+
"eval_samples_per_second": 913.169,
|
58 |
+
"eval_steps_per_second": 7.294,
|
59 |
+
"step": 1340
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 5.0,
|
63 |
+
"step": 1340,
|
64 |
+
"total_flos": 2.127979812277453e+16,
|
65 |
+
"train_loss": 0.2714570799870277,
|
66 |
+
"train_runtime": 550.3629,
|
67 |
+
"train_samples_per_second": 934.947,
|
68 |
+
"train_steps_per_second": 7.304
|
69 |
+
}
|
70 |
+
],
|
71 |
+
"max_steps": 4020,
|
72 |
+
"num_train_epochs": 15,
|
73 |
+
"total_flos": 2.127979812277453e+16,
|
74 |
+
"trial_name": null,
|
75 |
+
"trial_params": null
|
76 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d41a41bd1d1fa6f25f34058b109b7edaa0ef01c53c68cb71da46bcdc0dd8ec0d
|
3 |
+
size 3439
|