Qwen-7B-Chat-q4f16_1-MLC / mlc-chat-config.json
riczhou's picture
Upload folder using huggingface_hub
f34bc4d verified
raw
history blame
1.04 kB
{
"model_type": "qwen",
"quantization": "q4f16_1",
"model_config": {
"vocab_size": 151936,
"hidden_size": 4096,
"num_hidden_layers": 32,
"num_attention_heads": 32,
"layer_norm_epsilon": 1e-06,
"scale_attn_weights": true,
"kv_channels": 128,
"rotary_emb_base": 10000,
"intermediate_size": 22016,
"context_window_size": 4096,
"prefill_chunk_size": 4096,
"tensor_parallel_shards": 1
},
"vocab_size": 151936,
"context_window_size": 4096,
"sliding_window_size": -1,
"prefill_chunk_size": 4096,
"attention_sink_size": -1,
"tensor_parallel_shards": 1,
"max_batch_size": 80,
"mean_gen_len": 128,
"max_gen_len": 512,
"shift_fill_factor": 0.3,
"temperature": 0.7,
"repetition_penalty": 1.1,
"top_p": 0.8,
"conv_template": "chatml",
"pad_token_id": 151643,
"bos_token_id": 1,
"eos_token_id": 151643,
"tokenizer_files": [
"tokenizer.json",
"vocab.json",
"merges.txt",
"added_tokens.json",
"tokenizer_config.json"
],
"version": "0.1.0"
}