Spaces:
Runtime error
Runtime error
Commit
·
5430ad2
1
Parent(s):
0999862
new zero shot model dir
Browse files
zero_shot_clf/config.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "valhalla/distilbart-mnli-12-1",
|
3 |
+
"_num_labels": 3,
|
4 |
+
"activation_dropout": 0.0,
|
5 |
+
"activation_function": "gelu",
|
6 |
+
"add_bias_logits": false,
|
7 |
+
"add_final_layer_norm": false,
|
8 |
+
"architectures": [
|
9 |
+
"BartForSequenceClassification"
|
10 |
+
],
|
11 |
+
"attention_dropout": 0.1,
|
12 |
+
"bos_token_id": 0,
|
13 |
+
"classif_dropout": 0.0,
|
14 |
+
"classifier_dropout": 0.0,
|
15 |
+
"d_model": 1024,
|
16 |
+
"decoder_attention_heads": 16,
|
17 |
+
"decoder_ffn_dim": 4096,
|
18 |
+
"decoder_layerdrop": 0.0,
|
19 |
+
"decoder_layers": 1,
|
20 |
+
"decoder_start_token_id": 2,
|
21 |
+
"dropout": 0.1,
|
22 |
+
"encoder_attention_heads": 16,
|
23 |
+
"encoder_ffn_dim": 4096,
|
24 |
+
"encoder_layerdrop": 0.0,
|
25 |
+
"encoder_layers": 12,
|
26 |
+
"eos_token_id": 2,
|
27 |
+
"extra_pos_embeddings": 2,
|
28 |
+
"finetuning_task": "mnli",
|
29 |
+
"force_bos_token_to_be_generated": false,
|
30 |
+
"forced_eos_token_id": 2,
|
31 |
+
"gradient_checkpointing": false,
|
32 |
+
"id2label": {
|
33 |
+
"0": "contradiction",
|
34 |
+
"1": "neutral",
|
35 |
+
"2": "entailment"
|
36 |
+
},
|
37 |
+
"init_std": 0.02,
|
38 |
+
"is_encoder_decoder": true,
|
39 |
+
"label2id": {
|
40 |
+
"contradiction": 0,
|
41 |
+
"entailment": 2,
|
42 |
+
"neutral": 1
|
43 |
+
},
|
44 |
+
"max_position_embeddings": 1024,
|
45 |
+
"model_type": "bart",
|
46 |
+
"normalize_before": false,
|
47 |
+
"normalize_embedding": true,
|
48 |
+
"num_hidden_layers": 12,
|
49 |
+
"output_past": false,
|
50 |
+
"pad_token_id": 1,
|
51 |
+
"scale_embedding": false,
|
52 |
+
"static_position_embeddings": false,
|
53 |
+
"torch_dtype": "float32",
|
54 |
+
"total_flos": 153130534133111808,
|
55 |
+
"transformers_version": "4.18.0",
|
56 |
+
"use_cache": true,
|
57 |
+
"vocab_size": 50265
|
58 |
+
}
|
zero_shot_clf/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
zero_shot_clf/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:50d631a4c0a88d042d2bff40a1ff20c82559fc6e911a6c637a4f6c0a13364d31
|
3 |
+
size 890395319
|
zero_shot_clf/special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "eos_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "unk_token": {"content": "<unk>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "sep_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "pad_token": {"content": "<pad>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "cls_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true}}
|
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 |
+
{"errors": "replace", "bos_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "eos_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "sep_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "cls_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "unk_token": {"content": "<unk>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "pad_token": {"content": "<pad>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "add_prefix_space": false, "trim_offsets": true, "model_max_length": 1024, "special_tokens_map_file": "C:\\Users\\ashis/.cache\\huggingface\\transformers\\1897a33c6ca1e896797e7f370753103e4fb6980c6371197c5658ff3a8269dc4a.cb2244924ab24d706b02fd7fcedaea4531566537687a539ebb94db511fd122a0", "name_or_path": "valhalla/distilbart-mnli-12-1", "tokenizer_class": "BartTokenizer"}
|
zero_shot_clf/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
zero_shot_clf/vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|