Palak Goenka commited on
Commit
6534ab7
1 Parent(s): 08ed5f0

add finetuned files

Browse files
README.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - squad
7
+ model-index:
8
+ - name: distilroberta-base_squad
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # distilroberta-base_squad
16
+
17
+ This model is a fine-tuned version of [distilroberta-base](https://huggingface.co/distilroberta-base) on the squad dataset.
18
+
19
+ ## Model description
20
+
21
+ More information needed
22
+
23
+ ## Intended uses & limitations
24
+
25
+ More information needed
26
+
27
+ ## Training and evaluation data
28
+
29
+ More information needed
30
+
31
+ ## Training procedure
32
+
33
+ ### Training hyperparameters
34
+
35
+ The following hyperparameters were used during training:
36
+ - learning_rate: 3e-05
37
+ - train_batch_size: 32
38
+ - eval_batch_size: 32
39
+ - seed: 42
40
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
41
+ - lr_scheduler_type: linear
42
+ - num_epochs: 3.0
43
+
44
+ ### Training results
45
+
46
+
47
+
48
+ ### Framework versions
49
+
50
+ - Transformers 4.14.1
51
+ - Pytorch 1.9.0
52
+ - Datasets 1.16.1
53
+ - Tokenizers 0.10.3
all_results.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_exact_match": 80.97445600756859,
4
+ "eval_f1": 88.0153886332912,
5
+ "eval_samples": 10790,
6
+ "train_loss": 0.9979496314576136,
7
+ "train_runtime": 2629.392,
8
+ "train_samples": 88568,
9
+ "train_samples_per_second": 101.051,
10
+ "train_steps_per_second": 3.158
11
+ }
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilroberta-base",
3
+ "architectures": [
4
+ "RobertaForQuestionAnswering"
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
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "roberta",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 6,
20
+ "pad_token_id": 1,
21
+ "position_embedding_type": "absolute",
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.14.1",
24
+ "type_vocab_size": 1,
25
+ "use_cache": true,
26
+ "vocab_size": 50265
27
+ }
eval_results.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_exact_match": 80.97445600756859,
4
+ "eval_f1": 88.0153886332912,
5
+ "eval_samples": 10790
6
+ }
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:78b27bf75e3f5e900b248962863a39b539cc53997161f2c36466186457abef50
3
+ size 326162801
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "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
+ {"unk_token": "<unk>", "bos_token": "<s>", "eos_token": "</s>", "add_prefix_space": false, "errors": "replace", "sep_token": "</s>", "cls_token": "<s>", "pad_token": "<pad>", "mask_token": "<mask>", "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "distilroberta-base", "tokenizer_class": "RobertaTokenizer"}
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "train_loss": 0.9979496314576136,
4
+ "train_runtime": 2629.392,
5
+ "train_samples": 88568,
6
+ "train_samples_per_second": 101.051,
7
+ "train_steps_per_second": 3.158
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "global_step": 8304,
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.18,
12
+ "learning_rate": 2.8193641618497108e-05,
13
+ "loss": 2.0414,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 0.36,
18
+ "learning_rate": 2.6387283236994222e-05,
19
+ "loss": 1.3717,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 0.54,
24
+ "learning_rate": 2.458092485549133e-05,
25
+ "loss": 1.2339,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 0.72,
30
+ "learning_rate": 2.277456647398844e-05,
31
+ "loss": 1.1651,
32
+ "step": 2000
33
+ },
34
+ {
35
+ "epoch": 0.9,
36
+ "learning_rate": 2.0968208092485548e-05,
37
+ "loss": 1.1147,
38
+ "step": 2500
39
+ },
40
+ {
41
+ "epoch": 1.08,
42
+ "learning_rate": 1.9161849710982662e-05,
43
+ "loss": 1.0155,
44
+ "step": 3000
45
+ },
46
+ {
47
+ "epoch": 1.26,
48
+ "learning_rate": 1.735549132947977e-05,
49
+ "loss": 0.9151,
50
+ "step": 3500
51
+ },
52
+ {
53
+ "epoch": 1.45,
54
+ "learning_rate": 1.5549132947976876e-05,
55
+ "loss": 0.9212,
56
+ "step": 4000
57
+ },
58
+ {
59
+ "epoch": 1.63,
60
+ "learning_rate": 1.3742774566473989e-05,
61
+ "loss": 0.8868,
62
+ "step": 4500
63
+ },
64
+ {
65
+ "epoch": 1.81,
66
+ "learning_rate": 1.19364161849711e-05,
67
+ "loss": 0.8968,
68
+ "step": 5000
69
+ },
70
+ {
71
+ "epoch": 1.99,
72
+ "learning_rate": 1.0130057803468209e-05,
73
+ "loss": 0.8776,
74
+ "step": 5500
75
+ },
76
+ {
77
+ "epoch": 2.17,
78
+ "learning_rate": 8.323699421965318e-06,
79
+ "loss": 0.747,
80
+ "step": 6000
81
+ },
82
+ {
83
+ "epoch": 2.35,
84
+ "learning_rate": 6.517341040462428e-06,
85
+ "loss": 0.7403,
86
+ "step": 6500
87
+ },
88
+ {
89
+ "epoch": 2.53,
90
+ "learning_rate": 4.710982658959537e-06,
91
+ "loss": 0.741,
92
+ "step": 7000
93
+ },
94
+ {
95
+ "epoch": 2.71,
96
+ "learning_rate": 2.9046242774566473e-06,
97
+ "loss": 0.7416,
98
+ "step": 7500
99
+ },
100
+ {
101
+ "epoch": 2.89,
102
+ "learning_rate": 1.0982658959537572e-06,
103
+ "loss": 0.7207,
104
+ "step": 8000
105
+ },
106
+ {
107
+ "epoch": 3.0,
108
+ "step": 8304,
109
+ "total_flos": 2.6036288468176896e+16,
110
+ "train_loss": 0.9979496314576136,
111
+ "train_runtime": 2629.392,
112
+ "train_samples_per_second": 101.051,
113
+ "train_steps_per_second": 3.158
114
+ }
115
+ ],
116
+ "max_steps": 8304,
117
+ "num_train_epochs": 3,
118
+ "total_flos": 2.6036288468176896e+16,
119
+ "trial_name": null,
120
+ "trial_params": null
121
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:515fdb101497837a86bf2972ceba99d8e3b8aad2966a3e34fc2c3e2066014898
3
+ size 2927
vocab.json ADDED
The diff for this file is too large to render. See raw diff