roberta-base-q0f32-MLC / mlc-chat-config.json
jykim310's picture
repo init
b85fe2e verified
{
"model_type": "roberta",
"quantization": "q0f32",
"model_config": {
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"eos_token_id": 2,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"initializer_range": 0.02,
"intermediate_size": 3072,
"layer_norm_eps": 1e-05,
"max_position_embeddings": 514,
"model_type": "roberta",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 1,
"type_vocab_size": 1,
"vocab_size": 50265,
"num_labels": 2,
"classifier_dropout": null,
"chunk_size_feed_forward": 0,
"is_decoder": false,
"add_cross_attention": false,
"use_return_dict": false,
"context_window_size": 768,
"prefill_chunk_size": 0,
"max_batch_size": 80,
"tensor_parallel_shards": 1,
"dtype": "float32"
},
"vocab_size": 50265,
"context_window_size": 768,
"sliding_window_size": -1,
"prefill_chunk_size": 0,
"attention_sink_size": -1,
"tensor_parallel_shards": 1,
"mean_gen_len": 128,
"max_gen_len": 512,
"shift_fill_factor": 0.3,
"temperature": 0,
"presence_penalty": 0.0,
"frequency_penalty": 0.0,
"repetition_penalty": 1.0,
"top_p": 0.95,
"conv_template": {
"name": "roberta",
"system_template": "{system_message}",
"system_message": "",
"add_role_after_system_message": true,
"roles": {
"user": "",
"assistant": ""
},
"role_templates": {
"user": "{user_message}",
"assistant": "{assistant_message}",
"tool": "{tool_message}"
},
"messages": [],
"seps": [
"</s>"
],
"role_content_sep": "",
"role_empty_sep": "",
"stop_str": [],
"stop_token_ids": [
2
],
"function_string": "",
"use_function_calling": false,
"image_token_index": -1
},
"pad_token_id": 1,
"bos_token_id": 0,
"eos_token_id": 2,
"tokenizer_files": [
"vocab.json",
"merges.txt",
"tokenizer_config.json"
],
"version": "0.1.0"
}