quantize_push / config.json
Zangs3011's picture
Upload folder using huggingface_hub
5eb4a31 verified
raw
history blame contribute delete
929 Bytes
{
"_name_or_path": "./quantized_model",
"_remove_final_layer_norm": false,
"activation_dropout": 0.0,
"activation_function": "relu",
"architectures": [
"OPTForCausalLM"
],
"attention_dropout": 0.0,
"bos_token_id": 2,
"do_layer_norm_before": true,
"dropout": 0.1,
"enable_bias": true,
"eos_token_id": 2,
"ffn_dim": 8192,
"hidden_size": 2048,
"init_std": 0.02,
"layer_norm_elementwise_affine": true,
"layerdrop": 0.0,
"max_position_embeddings": 2048,
"model_type": "opt",
"num_attention_heads": 32,
"num_hidden_layers": 24,
"pad_token_id": 1,
"prefix": "</s>",
"quantization_config": {
"bits": 4,
"group_size": 128,
"modules_to_not_convert": null,
"quant_method": "awq",
"version": "gemm",
"zero_point": true
},
"torch_dtype": "float16",
"transformers_version": "4.38.2",
"use_cache": false,
"vocab_size": 50272,
"word_embed_proj_dim": 2048
}