peft safetensors gguf stablelm arxiv:1910.09700 base_model:stabilityai/stablelm-2-1_6b-chat base_model:adapter:stabilityai/stablelm-2-1_6b-chat region:us
{"architectures": ["StableLmForCausalLM"], "model_type": "stablelm", "tokenizer_config": {"bos_token": "<|endoftext|>", "chat_template": "{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = 'You are a helpful assistant.' %}{% endif %}{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in loop_messages %}{% if loop.index0 == 0 %}{{'<|im_start|>system\n' + system_message + '<|im_end|>\n'}}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}", "eos_token": "<|endoftext|>", "pad_token": "<|endoftext|>", "unk_token": "<|endoftext|>"}, "peft": {"base_model_name_or_path": "stabilityai/stablelm-2-1_6b-chat", "task_type": "CAUSAL_LM"}}