| { | |
| "architectures": [ | |
| "SmolLM3ForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": null, | |
| "eos_token_id": 128001, | |
| "hidden_act": "silu", | |
| "hidden_size": 2048, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 11008, | |
| "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" | |
| ], | |
| "max_position_embeddings": 65536, | |
| "mlp_bias": false, | |
| "model_type": "smollm3", | |
| "no_rope_layer_interval": 4, | |
| "no_rope_layers": [ | |
| 1, | |
| 1, | |
| 1, | |
| 0, | |
| 1, | |
| 1, | |
| 1, | |
| 0, | |
| 1, | |
| 1, | |
| 1, | |
| 0, | |
| 1, | |
| 1, | |
| 1, | |
| 0, | |
| 1, | |
| 1, | |
| 1, | |
| 0, | |
| 1, | |
| 1, | |
| 1, | |
| 0, | |
| 1, | |
| 1, | |
| 1, | |
| 0, | |
| 1, | |
| 1, | |
| 1, | |
| 0, | |
| 1, | |
| 1, | |
| 1, | |
| 0 | |
| ], | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 36, | |
| "num_key_value_heads": 4, | |
| "pad_token_id": 128004, | |
| "pretraining_tp": 2, | |
| "quantization_config": { | |
| "include_input_output_embeddings": false, | |
| "modules_to_not_convert": null, | |
| "quant_method": "torchao", | |
| "quant_type": { | |
| "default": { | |
| "_data": { | |
| "act_mapping_type": { | |
| "_data": "ASYMMETRIC", | |
| "_type": "MappingType" | |
| }, | |
| "group_size": 32, | |
| "layout": { | |
| "_data": {}, | |
| "_type": "PlainLayout", | |
| "_version": 1 | |
| }, | |
| "mapping_type": { | |
| "_data": "SYMMETRIC", | |
| "_type": "MappingType" | |
| }, | |
| "set_inductor_config": true | |
| }, | |
| "_type": "Int8DynamicActivationInt4WeightConfig", | |
| "_version": 1 | |
| } | |
| }, | |
| "quant_type_kwargs": {}, | |
| "untie_embedding_weights": false | |
| }, | |
| "rms_norm_eps": 1e-06, | |
| "rope_scaling": null, | |
| "rope_theta": 5000000.0, | |
| "sliding_window": null, | |
| "torch_dtype": "bfloat16", | |
| "transformers.js_config": { | |
| "dtype": "q4", | |
| "kv_cache_dtype": { | |
| "fp16": "float16", | |
| "q4f16": "float16" | |
| }, | |
| "use_external_data_format": true | |
| }, | |
| "transformers_version": "4.55.4", | |
| "use_cache": true, | |
| "use_sliding_window": false, | |
| "vocab_size": 128256 | |
| } | |