Alireza1044 commited on
Commit
0c34984
1 Parent(s): a580ff4
.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
+ - accuracy
11
+ model_index:
12
+ - name: qnli
13
+ results:
14
+ - task:
15
+ name: Text Classification
16
+ type: text-classification
17
+ dataset:
18
+ name: GLUE QNLI
19
+ type: glue
20
+ args: qnli
21
+ metric:
22
+ name: Accuracy
23
+ type: accuracy
24
+ value: 0.642504118616145
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
+ # qnli
31
+
32
+ This model is a fine-tuned version of [albert-base-v2](https://huggingface.co/albert-base-v2) on the GLUE QNLI dataset.
33
+ It achieves the following results on the evaluation set:
34
+ - Loss: 0.6284
35
+ - Accuracy: 0.6425
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: 32
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: 0.001
61
+
62
+ ### Training results
63
+
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 4.9.1
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": 0.0,
3
+ "eval_accuracy": 0.642504118616145,
4
+ "eval_loss": 0.6284383535385132,
5
+ "eval_runtime": 27.9064,
6
+ "eval_samples": 5463,
7
+ "eval_samples_per_second": 195.761,
8
+ "eval_steps_per_second": 24.475,
9
+ "train_loss": 0.6153523921966553,
10
+ "train_runtime": 1.5743,
11
+ "train_samples": 104743,
12
+ "train_samples_per_second": 66.532,
13
+ "train_steps_per_second": 2.541
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": "qnli",
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.1",
33
+ "type_vocab_size": 2,
34
+ "vocab_size": 30000
35
+ }
eval_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.0,
3
+ "eval_accuracy": 0.642504118616145,
4
+ "eval_loss": 0.6284383535385132,
5
+ "eval_runtime": 27.9064,
6
+ "eval_samples": 5463,
7
+ "eval_samples_per_second": 195.761,
8
+ "eval_steps_per_second": 24.475
9
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae50e44ae6c4889694abbe34789e6aabd80d3015327c765d912c85905c45a160
3
+ size 46755537
runs/Jul27_12-11-25_nlp992/1627387922.7176468/events.out.tfevents.1627387922.nlp992 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4b1785a5678bffc787108377246323f5272904213ecb924bc2c2d7e5c337104
3
+ size 4000
runs/Jul27_12-11-25_nlp992/events.out.tfevents.1627387922.nlp992 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0008a7d5aab7019d9b81549ba08d024fdd8641bae1c431af5a1abe557c37f37
3
+ size 7546
runs/Jul27_12-11-25_nlp992/events.out.tfevents.1627393044.nlp992 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd47d89ca7f0f5441388c1177163c6147e2b26ee594721c4fe051491fb847927
3
+ size 88
runs/Jul27_14-07-08_nlp992/1627394846.6303906/events.out.tfevents.1627394846.nlp992 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90058a43100ee18a6d59e28231996eae915b74b5aa5ba923ed6d053d72a52798
3
+ size 4000
runs/Jul27_14-07-08_nlp992/events.out.tfevents.1627394846.nlp992 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e200671ae678b4689031a5355e08e67155e8ea35a23447ae06848bcbd562b6df
3
+ size 3459
runs/Jul27_14-07-08_nlp992/events.out.tfevents.1627394887.nlp992 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da12934f4f68e4e0d23bbd6bd227aa9b2a535ebb6062fa859e4a942dd7a8f368
3
+ size 87
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}}
spiece.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fefb02b667a6c5c2fe27602d28e5fb3428f66ab89c7d6f388e7c8d44a02d0336
3
+ size 760289
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": 0.0,
3
+ "train_loss": 0.6153523921966553,
4
+ "train_runtime": 1.5743,
5
+ "train_samples": 104743,
6
+ "train_samples_per_second": 66.532,
7
+ "train_steps_per_second": 2.541
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.0012217470983506415,
5
+ "global_step": 4,
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.0,
12
+ "step": 4,
13
+ "total_flos": 764739256320.0,
14
+ "train_loss": 0.6153523921966553,
15
+ "train_runtime": 1.5743,
16
+ "train_samples_per_second": 66.532,
17
+ "train_steps_per_second": 2.541
18
+ }
19
+ ],
20
+ "max_steps": 4,
21
+ "num_train_epochs": 1,
22
+ "total_flos": 764739256320.0,
23
+ "trial_name": null,
24
+ "trial_params": null
25
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ae27f71105e7743e6d9c42fd3887cf54f03f8d711b08b7fe00d90710bc91811
3
+ size 2607