Upload DistilBertForSequenceClassification
Browse files- config.json +25 -29
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -1,37 +1,33 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
"architectures": [
|
| 4 |
-
"
|
| 5 |
],
|
| 6 |
-
"
|
| 7 |
-
"
|
|
|
|
| 8 |
"dtype": "float32",
|
| 9 |
-
"
|
| 10 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
"initializer_range": 0.02,
|
| 12 |
-
"
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
"n_embd": 1024,
|
| 16 |
-
"n_head": 16,
|
| 17 |
-
"n_inner": null,
|
| 18 |
-
"n_layer": 24,
|
| 19 |
-
"n_positions": 1024,
|
| 20 |
-
"reorder_and_upcast_attn": false,
|
| 21 |
-
"resid_pdrop": 0.1,
|
| 22 |
-
"scale_attn_by_inverse_layer_idx": false,
|
| 23 |
-
"scale_attn_weights": true,
|
| 24 |
-
"summary_activation": null,
|
| 25 |
-
"summary_first_dropout": 0.1,
|
| 26 |
-
"summary_proj_to_labels": true,
|
| 27 |
-
"summary_type": "cls_index",
|
| 28 |
-
"summary_use_proj": true,
|
| 29 |
-
"task_specific_params": {
|
| 30 |
-
"conversational": {
|
| 31 |
-
"max_length": 1000
|
| 32 |
-
}
|
| 33 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
"transformers_version": "4.56.0",
|
| 35 |
-
"
|
| 36 |
-
"vocab_size": 50257
|
| 37 |
}
|
|
|
|
| 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 |
+
"finetuning_task": "sst-2",
|
| 11 |
+
"hidden_dim": 3072,
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "NEGATIVE",
|
| 14 |
+
"1": "POSITIVE"
|
| 15 |
+
},
|
| 16 |
"initializer_range": 0.02,
|
| 17 |
+
"label2id": {
|
| 18 |
+
"NEGATIVE": 0,
|
| 19 |
+
"POSITIVE": 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
},
|
| 21 |
+
"max_position_embeddings": 512,
|
| 22 |
+
"model_type": "distilbert",
|
| 23 |
+
"n_heads": 12,
|
| 24 |
+
"n_layers": 6,
|
| 25 |
+
"output_past": true,
|
| 26 |
+
"pad_token_id": 0,
|
| 27 |
+
"qa_dropout": 0.1,
|
| 28 |
+
"seq_classif_dropout": 0.2,
|
| 29 |
+
"sinusoidal_pos_embds": false,
|
| 30 |
+
"tie_weights_": true,
|
| 31 |
"transformers_version": "4.56.0",
|
| 32 |
+
"vocab_size": 30522
|
|
|
|
| 33 |
}
|
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:61afb985df6fbe77fd84138129481f0a4444c02893782984e330f874f43cee4b
|
| 3 |
+
size 267832560
|