Alireza1044 commited on
Commit
7b3d1e4
1 Parent(s): 23d51bd
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ checkpoint-*/
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: apache-2.0
5
+ tags:
6
+ - generated_from_trainer
7
+ datasets:
8
+ - glue
9
+ metrics:
10
+ - matthews_correlation
11
+ model_index:
12
+ - name: cola
13
+ results:
14
+ - task:
15
+ name: Text Classification
16
+ type: text-classification
17
+ dataset:
18
+ name: GLUE COLA
19
+ type: glue
20
+ args: cola
21
+ metric:
22
+ name: Matthews Correlation
23
+ type: matthews_correlation
24
+ value: 0.5494768667363472
25
+ ---
26
+
27
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
28
+ should probably proofread and complete it, then remove this comment. -->
29
+
30
+ # cola
31
+
32
+ This model is a fine-tuned version of [albert-base-v2](https://huggingface.co/albert-base-v2) on the GLUE COLA dataset.
33
+ It achieves the following results on the evaluation set:
34
+ - Loss: 0.7552
35
+ - Matthews Correlation: 0.5495
36
+
37
+ ## Model description
38
+
39
+ More information needed
40
+
41
+ ## Intended uses & limitations
42
+
43
+ More information needed
44
+
45
+ ## Training and evaluation data
46
+
47
+ More information needed
48
+
49
+ ## Training procedure
50
+
51
+ ### Training hyperparameters
52
+
53
+ The following hyperparameters were used during training:
54
+ - learning_rate: 1e-05
55
+ - train_batch_size: 16
56
+ - eval_batch_size: 8
57
+ - seed: 42
58
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
59
+ - lr_scheduler_type: linear
60
+ - num_epochs: 4.0
61
+
62
+ ### Training results
63
+
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 4.9.0
69
+ - Pytorch 1.9.0+cu102
70
+ - Datasets 1.10.2
71
+ - Tokenizers 0.10.3
all_results.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "eval_loss": 0.7552478909492493,
4
+ "eval_matthews_correlation": 0.5494768667363472,
5
+ "eval_runtime": 17.5153,
6
+ "eval_samples": 1043,
7
+ "eval_samples_per_second": 59.548,
8
+ "eval_steps_per_second": 7.479,
9
+ "train_loss": 0.3096321917025842,
10
+ "train_runtime": 1506.3037,
11
+ "train_samples": 8551,
12
+ "train_samples_per_second": 22.707,
13
+ "train_steps_per_second": 1.421
14
+ }
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "albert-base-v2",
3
+ "architectures": [
4
+ "AlbertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0,
7
+ "bos_token_id": 2,
8
+ "classifier_dropout_prob": 0.1,
9
+ "down_scale_factor": 1,
10
+ "embedding_size": 128,
11
+ "eos_token_id": 3,
12
+ "finetuning_task": "cola",
13
+ "gap_size": 0,
14
+ "hidden_act": "gelu_new",
15
+ "hidden_dropout_prob": 0,
16
+ "hidden_size": 768,
17
+ "initializer_range": 0.02,
18
+ "inner_group_num": 1,
19
+ "intermediate_size": 3072,
20
+ "layer_norm_eps": 1e-12,
21
+ "max_position_embeddings": 512,
22
+ "model_type": "albert",
23
+ "net_structure_type": 0,
24
+ "num_attention_heads": 12,
25
+ "num_hidden_groups": 1,
26
+ "num_hidden_layers": 12,
27
+ "num_memory_blocks": 0,
28
+ "pad_token_id": 0,
29
+ "position_embedding_type": "absolute",
30
+ "problem_type": "single_label_classification",
31
+ "torch_dtype": "float32",
32
+ "transformers_version": "4.9.0",
33
+ "type_vocab_size": 2,
34
+ "vocab_size": 30000
35
+ }
eval_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "eval_loss": 0.7552478909492493,
4
+ "eval_matthews_correlation": 0.5494768667363472,
5
+ "eval_runtime": 17.5153,
6
+ "eval_samples": 1043,
7
+ "eval_samples_per_second": 59.548,
8
+ "eval_steps_per_second": 7.479
9
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:252285c7193f148de6ad7b3aaeb70ff3ead2c745bcf99faf4cdecc5ec20f7cee
3
+ size 46755537
runs/Jul25_15-59-21_ba9036c8942d/1627228785.3837032/events.out.tfevents.1627228785.ba9036c8942d.497.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b564729c1220cee0e416722adeef2bcfcaa046ee2d7c43fee4c7da606286b7c
3
+ size 4167
runs/Jul25_15-59-21_ba9036c8942d/events.out.tfevents.1627228785.ba9036c8942d.497.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c5ee7731330b9a07bde66c3c21e1ec9cce21f99758523b953fa9825536b8bbce
3
+ size 4098
runs/Jul25_15-59-21_ba9036c8942d/events.out.tfevents.1627230309.ba9036c8942d.497.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74f6fdb1499c198e5442296fb56f0663d5a6ae6a3901bf7a5d71d3c2e5d15cc9
3
+ size 375
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "[CLS]", "eos_token": "[SEP]", "unk_token": "<unk>", "sep_token": "[SEP]", "pad_token": "<pad>", "cls_token": "[CLS]", "mask_token": {"content": "[MASK]", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": true, "remove_space": true, "keep_accents": false, "bos_token": "[CLS]", "eos_token": "[SEP]", "unk_token": "<unk>", "sep_token": "[SEP]", "pad_token": "<pad>", "cls_token": "[CLS]", "mask_token": {"content": "[MASK]", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "albert-base-v2", "tokenizer_class": "AlbertTokenizer"}
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "train_loss": 0.3096321917025842,
4
+ "train_runtime": 1506.3037,
5
+ "train_samples": 8551,
6
+ "train_samples_per_second": 22.707,
7
+ "train_steps_per_second": 1.421
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 4.0,
5
+ "global_step": 2140,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.93,
12
+ "learning_rate": 7.663551401869159e-06,
13
+ "loss": 0.5021,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 1.87,
18
+ "learning_rate": 5.3271028037383174e-06,
19
+ "loss": 0.3487,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 2.8,
24
+ "learning_rate": 2.9906542056074766e-06,
25
+ "loss": 0.2435,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 3.74,
30
+ "learning_rate": 6.542056074766355e-07,
31
+ "loss": 0.1797,
32
+ "step": 2000
33
+ },
34
+ {
35
+ "epoch": 4.0,
36
+ "step": 2140,
37
+ "total_flos": 204352668149760.0,
38
+ "train_loss": 0.3096321917025842,
39
+ "train_runtime": 1506.3037,
40
+ "train_samples_per_second": 22.707,
41
+ "train_steps_per_second": 1.421
42
+ }
43
+ ],
44
+ "max_steps": 2140,
45
+ "num_train_epochs": 4,
46
+ "total_flos": 204352668149760.0,
47
+ "trial_name": null,
48
+ "trial_params": null
49
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b03e8908365b0f4fccfbeb4ac798af03d768a84cd8f96453300dcb077197904
3
+ size 2607