Gopal1853 commited on
Commit
4ea0392
·
verified ·
1 Parent(s): 93883c7

Upload fine-tuned DistilBERT model

Browse files
config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation": "gelu",
3
+ "architectures": [
4
+ "DistilBertForQuestionAnswering"
5
+ ],
6
+ "attention_dropout": 0.1,
7
+ "dim": 768,
8
+ "dropout": 0.1,
9
+ "hidden_dim": 3072,
10
+ "initializer_range": 0.02,
11
+ "max_position_embeddings": 512,
12
+ "model_type": "distilbert",
13
+ "n_heads": 12,
14
+ "n_layers": 6,
15
+ "pad_token_id": 0,
16
+ "qa_dropout": 0.1,
17
+ "seq_classif_dropout": 0.2,
18
+ "sinusoidal_pos_embds": false,
19
+ "tie_weights_": true,
20
+ "torch_dtype": "float32",
21
+ "transformers_version": "4.51.3",
22
+ "vocab_size": 30522
23
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:767d7ceaa9caa5b8642b36dca7262e8e1a0f37b6ee059845eb69f99f2472ce1e
3
+ size 265470032
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab285f9078e4087598fb56ca656eb2317548bf80d4f49c9367d672339ad0ec6e
3
+ size 531000890
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ec8b423ccab49984b88d6bcdfe532bea50471e2aced4d88c8fdd5e753f214e2
3
+ size 14244
scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fec44327f49491e5473192836016ac321a25139cb05a44f6389303544ffac1e9
3
+ size 988
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1358292fc8093e9f2fe9936c61149d76ab0510f46cb46ae4469fee7ed1b04c12
3
+ size 1064
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": false,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "DistilBertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
trainer_state.json ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 399.72727272727275,
6
+ "eval_steps": 500,
7
+ "global_step": 800,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 49.72727272727273,
14
+ "grad_norm": 8.328217506408691,
15
+ "learning_rate": 8.775e-06,
16
+ "loss": 1.8952,
17
+ "step": 100
18
+ },
19
+ {
20
+ "epoch": 99.72727272727273,
21
+ "grad_norm": 4.615832805633545,
22
+ "learning_rate": 7.525e-06,
23
+ "loss": 0.4619,
24
+ "step": 200
25
+ },
26
+ {
27
+ "epoch": 149.72727272727272,
28
+ "grad_norm": 2.132920503616333,
29
+ "learning_rate": 6.275e-06,
30
+ "loss": 0.0905,
31
+ "step": 300
32
+ },
33
+ {
34
+ "epoch": 199.72727272727272,
35
+ "grad_norm": 0.5747965574264526,
36
+ "learning_rate": 5.025e-06,
37
+ "loss": 0.0256,
38
+ "step": 400
39
+ },
40
+ {
41
+ "epoch": 249.72727272727272,
42
+ "grad_norm": 0.17656728625297546,
43
+ "learning_rate": 3.7750000000000003e-06,
44
+ "loss": 0.013,
45
+ "step": 500
46
+ },
47
+ {
48
+ "epoch": 299.72727272727275,
49
+ "grad_norm": 0.22439385950565338,
50
+ "learning_rate": 2.5250000000000004e-06,
51
+ "loss": 0.0083,
52
+ "step": 600
53
+ },
54
+ {
55
+ "epoch": 349.72727272727275,
56
+ "grad_norm": 0.07200386375188828,
57
+ "learning_rate": 1.275e-06,
58
+ "loss": 0.0059,
59
+ "step": 700
60
+ },
61
+ {
62
+ "epoch": 399.72727272727275,
63
+ "grad_norm": 1.7082760334014893,
64
+ "learning_rate": 2.5000000000000002e-08,
65
+ "loss": 0.0035,
66
+ "step": 800
67
+ }
68
+ ],
69
+ "logging_steps": 100,
70
+ "max_steps": 800,
71
+ "num_input_tokens_seen": 0,
72
+ "num_train_epochs": 400,
73
+ "save_steps": 500,
74
+ "stateful_callbacks": {
75
+ "TrainerControl": {
76
+ "args": {
77
+ "should_epoch_stop": false,
78
+ "should_evaluate": false,
79
+ "should_log": false,
80
+ "should_save": true,
81
+ "should_training_stop": true
82
+ },
83
+ "attributes": {}
84
+ }
85
+ },
86
+ "total_flos": 8774662198149120.0,
87
+ "train_batch_size": 8,
88
+ "trial_name": null,
89
+ "trial_params": null
90
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4dc40349e88b0d2894730579ef480b89246e996c112a8f7e31426ae635745537
3
+ size 5304
vocab.txt ADDED
The diff for this file is too large to render. See raw diff