Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags: [chat-format, gguf, llama-cpp, dispatchai]
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# Chat Format Reference
|
| 7 |
+
|
| 8 |
+
Correct chat formats for dispatchAI GGUF models. Use with llama-cpp-python's `chat_format` parameter.
|
| 9 |
+
|
| 10 |
+
## Usage
|
| 11 |
+
|
| 12 |
+
```python
|
| 13 |
+
from llama_cpp import Llama
|
| 14 |
+
llm = Llama(model_path='model.gguf', chat_format='llama-3') # For SmolLM2/Llama-3.2
|
| 15 |
+
```
|
| 16 |
+
|
| 17 |
+
🚀 [dispatchAI](https://huggingface.co/dispatchAI)
|