Download config.json from hf-internal-testing/tiny-random-Llama-modelopt-fp8-mixed: direct link, hf CLI and curl.
- Browser
- Download file 1.18 kB
-
https://huggingface.co/hf-internal-testing/tiny-random-Llama-modelopt-fp8-mixed/resolve/main/config.json
- Command line
-
hf download hf://hf-internal-testing/tiny-random-Llama-modelopt-fp8-mixed/config.json
-
curl -L -o config.json https://huggingface.co/hf-internal-testing/tiny-random-Llama-modelopt-fp8-mixed/resolve/main/config.json
1.18 kB
| { | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 1, | |
| "dtype": "float32", | |
| "eos_token_id": 2, | |
| "head_dim": 64, | |
| "hidden_act": "silu", | |
| "hidden_size": 256, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 384, | |
| "max_position_embeddings": 2048, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 4, | |
| "num_hidden_layers": 1, | |
| "num_key_value_heads": 2, | |
| "pad_token_id": null, | |
| "pretraining_tp": 1, | |
| "quantization_config": { | |
| "quant_algo": "MIXED_PRECISION", | |
| "quant_method": "modelopt", | |
| "quantized_layers": { | |
| "model.layers.0.mlp.down_proj": { | |
| "quant_algo": "FP8_PB_WO" | |
| }, | |
| "model.layers.0.mlp.gate_proj": { | |
| "quant_algo": "FP8_PB_WO" | |
| }, | |
| "model.layers.0.self_attn.k_proj": { | |
| "quant_algo": "FP8" | |
| }, | |
| "model.layers.0.self_attn.q_proj": { | |
| "quant_algo": "FP8" | |
| } | |
| } | |
| }, | |
| "rms_norm_eps": 1e-06, | |
| "rope_parameters": { | |
| "rope_theta": 10000.0, | |
| "rope_type": "default" | |
| }, | |
| "tie_word_embeddings": false, | |
| "transformers_version": "5.23.0.dev0", | |
| "use_cache": true, | |
| "vocab_size": 64 | |
| } | |