| { |
| "architectures": [ |
| "OuroForCausalLM" |
| ], |
| "attention_dropout": 0.0, |
| "auto_map": { |
| "AutoConfig": "configuration_ouro.OuroConfig", |
| "AutoModel": "modeling_ouro.OuroModel", |
| "AutoModelForCausalLM": "modeling_ouro.OuroForCausalLM" |
| }, |
| "bos_token_id": 1, |
| "early_exit_threshold": 1.0, |
| "eos_token_id": 2, |
| "head_dim": 128, |
| "hidden_act": "silu", |
| "hidden_size": 2048, |
| "initializer_range": 0.02, |
| "intermediate_size": 5632, |
| "layer_types": [ |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention" |
| ], |
| "max_position_embeddings": 65536, |
| "max_window_layers": 48, |
| "model_type": "ouro", |
| "num_attention_heads": 16, |
| "num_hidden_layers": 48, |
| "num_key_value_heads": 16, |
| "quantization": { |
| "group_size": 64, |
| "bits": 4, |
| "mode": "affine", |
| "model.early_exit_gate": { |
| "group_size": 64, |
| "bits": 8 |
| } |
| }, |
| "quantization_config": { |
| "group_size": 64, |
| "bits": 4, |
| "mode": "affine", |
| "model.early_exit_gate": { |
| "group_size": 64, |
| "bits": 8 |
| } |
| }, |
| "rms_norm_eps": 1e-06, |
| "rope_scaling": null, |
| "rope_theta": 1000000.0, |
| "sliding_window": null, |
| "tie_word_embeddings": false, |
| "torch_dtype": "bfloat16", |
| "total_ut_steps": 4, |
| "transformers_version": "4.55.0", |
| "use_cache": true, |
| "use_sliding_window": false, |
| "vocab_size": 49152 |
| } |