Upload DistilBertForSequenceClassification
Browse files- config.json +15 -19
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "distilbert/distilbert-base-
|
| 3 |
"activation": "gelu",
|
| 4 |
"architectures": [
|
| 5 |
"DistilBertForSequenceClassification"
|
|
@@ -9,25 +9,21 @@
|
|
| 9 |
"dropout": 0.1,
|
| 10 |
"hidden_dim": 3072,
|
| 11 |
"id2label": {
|
| 12 |
-
"0": "
|
| 13 |
-
"1": "
|
| 14 |
-
"2": "
|
| 15 |
-
"3": "
|
| 16 |
-
"4": "
|
| 17 |
-
"5": "
|
| 18 |
-
"6": "Policy or regulation reference",
|
| 19 |
-
"7": "Other"
|
| 20 |
},
|
| 21 |
"initializer_range": 0.02,
|
| 22 |
"label2id": {
|
| 23 |
-
"Contextual":
|
| 24 |
-
"
|
| 25 |
-
"
|
| 26 |
-
"
|
| 27 |
-
"
|
| 28 |
-
"
|
| 29 |
-
"Policy or regulation reference": 6,
|
| 30 |
-
"Target audience, beneficiary or impacted entity": 2
|
| 31 |
},
|
| 32 |
"max_position_embeddings": 512,
|
| 33 |
"model_type": "distilbert",
|
|
@@ -41,6 +37,6 @@
|
|
| 41 |
"sinusoidal_pos_embds": false,
|
| 42 |
"tie_weights_": true,
|
| 43 |
"torch_dtype": "float32",
|
| 44 |
-
"transformers_version": "4.
|
| 45 |
-
"vocab_size":
|
| 46 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "distilbert/distilbert-base-cased",
|
| 3 |
"activation": "gelu",
|
| 4 |
"architectures": [
|
| 5 |
"DistilBertForSequenceClassification"
|
|
|
|
| 9 |
"dropout": 0.1,
|
| 10 |
"hidden_dim": 3072,
|
| 11 |
"id2label": {
|
| 12 |
+
"0": "Contextual & Other",
|
| 13 |
+
"1": "Institutional reference",
|
| 14 |
+
"2": "Location of research",
|
| 15 |
+
"3": "Object of study",
|
| 16 |
+
"4": "Policy or regulation reference",
|
| 17 |
+
"5": "Target audience, beneficiary or impacted entity"
|
|
|
|
|
|
|
| 18 |
},
|
| 19 |
"initializer_range": 0.02,
|
| 20 |
"label2id": {
|
| 21 |
+
"Contextual & Other": 0,
|
| 22 |
+
"Institutional reference": 1,
|
| 23 |
+
"Location of research": 2,
|
| 24 |
+
"Object of study": 3,
|
| 25 |
+
"Policy or regulation reference": 4,
|
| 26 |
+
"Target audience, beneficiary or impacted entity": 5
|
|
|
|
|
|
|
| 27 |
},
|
| 28 |
"max_position_embeddings": 512,
|
| 29 |
"model_type": "distilbert",
|
|
|
|
| 37 |
"sinusoidal_pos_embds": false,
|
| 38 |
"tie_weights_": true,
|
| 39 |
"torch_dtype": "float32",
|
| 40 |
+
"transformers_version": "4.46.2",
|
| 41 |
+
"vocab_size": 28998
|
| 42 |
}
|
model.safetensors
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:32b1376aa4ac4c919f2fd1f59efb2f26f931aa8bc7f2a632afabb986b1d676a2
|
| 3 |
+
size 263163136
|