phi-2-q4f16_0-MLC / mlc-chat-config.json
cik009's picture
Upload 58 files
f6f941b verified
{
"model_type": "phi",
"quantization": "q4f16_0",
"model_config": {
"vocab_size": 51200,
"hidden_size": 2560,
"intermediate_size": 10240,
"num_hidden_layers": 32,
"num_attention_heads": 32,
"layer_norm_eps": 1e-05,
"position_embedding_base": 10000.0,
"partial_rotary_factor": 0.4,
"num_key_value_heads": 32,
"context_window_size": 2048,
"prefill_chunk_size": 2048,
"head_dim": 80,
"tensor_parallel_shards": 1
},
"vocab_size": 51200,
"context_window_size": 2048,
"sliding_window_size": -1,
"prefill_chunk_size": 2048,
"attention_sink_size": -1,
"tensor_parallel_shards": 1,
"mean_gen_len": 128,
"max_gen_len": 512,
"shift_fill_factor": 0.3,
"temperature": 0.7,
"presence_penalty": 0.0,
"frequency_penalty": 0.0,
"repetition_penalty": 1.0,
"top_p": 0.95,
"conv_template": "phi-2",
"pad_token_id": 0,
"bos_token_id": 50256,
"eos_token_id": 50256,
"tokenizer_files": [
"tokenizer.json",
"vocab.json",
"merges.txt",
"added_tokens.json",
"tokenizer_config.json"
],
"version": "0.1.0"
}