Thinh Truong commited on
Commit
b731c0a
1 Parent(s): 8cfba41

add model files

Browse files
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ metrics:
5
+ - accuracy
6
+ model-index:
7
+ - name: cuenb2-mnli-negnli
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
+ # cuenb2-mnli-negnli
15
+
16
+ This model is a fine-tuned version of [randomcomb_mlm_ep5_mnli](https://huggingface.co/randomcomb_mlm_ep5_mnli) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 0.7677
19
+ - Accuracy: 0.8533
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: 2e-05
39
+ - train_batch_size: 8
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
+ - lr_scheduler_type: linear
44
+ - num_epochs: 5.0
45
+
46
+ ### Training results
47
+
48
+
49
+
50
+ ### Framework versions
51
+
52
+ - Transformers 4.21.0.dev0
53
+ - Pytorch 1.8.0
54
+ - Datasets 1.18.3
55
+ - Tokenizers 0.12.1
all_results.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "eval_accuracy": 0.8533333539962769,
4
+ "eval_loss": 0.7676794528961182,
5
+ "eval_runtime": 1.7635,
6
+ "eval_samples": 300,
7
+ "eval_samples_per_second": 170.112,
8
+ "eval_steps_per_second": 21.547,
9
+ "train_loss": 0.3936085205078125,
10
+ "train_runtime": 149.7213,
11
+ "train_samples": 1200,
12
+ "train_samples_per_second": 40.074,
13
+ "train_steps_per_second": 5.009
14
+ }
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "randomcomb_mlm_ep5_mnli",
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "CONTRADICTION",
15
+ "1": "ENTAILMENT",
16
+ "2": "NEUTRAL"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "CONTRADICTION": 0,
22
+ "ENTAILMENT": 1,
23
+ "NEUTRAL": 2
24
+ },
25
+ "layer_norm_eps": 1e-05,
26
+ "max_position_embeddings": 514,
27
+ "model_type": "roberta",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 12,
30
+ "pad_token_id": 1,
31
+ "position_embedding_type": "absolute",
32
+ "problem_type": "single_label_classification",
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.21.0.dev0",
35
+ "type_vocab_size": 1,
36
+ "use_cache": true,
37
+ "vocab_size": 50265
38
+ }
eval_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "eval_accuracy": 0.8533333539962769,
4
+ "eval_loss": 0.7676794528961182,
5
+ "eval_runtime": 1.7635,
6
+ "eval_samples": 300,
7
+ "eval_samples_per_second": 170.112,
8
+ "eval_steps_per_second": 21.547
9
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9485425b070abc096224d00246a9e681cb9f938fa03bf1e71182e8aa75787b89
3
+ size 498668617
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
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": false,
3
+ "bos_token": "<s>",
4
+ "cls_token": "<s>",
5
+ "eos_token": "</s>",
6
+ "errors": "replace",
7
+ "mask_token": "<mask>",
8
+ "model_max_length": 512,
9
+ "name_or_path": "roberta-base",
10
+ "pad_token": "<pad>",
11
+ "sep_token": "</s>",
12
+ "special_tokens_map_file": null,
13
+ "tokenizer_class": "RobertaTokenizer",
14
+ "trim_offsets": true,
15
+ "unk_token": "<unk>"
16
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "train_loss": 0.3936085205078125,
4
+ "train_runtime": 149.7213,
5
+ "train_samples": 1200,
6
+ "train_samples_per_second": 40.074,
7
+ "train_steps_per_second": 5.009
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 5.0,
5
+ "global_step": 750,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 3.33,
12
+ "learning_rate": 6.666666666666667e-06,
13
+ "loss": 0.528,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 5.0,
18
+ "step": 750,
19
+ "total_flos": 394670126592000.0,
20
+ "train_loss": 0.3936085205078125,
21
+ "train_runtime": 149.7213,
22
+ "train_samples_per_second": 40.074,
23
+ "train_steps_per_second": 5.009
24
+ }
25
+ ],
26
+ "max_steps": 750,
27
+ "num_train_epochs": 5,
28
+ "total_flos": 394670126592000.0,
29
+ "trial_name": null,
30
+ "trial_params": null
31
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74fbdfa7a2ecf6267bd1fd614b4ea02a69218e78b7fefec18c3a4a77e064fd8c
3
+ size 3311
vocab.json ADDED
The diff for this file is too large to render. See raw diff