vedantjumle
commited on
Commit
•
b375014
1
Parent(s):
5520fcc
Training in progress epoch 0
Browse files- README.md +7 -11
- added_tokens.json +7 -0
- config.json +121 -121
- tf_model.h5 +2 -2
- tokenizer_config.json +43 -0
README.md
CHANGED
@@ -15,10 +15,10 @@ probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
-
- Train Loss:
|
19 |
-
- Validation Loss:
|
20 |
-
- Train Accuracy: 0.
|
21 |
-
- Epoch:
|
22 |
|
23 |
## Model description
|
24 |
|
@@ -44,16 +44,12 @@ The following hyperparameters were used during training:
|
|
44 |
|
45 |
| Train Loss | Validation Loss | Train Accuracy | Epoch |
|
46 |
|:----------:|:---------------:|:--------------:|:-----:|
|
47 |
-
| 2.
|
48 |
-
| 0.8827 | 0.7496 | 0.8309 | 1 |
|
49 |
-
| 0.5245 | 0.6397 | 0.8462 | 2 |
|
50 |
-
| 0.3795 | 0.6053 | 0.8518 | 3 |
|
51 |
-
| 0.3125 | 0.5946 | 0.8549 | 4 |
|
52 |
|
53 |
|
54 |
### Framework versions
|
55 |
|
56 |
-
- Transformers 4.
|
57 |
- TensorFlow 2.13.0
|
58 |
- Datasets 2.14.5
|
59 |
-
- Tokenizers 0.
|
|
|
15 |
|
16 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
+
- Train Loss: 2.3808
|
19 |
+
- Validation Loss: 1.2434
|
20 |
+
- Train Accuracy: 0.7405
|
21 |
+
- Epoch: 0
|
22 |
|
23 |
## Model description
|
24 |
|
|
|
44 |
|
45 |
| Train Loss | Validation Loss | Train Accuracy | Epoch |
|
46 |
|:----------:|:---------------:|:--------------:|:-----:|
|
47 |
+
| 2.3808 | 1.2434 | 0.7405 | 0 |
|
|
|
|
|
|
|
|
|
48 |
|
49 |
|
50 |
### Framework versions
|
51 |
|
52 |
+
- Transformers 4.34.0
|
53 |
- TensorFlow 2.13.0
|
54 |
- Datasets 2.14.5
|
55 |
+
- Tokenizers 0.14.1
|
added_tokens.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"[CLS]": 101,
|
3 |
+
"[MASK]": 103,
|
4 |
+
"[PAD]": 0,
|
5 |
+
"[SEP]": 102,
|
6 |
+
"[UNK]": 100
|
7 |
+
}
|
config.json
CHANGED
@@ -9,129 +9,129 @@
|
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
"id2label": {
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
19 |
-
"
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
-
"
|
36 |
-
"
|
37 |
-
"
|
38 |
-
"
|
39 |
-
"
|
40 |
-
"
|
41 |
-
"
|
42 |
-
"
|
43 |
-
"
|
44 |
-
"
|
45 |
-
"
|
46 |
-
"
|
47 |
-
"
|
48 |
-
"
|
49 |
-
"
|
50 |
-
"
|
51 |
-
"
|
52 |
-
"
|
53 |
-
"
|
54 |
-
"
|
55 |
-
"
|
56 |
-
"
|
57 |
-
"
|
58 |
-
"
|
59 |
-
"
|
60 |
-
"
|
61 |
-
"
|
62 |
-
"
|
63 |
-
"
|
64 |
-
"
|
65 |
-
"
|
66 |
-
"
|
67 |
-
"
|
68 |
-
"
|
69 |
-
"
|
70 |
-
"
|
71 |
-
"
|
72 |
},
|
73 |
"initializer_range": 0.02,
|
74 |
"label2id": {
|
75 |
-
"
|
76 |
-
"
|
77 |
-
"
|
78 |
-
"
|
79 |
-
"
|
80 |
-
"
|
81 |
-
"
|
82 |
-
"
|
83 |
-
"
|
84 |
-
"
|
85 |
-
"
|
86 |
-
"
|
87 |
-
"
|
88 |
-
"
|
89 |
-
"
|
90 |
-
"
|
91 |
-
"
|
92 |
-
"
|
93 |
-
"
|
94 |
-
"
|
95 |
-
"
|
96 |
-
"
|
97 |
-
"
|
98 |
-
"
|
99 |
-
"
|
100 |
-
"
|
101 |
-
"
|
102 |
-
"
|
103 |
-
"
|
104 |
-
"
|
105 |
-
"
|
106 |
-
"
|
107 |
-
"
|
108 |
-
"
|
109 |
-
"
|
110 |
-
"
|
111 |
-
"
|
112 |
-
"
|
113 |
-
"
|
114 |
-
"
|
115 |
-
"
|
116 |
-
"
|
117 |
-
"
|
118 |
-
"
|
119 |
-
"
|
120 |
-
"
|
121 |
-
"
|
122 |
-
"
|
123 |
-
"
|
124 |
-
"
|
125 |
-
"
|
126 |
-
"
|
127 |
-
"
|
128 |
-
"
|
129 |
-
"
|
130 |
-
"
|
131 |
-
"
|
132 |
-
"
|
133 |
-
"
|
134 |
-
"
|
135 |
},
|
136 |
"max_position_embeddings": 512,
|
137 |
"model_type": "distilbert",
|
@@ -142,6 +142,6 @@
|
|
142 |
"seq_classif_dropout": 0.2,
|
143 |
"sinusoidal_pos_embds": false,
|
144 |
"tie_weights_": true,
|
145 |
-
"transformers_version": "4.
|
146 |
"vocab_size": 30522
|
147 |
}
|
|
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
"id2label": {
|
12 |
+
"0": "LABEL_0",
|
13 |
+
"1": "LABEL_1",
|
14 |
+
"2": "LABEL_2",
|
15 |
+
"3": "LABEL_3",
|
16 |
+
"4": "LABEL_4",
|
17 |
+
"5": "LABEL_5",
|
18 |
+
"6": "LABEL_6",
|
19 |
+
"7": "LABEL_7",
|
20 |
+
"8": "LABEL_8",
|
21 |
+
"9": "LABEL_9",
|
22 |
+
"10": "LABEL_10",
|
23 |
+
"11": "LABEL_11",
|
24 |
+
"12": "LABEL_12",
|
25 |
+
"13": "LABEL_13",
|
26 |
+
"14": "LABEL_14",
|
27 |
+
"15": "LABEL_15",
|
28 |
+
"16": "LABEL_16",
|
29 |
+
"17": "LABEL_17",
|
30 |
+
"18": "LABEL_18",
|
31 |
+
"19": "LABEL_19",
|
32 |
+
"20": "LABEL_20",
|
33 |
+
"21": "LABEL_21",
|
34 |
+
"22": "LABEL_22",
|
35 |
+
"23": "LABEL_23",
|
36 |
+
"24": "LABEL_24",
|
37 |
+
"25": "LABEL_25",
|
38 |
+
"26": "LABEL_26",
|
39 |
+
"27": "LABEL_27",
|
40 |
+
"28": "LABEL_28",
|
41 |
+
"29": "LABEL_29",
|
42 |
+
"30": "LABEL_30",
|
43 |
+
"31": "LABEL_31",
|
44 |
+
"32": "LABEL_32",
|
45 |
+
"33": "LABEL_33",
|
46 |
+
"34": "LABEL_34",
|
47 |
+
"35": "LABEL_35",
|
48 |
+
"36": "LABEL_36",
|
49 |
+
"37": "LABEL_37",
|
50 |
+
"38": "LABEL_38",
|
51 |
+
"39": "LABEL_39",
|
52 |
+
"40": "LABEL_40",
|
53 |
+
"41": "LABEL_41",
|
54 |
+
"42": "LABEL_42",
|
55 |
+
"43": "LABEL_43",
|
56 |
+
"44": "LABEL_44",
|
57 |
+
"45": "LABEL_45",
|
58 |
+
"46": "LABEL_46",
|
59 |
+
"47": "LABEL_47",
|
60 |
+
"48": "LABEL_48",
|
61 |
+
"49": "LABEL_49",
|
62 |
+
"50": "LABEL_50",
|
63 |
+
"51": "LABEL_51",
|
64 |
+
"52": "LABEL_52",
|
65 |
+
"53": "LABEL_53",
|
66 |
+
"54": "LABEL_54",
|
67 |
+
"55": "LABEL_55",
|
68 |
+
"56": "LABEL_56",
|
69 |
+
"57": "LABEL_57",
|
70 |
+
"58": "LABEL_58",
|
71 |
+
"59": "LABEL_59"
|
72 |
},
|
73 |
"initializer_range": 0.02,
|
74 |
"label2id": {
|
75 |
+
"LABEL_0": 0,
|
76 |
+
"LABEL_1": 1,
|
77 |
+
"LABEL_10": 10,
|
78 |
+
"LABEL_11": 11,
|
79 |
+
"LABEL_12": 12,
|
80 |
+
"LABEL_13": 13,
|
81 |
+
"LABEL_14": 14,
|
82 |
+
"LABEL_15": 15,
|
83 |
+
"LABEL_16": 16,
|
84 |
+
"LABEL_17": 17,
|
85 |
+
"LABEL_18": 18,
|
86 |
+
"LABEL_19": 19,
|
87 |
+
"LABEL_2": 2,
|
88 |
+
"LABEL_20": 20,
|
89 |
+
"LABEL_21": 21,
|
90 |
+
"LABEL_22": 22,
|
91 |
+
"LABEL_23": 23,
|
92 |
+
"LABEL_24": 24,
|
93 |
+
"LABEL_25": 25,
|
94 |
+
"LABEL_26": 26,
|
95 |
+
"LABEL_27": 27,
|
96 |
+
"LABEL_28": 28,
|
97 |
+
"LABEL_29": 29,
|
98 |
+
"LABEL_3": 3,
|
99 |
+
"LABEL_30": 30,
|
100 |
+
"LABEL_31": 31,
|
101 |
+
"LABEL_32": 32,
|
102 |
+
"LABEL_33": 33,
|
103 |
+
"LABEL_34": 34,
|
104 |
+
"LABEL_35": 35,
|
105 |
+
"LABEL_36": 36,
|
106 |
+
"LABEL_37": 37,
|
107 |
+
"LABEL_38": 38,
|
108 |
+
"LABEL_39": 39,
|
109 |
+
"LABEL_4": 4,
|
110 |
+
"LABEL_40": 40,
|
111 |
+
"LABEL_41": 41,
|
112 |
+
"LABEL_42": 42,
|
113 |
+
"LABEL_43": 43,
|
114 |
+
"LABEL_44": 44,
|
115 |
+
"LABEL_45": 45,
|
116 |
+
"LABEL_46": 46,
|
117 |
+
"LABEL_47": 47,
|
118 |
+
"LABEL_48": 48,
|
119 |
+
"LABEL_49": 49,
|
120 |
+
"LABEL_5": 5,
|
121 |
+
"LABEL_50": 50,
|
122 |
+
"LABEL_51": 51,
|
123 |
+
"LABEL_52": 52,
|
124 |
+
"LABEL_53": 53,
|
125 |
+
"LABEL_54": 54,
|
126 |
+
"LABEL_55": 55,
|
127 |
+
"LABEL_56": 56,
|
128 |
+
"LABEL_57": 57,
|
129 |
+
"LABEL_58": 58,
|
130 |
+
"LABEL_59": 59,
|
131 |
+
"LABEL_6": 6,
|
132 |
+
"LABEL_7": 7,
|
133 |
+
"LABEL_8": 8,
|
134 |
+
"LABEL_9": 9
|
135 |
},
|
136 |
"max_position_embeddings": 512,
|
137 |
"model_type": "distilbert",
|
|
|
142 |
"seq_classif_dropout": 0.2,
|
143 |
"sinusoidal_pos_embds": false,
|
144 |
"tie_weights_": true,
|
145 |
+
"transformers_version": "4.34.0",
|
146 |
"vocab_size": 30522
|
147 |
}
|
tf_model.h5
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3671ddd1a52f1437e23fac5873eda1d21b39c5004b2f2f49439a9a3873feb98f
|
3 |
+
size 268129984
|
tokenizer_config.json
CHANGED
@@ -1,4 +1,47 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"clean_up_tokenization_spaces": true,
|
3 |
"cls_token": "[CLS]",
|
4 |
"do_lower_case": true,
|
|
|
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 |
+
"additional_special_tokens": [],
|
45 |
"clean_up_tokenization_spaces": true,
|
46 |
"cls_token": "[CLS]",
|
47 |
"do_lower_case": true,
|