opt-125m-with-ipex-xpu / config.json
zx-modelcloud's picture
Upload 8 files
79cce4c verified
{
"_attn_implementation_autoset": true,
"_name_or_path": "opt-125m",
"_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": 3072,
"hidden_size": 768,
"init_std": 0.02,
"layer_norm_elementwise_affine": true,
"layerdrop": 0.0,
"max_position_embeddings": 2048,
"model_type": "opt",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 1,
"prefix": "</s>",
"quantization_config": {
"bits": 4,
"checkpoint_format": "ipex",
"desc_act": true,
"dynamic": null,
"group_size": 128,
"lm_head": false,
"meta": {
"damp_auto_increment": 0.0025,
"damp_percent": 0.01,
"mse": 0.0,
"quantizer": [
"gptqmodel:1.4.4-dev"
],
"static_groups": false,
"true_sequential": true,
"uri": "https://github.com/modelcloud/gptqmodel"
},
"quant_method": "gptq",
"sym": true
},
"torch_dtype": "float16",
"transformers_version": "4.47.1",
"use_cache": true,
"vocab_size": 50272,
"word_embed_proj_dim": 768
}