transformers gguf llama text-generation ghost tools chat unsloth conversational vi ko es pt zh fr it de ja ru pl nl hi tr id en base_model:ghost-x/ghost-8b-beta base_model:quantized:ghost-x/ghost-8b-beta license:other autotrain_compatible text-generation-inference endpoints_compatible region:us
{"architectures": ["LlamaForCausalLM"], "model_type": "llama", "tokenizer_config": {"bos_token": "<|bos|>", "chat_template": "{{ bos_token }}{% for message in messages %}\n{% set role = message['role'] %}\n{% if role == 'tools' %}\n{% set role = 'tool:schemas' %}\n{% elif role == 'execute' %}\n{% set role = 'tool:execute' %}\n{% elif role == 'response' %}\n{% set role = 'tool:results' %}\n{% endif %}\n{% set content = message['content'] | trim + '<|cos|>' %}\n{% if role == 'system' %}\n{% set content = '<|role:begin|>system<|role:end|>\n' + content %}\n{% elif role == 'user' %}\n{% set content = '<|role:begin|>user<|role:end|>\n' + content %}\n{% elif role == 'assistant' %}\n{% set content = '<|role:begin|>assistant<|role:end|>\n' + content %}\n{% elif role == 'tool:schemas' %}\n{% set content = '<|role:begin|>tools<|role:end|>\n' + content %}\n{% elif role == 'tool:execute' %}\n{% set content = '<|role:begin|>assistant<|role:end|>\n<|tool:execute|>' + content %}\n{% elif role == 'tool:results' %}\n{% set content = '<|role:begin|>user<|role:end|>\n<|tool:results|>' + content %}\n{% endif %}\n{{ content }}\n{% if loop.last and add_generation_prompt %}\n{{ '<|role:begin|>assistant<|role:end|>' }}\n{% endif %}\n{% endfor %}", "eos_token": "<|eos|>", "pad_token": "<|pad|>", "unk_token": "<|unk|>"}}