{ | |
"_name_or_path": "configs/scan_16M_8192.json", | |
"architectures": [ | |
"SCANForCausalLM" | |
], | |
"attn": null, | |
"attn_mode": "parallel", | |
"bos_token_id": 1, | |
"clamp_max": null, | |
"clamp_min": null, | |
"elementwise_affine": true, | |
"eos_token_id": 2, | |
"expand_k": 1, | |
"expand_v": 1, | |
"fuse_cross_entropy": true, | |
"fuse_norm": true, | |
"gate_act": "softmax", | |
"gate_logit_normalizer": 8, | |
"hidden_act": "swish", | |
"hidden_ratio": 4, | |
"hidden_size": 256, | |
"initializer_range": 0.02, | |
"intermediate_size": null, | |
"max_position_embeddings": 8192, | |
"model_type": "scan", | |
"norm_eps": 1e-06, | |
"norm_first": true, | |
"num_heads": 4, | |
"num_hidden_layers": 10, | |
"num_kv_heads": null, | |
"state_size": 16, | |
"tie_word_embeddings": true, | |
"torch_dtype": "bfloat16", | |
"transformers_version": "4.47.0", | |
"use_cache": true, | |
"use_gk": true, | |
"use_gv": false, | |
"use_norm": true, | |
"use_output_gate": false, | |
"vocab_size": 32000, | |
"window_size": 128 | |
} | |