Upload config.json with huggingface_hub
Browse files- config.json +41 -0
config.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"RWKV6Qwen2ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"auto_map": {
|
| 6 |
+
"AutoConfig": "configuration_rwkv6qwen2.RWKV6Qwen2Config",
|
| 7 |
+
"AutoModelForCausalLM": "modeling_rwkv6qwen2.RWKV6Qwen2ForCausalLM"
|
| 8 |
+
},
|
| 9 |
+
"attention_bias": true,
|
| 10 |
+
"attention_dropout": 0.0,
|
| 11 |
+
"attention_output_bias": false,
|
| 12 |
+
"balance_state": true,
|
| 13 |
+
"bos_token_id": 151643,
|
| 14 |
+
"eos_token_id": 151643,
|
| 15 |
+
"gate_rank_type": 1,
|
| 16 |
+
"groupnorm_att": false,
|
| 17 |
+
"hidden_act": "silu",
|
| 18 |
+
"hidden_size": 3584,
|
| 19 |
+
"initializer_range": 0.02,
|
| 20 |
+
"intermediate_size": 18944,
|
| 21 |
+
"lora_rank_decay": 96,
|
| 22 |
+
"lora_rank_tokenshift": 96,
|
| 23 |
+
"lora_rank_gate": 0,
|
| 24 |
+
"max_position_embeddings": 131072,
|
| 25 |
+
"max_window_layers": 28,
|
| 26 |
+
"model_type": "rwkv6qwen2",
|
| 27 |
+
"num_attention_heads": 28,
|
| 28 |
+
"num_hidden_layers": 28,
|
| 29 |
+
"num_key_value_heads": 4,
|
| 30 |
+
"rms_norm_eps": 1e-06,
|
| 31 |
+
"rope_theta": 1000000.0,
|
| 32 |
+
"sliding_window": 131072,
|
| 33 |
+
"tie_word_embeddings": false,
|
| 34 |
+
"torch_dtype": "bfloat16",
|
| 35 |
+
"transformers_version": "4.43.1",
|
| 36 |
+
"use_cache": true,
|
| 37 |
+
"use_rope": false,
|
| 38 |
+
"use_tokenshift": true,
|
| 39 |
+
"use_sliding_window": false,
|
| 40 |
+
"vocab_size": 152064
|
| 41 |
+
}
|