Upload DistilBertForSequenceClassification
Browse files- config.json +14 -23
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -1,33 +1,24 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
-
"
|
| 4 |
],
|
| 5 |
-
"
|
| 6 |
-
"
|
|
|
|
| 7 |
"dtype": "float32",
|
| 8 |
-
"
|
| 9 |
-
"hidden_dropout_prob": 0.1,
|
| 10 |
-
"hidden_size": 768,
|
| 11 |
-
"id2label": {
|
| 12 |
-
"0": "negative (stars 1, 2 and 3)",
|
| 13 |
-
"1": "positive (stars 4 and 5)"
|
| 14 |
-
},
|
| 15 |
"initializer_range": 0.02,
|
| 16 |
-
"intermediate_size": 3072,
|
| 17 |
-
"label2id": {
|
| 18 |
-
"negative (stars 1, 2 and 3)": 0,
|
| 19 |
-
"positive (stars 4 and 5)": 1
|
| 20 |
-
},
|
| 21 |
-
"layer_norm_eps": 1e-12,
|
| 22 |
"max_position_embeddings": 512,
|
| 23 |
-
"model_type": "
|
| 24 |
-
"
|
| 25 |
-
"
|
| 26 |
"pad_token_id": 0,
|
| 27 |
-
"position_embedding_type": "absolute",
|
| 28 |
"problem_type": "single_label_classification",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
"transformers_version": "4.57.6",
|
| 30 |
-
"
|
| 31 |
-
"use_cache": true,
|
| 32 |
-
"vocab_size": 21128
|
| 33 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"activation": "gelu",
|
| 3 |
"architectures": [
|
| 4 |
+
"DistilBertForSequenceClassification"
|
| 5 |
],
|
| 6 |
+
"attention_dropout": 0.1,
|
| 7 |
+
"dim": 768,
|
| 8 |
+
"dropout": 0.1,
|
| 9 |
"dtype": "float32",
|
| 10 |
+
"hidden_dim": 3072,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
"initializer_range": 0.02,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
"max_position_embeddings": 512,
|
| 13 |
+
"model_type": "distilbert",
|
| 14 |
+
"n_heads": 12,
|
| 15 |
+
"n_layers": 6,
|
| 16 |
"pad_token_id": 0,
|
|
|
|
| 17 |
"problem_type": "single_label_classification",
|
| 18 |
+
"qa_dropout": 0.1,
|
| 19 |
+
"seq_classif_dropout": 0.2,
|
| 20 |
+
"sinusoidal_pos_embds": false,
|
| 21 |
+
"tie_weights_": true,
|
| 22 |
"transformers_version": "4.57.6",
|
| 23 |
+
"vocab_size": 119547
|
|
|
|
|
|
|
| 24 |
}
|
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:ed1da2646cd4796da8e0e0854a2b0dff1dbde1d674a5cdb1839a928872cab50f
|
| 3 |
+
size 541317368
|