BerryLM-OS-DFlash2 / config.json
DDSV13's picture itwastony's picture
BerryLM-OS-DFlash2
9ddfc89
Raw History Blame Contribute Delete
1.27 kB
{
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": null,
"eos_token_id": null,
"head_dim": 256,
"hidden_act": "silu",
"hidden_size": 2048,
"initializer_range": 0.02,
"intermediate_size": 6144,
"layer_types": [
"sliding_attention",
"sliding_attention",
"sliding_attention",
"sliding_attention",
"sliding_attention"
],
"max_position_embeddings": 262144,
"max_window_layers": 28,
"model_type": "qwen3",
"num_attention_heads": 16,
"num_hidden_layers": 5,
"num_key_value_heads": 2,
"pad_token_id": null,
"rms_norm_eps": 1e-06,
"rope_parameters": {
"rope_theta": 10000000,
"rope_type": "default"
},
"sliding_window": 2048,
"tie_word_embeddings": false,
"use_cache": true,
"use_sliding_window": true,
"vocab_size": 180224,
"architectures": [
"DFlash2DraftModel"
],
"dtype": "bfloat16",
"is_causal": false,
"num_target_layers": 40,
"transformers_version": "5.16.1",
"dflash_config": {
"block_size": 8,
"mask_token": "<|endoftext|>",
"mask_token_id": 180215,
"target_layer_ids": [
3,
11,
20,
28,
37
],
"conv_kernel_size": 2,
"conv_group_size": 16,
"selector_rank": 256,
"selector_top_k": 16
}
}