ngocbh commited on
Commit
401b2c5
·
verified ·
1 Parent(s): 42dc7b7

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. config.json +47 -0
  2. trimkv_weights.pth +3 -0
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "architectures": [
4
+ "Qwen3ForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "attn_impl": "rg_attn_flex",
9
+ "base_loss": "fwkl_ntp",
10
+ "base_model": "Qwen/Qwen3-1.7B",
11
+ "bos_token_id": 151643,
12
+ "buffer_size": 128,
13
+ "compress_memory": true,
14
+ "compress_strategy": "alpha",
15
+ "eos_token_id": 151645,
16
+ "head_dim": 128,
17
+ "hidden_act": "silu",
18
+ "hidden_size": 2048,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 6144,
21
+ "logit_block_size": 8192,
22
+ "max_position_embeddings": 40960,
23
+ "max_seq_len": 32768,
24
+ "max_window_layers": 28,
25
+ "memory_size": 512.0,
26
+ "model_type": "qwen3",
27
+ "num_attention_heads": 16,
28
+ "num_hidden_layers": 28,
29
+ "num_key_value_heads": 8,
30
+ "rms_norm_eps": 1e-06,
31
+ "rope_scaling": null,
32
+ "rope_theta": 1000000,
33
+ "skip_layers": 0,
34
+ "sliding_window": null,
35
+ "tie_word_embeddings": true,
36
+ "torch_dtype": "bfloat16",
37
+ "trainable_params": "self_attn.retention_gate",
38
+ "transformers_version": "4.51.0",
39
+ "use_cache": true,
40
+ "use_sliding_window": false,
41
+ "vocab_size": 151936,
42
+ "retention_gate": "rg",
43
+ "retention_gate_bias_init": 8.0,
44
+ "retention_gate_intermediate_size": 512,
45
+ "retention_weight": 1.0,
46
+ "rg_dropout": 0.0
47
+ }
trimkv_weights.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffb68efe4ca4f5705fc01d54dc4f673ebabd3c0f3c93a679ad398e84e39bd614
3
+ size 58995933