Delete .ipynb_checkpoints
Browse files
.ipynb_checkpoints/config-checkpoint.json
DELETED
@@ -1,158 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"architectures": [
|
3 |
-
"ZeroShotClassifierHF"
|
4 |
-
],
|
5 |
-
"device": "cuda",
|
6 |
-
"embedder_config": {
|
7 |
-
"_attn_implementation_autoset": false,
|
8 |
-
"_name_or_path": "deepvk/USER2-base",
|
9 |
-
"activation_function": "gelu",
|
10 |
-
"add_cross_attention": false,
|
11 |
-
"allow_embedding_resizing": true,
|
12 |
-
"architectures": [
|
13 |
-
"ModernBertModel"
|
14 |
-
],
|
15 |
-
"attention_bias": false,
|
16 |
-
"attention_dropout": 0.0,
|
17 |
-
"attention_layer": "rope",
|
18 |
-
"attention_probs_dropout_prob": 0.0,
|
19 |
-
"attn_out_bias": false,
|
20 |
-
"attn_out_dropout_prob": 0.1,
|
21 |
-
"attn_qkv_bias": false,
|
22 |
-
"bad_words_ids": null,
|
23 |
-
"begin_suppress_tokens": null,
|
24 |
-
"bert_layer": "prenorm",
|
25 |
-
"bos_token_id": 50281,
|
26 |
-
"chunk_size_feed_forward": 0,
|
27 |
-
"classifier_activation": "gelu",
|
28 |
-
"classifier_bias": false,
|
29 |
-
"classifier_dropout": 0.0,
|
30 |
-
"classifier_pooling": "cls",
|
31 |
-
"cls_token_id": 50281,
|
32 |
-
"compile_model": true,
|
33 |
-
"cross_attention_hidden_size": null,
|
34 |
-
"decoder_bias": true,
|
35 |
-
"decoder_start_token_id": null,
|
36 |
-
"deterministic_flash_attn": false,
|
37 |
-
"diversity_penalty": 0.0,
|
38 |
-
"do_sample": false,
|
39 |
-
"early_stopping": false,
|
40 |
-
"embed_dropout_prob": 0.0,
|
41 |
-
"embed_norm": true,
|
42 |
-
"embedding_dropout": 0.0,
|
43 |
-
"embedding_layer": "sans_pos",
|
44 |
-
"encoder_no_repeat_ngram_size": 0,
|
45 |
-
"eos_token_id": 50282,
|
46 |
-
"exponential_decay_length_penalty": null,
|
47 |
-
"final_norm": true,
|
48 |
-
"finetuning_task": null,
|
49 |
-
"forced_bos_token_id": null,
|
50 |
-
"forced_eos_token_id": null,
|
51 |
-
"global_attn_every_n_layers": 3,
|
52 |
-
"global_rope_theta": 160000.0,
|
53 |
-
"head_pred_act": "gelu",
|
54 |
-
"hidden_act": "gelu",
|
55 |
-
"hidden_activation": "gelu",
|
56 |
-
"hidden_dropout_prob": 0.0,
|
57 |
-
"hidden_size": 768,
|
58 |
-
"id2label": {
|
59 |
-
"0": "LABEL_0",
|
60 |
-
"1": "LABEL_1"
|
61 |
-
},
|
62 |
-
"init_method": "full_megatron",
|
63 |
-
"initializer_cutoff_factor": 2.0,
|
64 |
-
"initializer_range": 0.02,
|
65 |
-
"intermediate_size": 1152,
|
66 |
-
"is_decoder": false,
|
67 |
-
"is_encoder_decoder": false,
|
68 |
-
"label2id": {
|
69 |
-
"LABEL_0": 0,
|
70 |
-
"LABEL_1": 1
|
71 |
-
},
|
72 |
-
"layer_norm_eps": 1e-05,
|
73 |
-
"length_penalty": 1.0,
|
74 |
-
"local_attention": 128,
|
75 |
-
"local_attn_rotary_emb_base": 10000.0,
|
76 |
-
"local_rope_theta": 10000.0,
|
77 |
-
"loss_function": "fa_cross_entropy",
|
78 |
-
"loss_kwargs": {
|
79 |
-
"reduction": "mean"
|
80 |
-
},
|
81 |
-
"masked_prediction": true,
|
82 |
-
"max_length": 20,
|
83 |
-
"max_position_embeddings": 8192,
|
84 |
-
"min_length": 0,
|
85 |
-
"mlp_bias": false,
|
86 |
-
"mlp_dropout": 0.0,
|
87 |
-
"mlp_dropout_prob": 0.0,
|
88 |
-
"mlp_in_bias": false,
|
89 |
-
"mlp_layer": "glu",
|
90 |
-
"mlp_out_bias": false,
|
91 |
-
"model_type": "modernbert",
|
92 |
-
"no_repeat_ngram_size": 0,
|
93 |
-
"norm_bias": false,
|
94 |
-
"norm_eps": 1e-05,
|
95 |
-
"norm_kwargs": {
|
96 |
-
"bias": false,
|
97 |
-
"eps": 1e-05
|
98 |
-
},
|
99 |
-
"normalization": "layernorm",
|
100 |
-
"num_attention_heads": 12,
|
101 |
-
"num_beam_groups": 1,
|
102 |
-
"num_beams": 1,
|
103 |
-
"num_hidden_layers": 22,
|
104 |
-
"num_return_sequences": 1,
|
105 |
-
"output_attentions": false,
|
106 |
-
"output_hidden_states": false,
|
107 |
-
"output_scores": false,
|
108 |
-
"pad_token_id": 50283,
|
109 |
-
"padding": "unpadded",
|
110 |
-
"prefix": null,
|
111 |
-
"problem_type": null,
|
112 |
-
"pruned_heads": {},
|
113 |
-
"reference_compile": null,
|
114 |
-
"remove_invalid_values": false,
|
115 |
-
"repad_logits_with_grad": false,
|
116 |
-
"repetition_penalty": 1.0,
|
117 |
-
"return_dict": true,
|
118 |
-
"return_dict_in_generate": false,
|
119 |
-
"rotary_emb_base": 160000.0,
|
120 |
-
"rotary_emb_dim": null,
|
121 |
-
"rotary_emb_interleaved": false,
|
122 |
-
"rotary_emb_scale_base": null,
|
123 |
-
"sep_token_id": 50282,
|
124 |
-
"skip_first_prenorm": true,
|
125 |
-
"sliding_window": 128,
|
126 |
-
"sparse_pred_ignore_index": -100,
|
127 |
-
"sparse_prediction": false,
|
128 |
-
"suppress_tokens": null,
|
129 |
-
"task_specific_params": null,
|
130 |
-
"temperature": 1.0,
|
131 |
-
"tf_legacy_loss": false,
|
132 |
-
"tie_encoder_decoder": false,
|
133 |
-
"tie_word_embeddings": true,
|
134 |
-
"tokenizer_class": null,
|
135 |
-
"top_k": 50,
|
136 |
-
"top_p": 1.0,
|
137 |
-
"torch_dtype": "float32",
|
138 |
-
"torchscript": false,
|
139 |
-
"typical_p": 1.0,
|
140 |
-
"unpad_embeddings": true,
|
141 |
-
"use_bfloat16": false,
|
142 |
-
"vocab_size": 50368
|
143 |
-
},
|
144 |
-
"embedder_name": "deepvk/USER2-base",
|
145 |
-
"ffn_classes_dropout": 0.4,
|
146 |
-
"ffn_dim": 2048,
|
147 |
-
"ffn_text_dropout": 0.4,
|
148 |
-
"hidden_size": 768,
|
149 |
-
"loss_args": {
|
150 |
-
"loss_type": "bce"
|
151 |
-
},
|
152 |
-
"model_type": "GeRaCl",
|
153 |
-
"pooling_type": "mean",
|
154 |
-
"tokenizer_len": 50370,
|
155 |
-
"torch_dtype": "float32",
|
156 |
-
"transformers_version": "4.48.2",
|
157 |
-
"unfreeze_embedder": true
|
158 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|