Spaces:
Runtime error
Runtime error
Commit
·
8f5000f
1
Parent(s):
c6f2bb4
optimized the app
Browse files- zero_shot_clf/config.json +0 -58
- zero_shot_clf/merges.txt +0 -0
- zero_shot_clf/special_tokens_map.json +0 -1
- zero_shot_clf/tokenizer.json +0 -0
- zero_shot_clf/tokenizer_config.json +0 -1
- zero_shot_clf/vocab.json +0 -0
- zero_shot_clf/vocab.txt +0 -0
zero_shot_clf/config.json
DELETED
|
@@ -1,58 +0,0 @@
|
|
| 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
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
zero_shot_clf/special_tokens_map.json
DELETED
|
@@ -1 +0,0 @@
|
|
| 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
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
zero_shot_clf/tokenizer_config.json
DELETED
|
@@ -1 +0,0 @@
|
|
| 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
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
zero_shot_clf/vocab.txt
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|