File size: 973 Bytes
d152c99 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
{
"_name_or_path": "configs/gsa_16M.json",
"architectures": [
"GSAForCausalLM"
],
"attn": null,
"attn_mode": "chunk",
"bos_token_id": 1,
"clamp_max": null,
"clamp_min": null,
"conv_size": 4,
"elementwise_affine": true,
"eos_token_id": 2,
"expand_k": 1,
"expand_v": 1,
"feature_map": "swish",
"fuse_cross_entropy": true,
"fuse_norm": true,
"gate_logit_normalizer": 8,
"hidden_act": "swish",
"hidden_ratio": 4,
"hidden_size": 256,
"initializer_range": 0.02,
"intermediate_size": null,
"max_position_embeddings": 2048,
"model_type": "gsa",
"norm_eps": 1e-06,
"norm_first": true,
"num_heads": 4,
"num_hidden_layers": 10,
"num_kv_heads": null,
"num_slots": 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,
"use_short_conv": false,
"vocab_size": 32000
}
|