Upload folder using huggingface_hub
Browse files- added_tokens.json +5 -0
- config.json +201 -0
- model.safetensors +3 -0
- special_tokens_map.json +15 -0
- spm.model +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +75 -0
- trainer_state.json +0 -0
added_tokens.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<<LABEL>>": 128001,
|
3 |
+
"<<SEP>>": 128002,
|
4 |
+
"[MASK]": 128000
|
5 |
+
}
|
config.json
ADDED
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architecture_type": "bi-encoder-fused",
|
3 |
+
"architectures": [
|
4 |
+
"GLiClassModel"
|
5 |
+
],
|
6 |
+
"class_token_index": 128001,
|
7 |
+
"contrastive_loss_coef": 0.0,
|
8 |
+
"embed_class_token": true,
|
9 |
+
"encoder_config": {
|
10 |
+
"_attn_implementation_autoset": false,
|
11 |
+
"_name_or_path": "microsoft/deberta-v3-small",
|
12 |
+
"add_cross_attention": false,
|
13 |
+
"architectures": null,
|
14 |
+
"attention_probs_dropout_prob": 0.1,
|
15 |
+
"bad_words_ids": null,
|
16 |
+
"begin_suppress_tokens": null,
|
17 |
+
"bos_token_id": null,
|
18 |
+
"chunk_size_feed_forward": 0,
|
19 |
+
"cross_attention_hidden_size": null,
|
20 |
+
"decoder_start_token_id": null,
|
21 |
+
"diversity_penalty": 0.0,
|
22 |
+
"do_sample": false,
|
23 |
+
"early_stopping": false,
|
24 |
+
"encoder_no_repeat_ngram_size": 0,
|
25 |
+
"eos_token_id": null,
|
26 |
+
"exponential_decay_length_penalty": null,
|
27 |
+
"finetuning_task": null,
|
28 |
+
"forced_bos_token_id": null,
|
29 |
+
"forced_eos_token_id": null,
|
30 |
+
"hidden_act": "gelu",
|
31 |
+
"hidden_dropout_prob": 0.1,
|
32 |
+
"hidden_size": 768,
|
33 |
+
"id2label": {
|
34 |
+
"0": "LABEL_0",
|
35 |
+
"1": "LABEL_1"
|
36 |
+
},
|
37 |
+
"initializer_range": 0.02,
|
38 |
+
"intermediate_size": 3072,
|
39 |
+
"is_decoder": false,
|
40 |
+
"is_encoder_decoder": false,
|
41 |
+
"label2id": {
|
42 |
+
"LABEL_0": 0,
|
43 |
+
"LABEL_1": 1
|
44 |
+
},
|
45 |
+
"layer_norm_eps": 1e-07,
|
46 |
+
"legacy": true,
|
47 |
+
"length_penalty": 1.0,
|
48 |
+
"max_length": 20,
|
49 |
+
"max_position_embeddings": 512,
|
50 |
+
"max_relative_positions": -1,
|
51 |
+
"min_length": 0,
|
52 |
+
"model_type": "deberta-v2",
|
53 |
+
"no_repeat_ngram_size": 0,
|
54 |
+
"norm_rel_ebd": "layer_norm",
|
55 |
+
"num_attention_heads": 12,
|
56 |
+
"num_beam_groups": 1,
|
57 |
+
"num_beams": 1,
|
58 |
+
"num_hidden_layers": 6,
|
59 |
+
"num_return_sequences": 1,
|
60 |
+
"output_attentions": false,
|
61 |
+
"output_hidden_states": false,
|
62 |
+
"output_scores": false,
|
63 |
+
"pad_token_id": 0,
|
64 |
+
"pooler_dropout": 0,
|
65 |
+
"pooler_hidden_act": "gelu",
|
66 |
+
"pooler_hidden_size": 768,
|
67 |
+
"pos_att_type": [
|
68 |
+
"p2c",
|
69 |
+
"c2p"
|
70 |
+
],
|
71 |
+
"position_biased_input": false,
|
72 |
+
"position_buckets": 256,
|
73 |
+
"prefix": null,
|
74 |
+
"problem_type": null,
|
75 |
+
"pruned_heads": {},
|
76 |
+
"relative_attention": true,
|
77 |
+
"remove_invalid_values": false,
|
78 |
+
"repetition_penalty": 1.0,
|
79 |
+
"return_dict": true,
|
80 |
+
"return_dict_in_generate": false,
|
81 |
+
"sep_token_id": null,
|
82 |
+
"share_att_key": true,
|
83 |
+
"suppress_tokens": null,
|
84 |
+
"task_specific_params": null,
|
85 |
+
"temperature": 1.0,
|
86 |
+
"tf_legacy_loss": false,
|
87 |
+
"tie_encoder_decoder": false,
|
88 |
+
"tie_word_embeddings": true,
|
89 |
+
"tokenizer_class": null,
|
90 |
+
"top_k": 50,
|
91 |
+
"top_p": 1.0,
|
92 |
+
"torch_dtype": null,
|
93 |
+
"torchscript": false,
|
94 |
+
"type_vocab_size": 0,
|
95 |
+
"typical_p": 1.0,
|
96 |
+
"use_bfloat16": false,
|
97 |
+
"vocab_size": 128003
|
98 |
+
},
|
99 |
+
"encoder_model_name": "microsoft/deberta-v3-small",
|
100 |
+
"extract_text_features": false,
|
101 |
+
"focal_loss_alpha": -1,
|
102 |
+
"focal_loss_gamma": -1,
|
103 |
+
"hidden_size": 768,
|
104 |
+
"ignore_index": -100,
|
105 |
+
"initializer_range": 0.03,
|
106 |
+
"label_model_config": {
|
107 |
+
"_attn_implementation_autoset": false,
|
108 |
+
"_name_or_path": "BAAI/bge-small-en-v1.5",
|
109 |
+
"add_cross_attention": false,
|
110 |
+
"architectures": [
|
111 |
+
"BertModel"
|
112 |
+
],
|
113 |
+
"attention_probs_dropout_prob": 0.1,
|
114 |
+
"bad_words_ids": null,
|
115 |
+
"begin_suppress_tokens": null,
|
116 |
+
"bos_token_id": null,
|
117 |
+
"chunk_size_feed_forward": 0,
|
118 |
+
"classifier_dropout": null,
|
119 |
+
"cross_attention_hidden_size": null,
|
120 |
+
"decoder_start_token_id": null,
|
121 |
+
"diversity_penalty": 0.0,
|
122 |
+
"do_sample": false,
|
123 |
+
"early_stopping": false,
|
124 |
+
"encoder_no_repeat_ngram_size": 0,
|
125 |
+
"eos_token_id": null,
|
126 |
+
"exponential_decay_length_penalty": null,
|
127 |
+
"finetuning_task": null,
|
128 |
+
"forced_bos_token_id": null,
|
129 |
+
"forced_eos_token_id": null,
|
130 |
+
"hidden_act": "gelu",
|
131 |
+
"hidden_dropout_prob": 0.1,
|
132 |
+
"hidden_size": 384,
|
133 |
+
"id2label": {
|
134 |
+
"0": "LABEL_0"
|
135 |
+
},
|
136 |
+
"initializer_range": 0.02,
|
137 |
+
"intermediate_size": 1536,
|
138 |
+
"is_decoder": false,
|
139 |
+
"is_encoder_decoder": false,
|
140 |
+
"label2id": {
|
141 |
+
"LABEL_0": 0
|
142 |
+
},
|
143 |
+
"layer_norm_eps": 1e-12,
|
144 |
+
"length_penalty": 1.0,
|
145 |
+
"max_length": 20,
|
146 |
+
"max_position_embeddings": 512,
|
147 |
+
"min_length": 0,
|
148 |
+
"model_type": "bert",
|
149 |
+
"no_repeat_ngram_size": 0,
|
150 |
+
"num_attention_heads": 12,
|
151 |
+
"num_beam_groups": 1,
|
152 |
+
"num_beams": 1,
|
153 |
+
"num_hidden_layers": 12,
|
154 |
+
"num_return_sequences": 1,
|
155 |
+
"output_attentions": false,
|
156 |
+
"output_hidden_states": false,
|
157 |
+
"output_scores": false,
|
158 |
+
"pad_token_id": 0,
|
159 |
+
"position_embedding_type": "absolute",
|
160 |
+
"prefix": null,
|
161 |
+
"problem_type": null,
|
162 |
+
"pruned_heads": {},
|
163 |
+
"remove_invalid_values": false,
|
164 |
+
"repetition_penalty": 1.0,
|
165 |
+
"return_dict": true,
|
166 |
+
"return_dict_in_generate": false,
|
167 |
+
"sep_token_id": null,
|
168 |
+
"suppress_tokens": null,
|
169 |
+
"task_specific_params": null,
|
170 |
+
"temperature": 1.0,
|
171 |
+
"tf_legacy_loss": false,
|
172 |
+
"tie_encoder_decoder": false,
|
173 |
+
"tie_word_embeddings": true,
|
174 |
+
"tokenizer_class": null,
|
175 |
+
"top_k": 50,
|
176 |
+
"top_p": 1.0,
|
177 |
+
"torch_dtype": "float32",
|
178 |
+
"torchscript": false,
|
179 |
+
"type_vocab_size": 2,
|
180 |
+
"typical_p": 1.0,
|
181 |
+
"use_bfloat16": false,
|
182 |
+
"use_cache": true,
|
183 |
+
"vocab_size": 30522
|
184 |
+
},
|
185 |
+
"label_model_name": "BAAI/bge-small-en-v1.5",
|
186 |
+
"logit_scale_init_value": 2.6592,
|
187 |
+
"max_num_classes": 25,
|
188 |
+
"model_type": "GLiClass",
|
189 |
+
"normalize_features": false,
|
190 |
+
"pooling_strategy": "first",
|
191 |
+
"problem_type": "multi_label_classification",
|
192 |
+
"projector_hidden_act": "gelu",
|
193 |
+
"prompt_first": true,
|
194 |
+
"scorer_type": "simple",
|
195 |
+
"squeeze_layers": false,
|
196 |
+
"text_token_index": 128002,
|
197 |
+
"torch_dtype": "float32",
|
198 |
+
"transformers_version": "4.48.0.dev0",
|
199 |
+
"use_lstm": false,
|
200 |
+
"vocab_size": 128003
|
201 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f8f6294949707fd5049e1c40cd472ac9b59843df25a123f20cb816c06997c372
|
3 |
+
size 711395228
|
special_tokens_map.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "[CLS]",
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"eos_token": "[SEP]",
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"pad_token": "[PAD]",
|
7 |
+
"sep_token": "[SEP]",
|
8 |
+
"unk_token": {
|
9 |
+
"content": "[UNK]",
|
10 |
+
"lstrip": false,
|
11 |
+
"normalized": true,
|
12 |
+
"rstrip": false,
|
13 |
+
"single_word": false
|
14 |
+
}
|
15 |
+
}
|
spm.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
|
3 |
+
size 2464616
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "[CLS]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "[SEP]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "[UNK]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": true,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"128000": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
},
|
43 |
+
"128001": {
|
44 |
+
"content": "<<LABEL>>",
|
45 |
+
"lstrip": false,
|
46 |
+
"normalized": false,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": true
|
50 |
+
},
|
51 |
+
"128002": {
|
52 |
+
"content": "<<SEP>>",
|
53 |
+
"lstrip": false,
|
54 |
+
"normalized": false,
|
55 |
+
"rstrip": false,
|
56 |
+
"single_word": false,
|
57 |
+
"special": true
|
58 |
+
}
|
59 |
+
},
|
60 |
+
"bos_token": "[CLS]",
|
61 |
+
"clean_up_tokenization_spaces": false,
|
62 |
+
"cls_token": "[CLS]",
|
63 |
+
"do_lower_case": false,
|
64 |
+
"eos_token": "[SEP]",
|
65 |
+
"extra_special_tokens": {},
|
66 |
+
"mask_token": "[MASK]",
|
67 |
+
"model_max_length": 1000000000000000019884624838656,
|
68 |
+
"pad_token": "[PAD]",
|
69 |
+
"sep_token": "[SEP]",
|
70 |
+
"sp_model_kwargs": {},
|
71 |
+
"split_by_punct": false,
|
72 |
+
"tokenizer_class": "DebertaV2Tokenizer",
|
73 |
+
"unk_token": "[UNK]",
|
74 |
+
"vocab_type": "spm"
|
75 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|