stuartmesham commited on
Commit
b87cfd5
·
1 Parent(s): 6ac28ea

Upload with huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ metrics:
5
+ - accuracy
6
+ model-index:
7
+ - name: electra-large_spell_10k_2_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
+ # electra-large_spell_10k_2_p3
15
+
16
+ This model is a fine-tuned version of [model_saves/electra-large_spell_10k_2_p2](https://huggingface.co/model_saves/electra-large_spell_10k_2_p2) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 0.4425
19
+ - Accuracy: 0.9397
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: 52
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.4425 | 0.9397 |
52
+ | No log | 2.0 | 536 | 0.4513 | 0.9394 |
53
+ | No log | 3.0 | 804 | 0.4718 | 0.9392 |
54
+ | 0.3481 | 4.0 | 1072 | 0.4944 | 0.9377 |
55
+
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.21.0.dev0
60
+ - Pytorch 1.11.0+cu113
61
+ - Datasets 2.3.2
62
+ - Tokenizers 0.12.1
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "$START": 30522
3
+ }
all_results.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "eval_accuracy": 0.9397242813537718,
4
+ "eval_loss": 0.44245752692222595,
5
+ "eval_runtime": 3.491,
6
+ "eval_samples": 4382,
7
+ "eval_samples_per_second": 1255.226,
8
+ "eval_steps_per_second": 10.026,
9
+ "train_loss": 0.34312588243342157,
10
+ "train_runtime": 322.8928,
11
+ "train_samples": 34304,
12
+ "train_samples_per_second": 1593.594,
13
+ "train_steps_per_second": 12.45
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": 4.0,
3
+ "eval_accuracy": 0.9397242813537718,
4
+ "eval_loss": 0.44245752692222595,
5
+ "eval_runtime": 3.491,
6
+ "eval_samples": 4382,
7
+ "eval_samples_per_second": 1255.226,
8
+ "eval_steps_per_second": 10.026
9
+ }
inference_tweak_params.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"min_error_probability": 0.58, "additional_confidence": 0.3}
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8980446e5974020340add60fbd4e86b4933c099ff5d97b2e138d898df0719718
3
+ size 1377528301
special_tokens_map.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "$START"
4
+ ],
5
+ "cls_token": "[CLS]",
6
+ "mask_token": "[MASK]",
7
+ "pad_token": "[PAD]",
8
+ "sep_token": "[SEP]",
9
+ "unk_token": "[UNK]"
10
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "add_special_tokens": false,
4
+ "cls_token": "[CLS]",
5
+ "do_lower_case": true,
6
+ "mask_token": "[MASK]",
7
+ "model_max_length": 512,
8
+ "name_or_path": "model_saves/electra-large_spell_10k_2_p2",
9
+ "pad_token": "[PAD]",
10
+ "sep_token": "[SEP]",
11
+ "special_tokens_map_file": null,
12
+ "strip_accents": null,
13
+ "tokenize_chinese_chars": true,
14
+ "tokenizer_class": "ElectraTokenizer",
15
+ "unk_token": "[UNK]"
16
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "train_loss": 0.34312588243342157,
4
+ "train_runtime": 322.8928,
5
+ "train_samples": 34304,
6
+ "train_samples_per_second": 1593.594,
7
+ "train_steps_per_second": 12.45
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.9397242813537718,
3
+ "best_model_checkpoint": "model_saves/electra-large_spell_10k_2_p3/checkpoint-268",
4
+ "epoch": 4.0,
5
+ "global_step": 1072,
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.9397242813537718,
13
+ "eval_loss": 0.44245752692222595,
14
+ "eval_runtime": 3.4937,
15
+ "eval_samples_per_second": 1254.269,
16
+ "eval_steps_per_second": 10.018,
17
+ "step": 268
18
+ },
19
+ {
20
+ "epoch": 2.0,
21
+ "eval_accuracy": 0.9393609051979561,
22
+ "eval_loss": 0.4512821435928345,
23
+ "eval_runtime": 3.4926,
24
+ "eval_samples_per_second": 1254.636,
25
+ "eval_steps_per_second": 10.021,
26
+ "step": 536
27
+ },
28
+ {
29
+ "epoch": 3.0,
30
+ "eval_accuracy": 0.9392267355404242,
31
+ "eval_loss": 0.4718455374240875,
32
+ "eval_runtime": 3.5,
33
+ "eval_samples_per_second": 1251.986,
34
+ "eval_steps_per_second": 10.0,
35
+ "step": 804
36
+ },
37
+ {
38
+ "epoch": 3.73,
39
+ "learning_rate": 1e-05,
40
+ "loss": 0.3481,
41
+ "step": 1000
42
+ },
43
+ {
44
+ "epoch": 4.0,
45
+ "eval_accuracy": 0.937722917295587,
46
+ "eval_loss": 0.49437105655670166,
47
+ "eval_runtime": 3.4985,
48
+ "eval_samples_per_second": 1252.54,
49
+ "eval_steps_per_second": 10.004,
50
+ "step": 1072
51
+ },
52
+ {
53
+ "epoch": 4.0,
54
+ "step": 1072,
55
+ "total_flos": 1.4139683831283712e+16,
56
+ "train_loss": 0.34312588243342157,
57
+ "train_runtime": 322.8928,
58
+ "train_samples_per_second": 1593.594,
59
+ "train_steps_per_second": 12.45
60
+ }
61
+ ],
62
+ "max_steps": 4020,
63
+ "num_train_epochs": 15,
64
+ "total_flos": 1.4139683831283712e+16,
65
+ "trial_name": null,
66
+ "trial_params": null
67
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2fb05f9d63a30838f0f419d7da7671a24dfef70c8941b95339fbced22ee9410
3
+ size 3439
vocab.txt ADDED
The diff for this file is too large to render. See raw diff