|
{ |
|
"model_type": "stablelm", |
|
"quantization": "q4f32_1", |
|
"model_config": { |
|
"vocab_size": 100352, |
|
"hidden_size": 2048, |
|
"num_hidden_layers": 24, |
|
"num_attention_heads": 32, |
|
"num_key_value_heads": 32, |
|
"layer_norm_eps": 1e-05, |
|
"partial_rotary_factor": 0.25, |
|
"rope_theta": 10000, |
|
"intermediate_size": 5632, |
|
"use_qkv_bias": true, |
|
"head_dim": 64, |
|
"context_window_size": 4096, |
|
"prefill_chunk_size": 2048, |
|
"tensor_parallel_shards": 1, |
|
"max_batch_size": 80 |
|
}, |
|
"vocab_size": 100352, |
|
"context_window_size": 4096, |
|
"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": { |
|
"name": "stablelm-2", |
|
"system_template": "{system_message}", |
|
"system_message": "", |
|
"add_role_after_system_message": true, |
|
"roles": { |
|
"user": "<|user|>", |
|
"assistant": "<|assistant|>" |
|
}, |
|
"role_templates": { |
|
"user": "{user_message}", |
|
"assistant": "{assistant_message}", |
|
"tool": "{tool_message}" |
|
}, |
|
"messages": [], |
|
"seps": [ |
|
"<|endoftext|>", |
|
"<|endoftext|>" |
|
], |
|
"role_content_sep": "\n", |
|
"role_empty_sep": "\n", |
|
"stop_str": [ |
|
"<|endoftext|>" |
|
], |
|
"stop_token_ids": [ |
|
100257 |
|
], |
|
"function_string": "", |
|
"use_function_calling": false |
|
}, |
|
"pad_token_id": 0, |
|
"bos_token_id": 100257, |
|
"eos_token_id": 100257, |
|
"tokenizer_files": [ |
|
"tokenizer.json", |
|
"vocab.json", |
|
"merges.txt", |
|
"tokenizer_config.json" |
|
], |
|
"token_table_postproc_method": "byte_level", |
|
"version": "0.1.0" |
|
} |