| license: apache-2.0 | |
| tags: [chat-format, gguf, llama-cpp, dispatchai] | |
| # Chat Format Reference | |
| Correct chat formats for dispatchAI GGUF models. Use with llama-cpp-python's `chat_format` parameter. | |
| ## Usage | |
| ```python | |
| from llama_cpp import Llama | |
| llm = Llama(model_path='model.gguf', chat_format='llama-3') # For SmolLM2/Llama-3.2 | |
| ``` | |
| 🚀 [dispatchAI](https://huggingface.co/dispatchAI) | |