lukeingawesome commited on
Commit
1464742
·
verified ·
1 Parent(s): c036088

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +139 -10
config.json CHANGED
@@ -1,14 +1,143 @@
1
  {
2
- "model_type": "chest2vec",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "architectures": [
4
- "Chest2VecModel"
5
  ],
6
- "auto_map": {
7
- "AutoConfig": "configuration_chest2vec.Chest2VecConfig",
8
- "AutoModel": "modeling_chest2vec.Chest2VecModel"
 
 
 
 
 
9
  },
10
- "base_model": "Qwen/Qwen3-Embedding-4B",
11
- "adapter_subdir": "contrastive",
12
- "require_flash_attention_2": true,
13
- "default_max_len": 512
14
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  {
2
+ "model_type": "chest2vec",
3
+ "architectures": [
4
+ "Chest2VecModel"
5
+ ],
6
+ "auto_map": {
7
+ "AutoConfig": "configuration_chest2vec.Chest2VecConfig",
8
+ "AutoModel": "modeling_chest2vec.Chest2VecModel"
9
+ },
10
+ "base_model": "Qwen/Qwen3-Embedding-4B",
11
+ "encoder_config": {
12
+ "vocab_size": 151665,
13
+ "max_position_embeddings": 40960,
14
+ "hidden_size": 2560,
15
+ "intermediate_size": 9728,
16
+ "num_hidden_layers": 36,
17
+ "num_attention_heads": 32,
18
+ "use_sliding_window": false,
19
+ "sliding_window": null,
20
+ "max_window_layers": 36,
21
+ "num_key_value_heads": 8,
22
+ "head_dim": 128,
23
+ "hidden_act": "silu",
24
+ "initializer_range": 0.02,
25
+ "rms_norm_eps": 1e-06,
26
+ "use_cache": true,
27
+ "rope_theta": 1000000,
28
+ "rope_scaling": null,
29
+ "attention_bias": false,
30
+ "attention_dropout": 0.0,
31
+ "layer_types": [
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
+ "full_attention",
37
+ "full_attention",
38
+ "full_attention",
39
+ "full_attention",
40
+ "full_attention",
41
+ "full_attention",
42
+ "full_attention",
43
+ "full_attention",
44
+ "full_attention",
45
+ "full_attention",
46
+ "full_attention",
47
+ "full_attention",
48
+ "full_attention",
49
+ "full_attention",
50
+ "full_attention",
51
+ "full_attention",
52
+ "full_attention",
53
+ "full_attention",
54
+ "full_attention",
55
+ "full_attention",
56
+ "full_attention",
57
+ "full_attention",
58
+ "full_attention",
59
+ "full_attention",
60
+ "full_attention",
61
+ "full_attention",
62
+ "full_attention",
63
+ "full_attention",
64
+ "full_attention",
65
+ "full_attention",
66
+ "full_attention",
67
+ "full_attention"
68
+ ],
69
+ "return_dict": true,
70
+ "output_hidden_states": false,
71
+ "torchscript": false,
72
+ "dtype": "bfloat16",
73
+ "pruned_heads": {},
74
+ "tie_word_embeddings": true,
75
+ "chunk_size_feed_forward": 0,
76
+ "is_encoder_decoder": false,
77
+ "is_decoder": false,
78
+ "cross_attention_hidden_size": null,
79
+ "add_cross_attention": false,
80
+ "tie_encoder_decoder": false,
81
  "architectures": [
82
+ "Qwen3ForCausalLM"
83
  ],
84
+ "finetuning_task": null,
85
+ "id2label": {
86
+ "0": "LABEL_0",
87
+ "1": "LABEL_1"
88
+ },
89
+ "label2id": {
90
+ "LABEL_0": 0,
91
+ "LABEL_1": 1
92
  },
93
+ "task_specific_params": null,
94
+ "problem_type": null,
95
+ "tokenizer_class": null,
96
+ "prefix": null,
97
+ "bos_token_id": 151643,
98
+ "pad_token_id": null,
99
+ "eos_token_id": 151645,
100
+ "sep_token_id": null,
101
+ "decoder_start_token_id": null,
102
+ "max_length": 20,
103
+ "min_length": 0,
104
+ "do_sample": false,
105
+ "early_stopping": false,
106
+ "num_beams": 1,
107
+ "temperature": 1.0,
108
+ "top_k": 50,
109
+ "top_p": 1.0,
110
+ "typical_p": 1.0,
111
+ "repetition_penalty": 1.0,
112
+ "length_penalty": 1.0,
113
+ "no_repeat_ngram_size": 0,
114
+ "encoder_no_repeat_ngram_size": 0,
115
+ "bad_words_ids": null,
116
+ "num_return_sequences": 1,
117
+ "output_scores": false,
118
+ "return_dict_in_generate": false,
119
+ "forced_bos_token_id": null,
120
+ "forced_eos_token_id": null,
121
+ "remove_invalid_values": false,
122
+ "exponential_decay_length_penalty": null,
123
+ "suppress_tokens": null,
124
+ "begin_suppress_tokens": null,
125
+ "num_beam_groups": 1,
126
+ "diversity_penalty": 0.0,
127
+ "_name_or_path": "Qwen/Qwen3-Embedding-4B",
128
+ "transformers_version": "4.57.3",
129
+ "model_type": "qwen3",
130
+ "tf_legacy_loss": false,
131
+ "use_bfloat16": false,
132
+ "output_attentions": false
133
+ },
134
+ "hidden_size": 2560,
135
+ "default_max_len": 512,
136
+ "pooling": "last_token",
137
+ "attn_implementation": "sdpa",
138
+ "matryoshka_dims": [
139
+ 256,
140
+ 512
141
+ ],
142
+ "torch_dtype": "bfloat16"
143
+ }