commit files to HF hub
Browse files- config.json +18 -0
- special_tokens_map.json +35 -5
config.json
CHANGED
@@ -9,6 +9,24 @@
|
|
9 |
"AutoModelForSequenceClassification": "modeling_tunbert.TunBERT"
|
10 |
},
|
11 |
"classifier_dropout": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
"gradient_checkpointing": false,
|
13 |
"hidden_act": "gelu",
|
14 |
"hidden_dropout_prob": 0.1,
|
|
|
9 |
"AutoModelForSequenceClassification": "modeling_tunbert.TunBERT"
|
10 |
},
|
11 |
"classifier_dropout": null,
|
12 |
+
"custom_pipelines": {
|
13 |
+
"TunBERT-classifier": {
|
14 |
+
"default": {
|
15 |
+
"model": {
|
16 |
+
"pt": [
|
17 |
+
"not-lain/TunBERT",
|
18 |
+
"main"
|
19 |
+
]
|
20 |
+
}
|
21 |
+
},
|
22 |
+
"impl": "__main__.TBCP",
|
23 |
+
"pt": [
|
24 |
+
"AutoModelForSequenceClassification"
|
25 |
+
],
|
26 |
+
"tf": [],
|
27 |
+
"type": "text"
|
28 |
+
}
|
29 |
+
},
|
30 |
"gradient_checkpointing": false,
|
31 |
"hidden_act": "gelu",
|
32 |
"hidden_dropout_prob": 0.1,
|
special_tokens_map.json
CHANGED
@@ -1,7 +1,37 @@
|
|
1 |
{
|
2 |
-
"cls_token":
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
}
|
|
|
1 |
{
|
2 |
+
"cls_token": {
|
3 |
+
"content": "[CLS]",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"mask_token": {
|
10 |
+
"content": "[MASK]",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "[PAD]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"sep_token": {
|
24 |
+
"content": "[SEP]",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"unk_token": {
|
31 |
+
"content": "[UNK]",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
}
|
37 |
}
|