basal-1.5-mini-FP8 / config.json
Remek's picture
basal-1.5-mini-FP8: ModelOpt export (draft, private)
0b9bb2a verified
Raw History Blame Contribute Delete
1.58 kB
{
"architectures": [
"LlamaForCausalLM"
],
"attention_bias": true,
"attention_dropout": 0.0,
"bos_token_id": 1,
"dtype": "bfloat16",
"eos_token_id": [
4,
2
],
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 1536,
"initializer_range": 0.02,
"intermediate_size": 8960,
"max_position_embeddings": 8192,
"mlp_bias": true,
"model_type": "llama",
"num_attention_heads": 12,
"num_hidden_layers": 32,
"num_key_value_heads": 2,
"pad_token_id": 2,
"pretraining_tp": 1,
"rms_norm_eps": 1e-06,
"rope_parameters": {
"rope_theta": 1000000,
"rope_type": "default"
},
"tie_word_embeddings": false,
"transformers_version": "5.14.1",
"use_cache": true,
"vocab_size": 32000,
"quantization_config": {
"config_groups": {
"group_0": {
"input_activations": {
"dynamic": false,
"num_bits": 8,
"type": "float"
},
"weights": {
"dynamic": false,
"num_bits": 8,
"type": "float"
},
"targets": [
"Linear"
]
}
},
"ignore": [
"lm_head",
"model.embed_tokens"
],
"quant_algo": "FP8",
"producer": {
"name": "modelopt",
"version": "0.47.0"
},
"quant_method": "modelopt"
}
}