Spaces:
Runtime error
Runtime error
Commit
·
9f7b619
1
Parent(s):
2d37288
Added zero shot model files
Browse files
zero_shot_clf/config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "typeform/distilbert-base-uncased-mnli",
|
3 |
+
"activation": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"DistilBertForSequenceClassification"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"dim": 768,
|
9 |
+
"dropout": 0.1,
|
10 |
+
"finetuning_task": "mnli",
|
11 |
+
"hidden_dim": 3072,
|
12 |
+
"id2label": {
|
13 |
+
"0": "ENTAILMENT",
|
14 |
+
"1": "NEUTRAL",
|
15 |
+
"2": "CONTRADICTION"
|
16 |
+
},
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"label2id": {
|
19 |
+
"CONTRADICTION": 2,
|
20 |
+
"ENTAILMENT": 0,
|
21 |
+
"NEUTRAL": 1
|
22 |
+
},
|
23 |
+
"max_position_embeddings": 512,
|
24 |
+
"model_type": "distilbert",
|
25 |
+
"n_heads": 12,
|
26 |
+
"n_layers": 6,
|
27 |
+
"pad_token_id": 0,
|
28 |
+
"qa_dropout": 0.1,
|
29 |
+
"seq_classif_dropout": 0.2,
|
30 |
+
"sinusoidal_pos_embds": false,
|
31 |
+
"tie_weights_": true,
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.18.0",
|
34 |
+
"vocab_size": 30522
|
35 |
+
}
|
zero_shot_clf/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8dc7de4f2d8abf41ed8b1b6af3d38ebc9ab6c1c647a1830c1631a8e3422aed72
|
3 |
+
size 267855985
|
zero_shot_clf/special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
zero_shot_clf/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
zero_shot_clf/tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "name_or_path": "typeform/distilbert-base-uncased-mnli", "special_tokens_map_file": "C:\\Users\\ashis/.cache\\huggingface\\transformers\\b748f7b782254f27d41010cf9a96031cb0015289165c8ae0ba402d4f12950181.dd8bd9bfd3664b530ea4e645105f557769387b3da9f79bdb55ed556bdd80611d", "do_basic_tokenize": true, "never_split": null, "tokenizer_class": "DistilBertTokenizer"}
|
zero_shot_clf/vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|