|
{ |
|
"_block_types": [ |
|
"recurrent", |
|
"recurrent", |
|
"attention" |
|
], |
|
"_name_or_path": "recurrentgemma-2b", |
|
"architectures": [ |
|
"RecurrentGemmaForCausalLM" |
|
], |
|
"attention_bias": false, |
|
"attention_dropout": 0.0, |
|
"attention_window_size": 2048, |
|
"block_types": [ |
|
"recurrent", |
|
"recurrent", |
|
"attention" |
|
], |
|
"bos_token_id": 2, |
|
"conv1d_width": 4, |
|
"embeddings_scale_by_sqrt_dim": true, |
|
"eos_token_id": 1, |
|
"final_w_init_variance_scale": 0.07692307692307693, |
|
"head_dim": 256, |
|
"hidden_activation": "gelu_pytorch_tanh", |
|
"hidden_size": 2560, |
|
"intermediate_size": 15360, |
|
"logits_soft_cap": 30.0, |
|
"lru_width": 2560, |
|
"model_type": "recurrent_gemma", |
|
"num_attention_heads": 10, |
|
"num_hidden_layers": 26, |
|
"num_key_value_heads": 1, |
|
"pad_token_id": 0, |
|
"partial_rotary_factor": 0.5, |
|
"quantization_config": { |
|
"_load_in_4bit": false, |
|
"_load_in_8bit": true, |
|
"bnb_4bit_compute_dtype": "float32", |
|
"bnb_4bit_quant_storage": "uint8", |
|
"bnb_4bit_quant_type": "fp4", |
|
"bnb_4bit_use_double_quant": false, |
|
"llm_int8_enable_fp32_cpu_offload": false, |
|
"llm_int8_has_fp16_weight": false, |
|
"llm_int8_skip_modules": null, |
|
"llm_int8_threshold": 6.0, |
|
"load_in_4bit": false, |
|
"load_in_8bit": true, |
|
"quant_method": "bitsandbytes" |
|
}, |
|
"rms_norm_eps": 1e-06, |
|
"rope_theta": 10000.0, |
|
"torch_dtype": "float16", |
|
"transformers_version": "4.40.2", |
|
"use_cache": true, |
|
"vocab_size": 256000, |
|
"w_init_variance_scale": 0.01 |
|
} |
|
|