Commit ·
2db33aa
1
Parent(s): 68edeff
Upload BertForSequenceClassification
Browse files- config.json +1 -19
config.json
CHANGED
|
@@ -1,28 +1,10 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
"BertForSequenceClassification"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"classifier_dropout": null,
|
| 8 |
-
"custom_pipelines": {
|
| 9 |
-
"question-classifier": {
|
| 10 |
-
"default": {
|
| 11 |
-
"model": {
|
| 12 |
-
"pt": [
|
| 13 |
-
"ai-research-lab/bert-question-classifier",
|
| 14 |
-
"main"
|
| 15 |
-
]
|
| 16 |
-
}
|
| 17 |
-
},
|
| 18 |
-
"impl": "classifier_pipeline.MultiTaskClassifierPipeline",
|
| 19 |
-
"pt": [
|
| 20 |
-
"AutoModelForSequenceClassification"
|
| 21 |
-
],
|
| 22 |
-
"tf": [],
|
| 23 |
-
"type": "text"
|
| 24 |
-
}
|
| 25 |
-
},
|
| 26 |
"gradient_checkpointing": false,
|
| 27 |
"hidden_act": "gelu",
|
| 28 |
"hidden_dropout_prob": 0.1,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "google-bert/bert-base-uncased",
|
| 3 |
"architectures": [
|
| 4 |
"BertForSequenceClassification"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"classifier_dropout": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
"gradient_checkpointing": false,
|
| 9 |
"hidden_act": "gelu",
|
| 10 |
"hidden_dropout_prob": 0.1,
|