Update handler.py
Browse files- handler.py +1 -0
handler.py
CHANGED
|
@@ -16,6 +16,7 @@ class EndpointHandler():
|
|
| 16 |
self.model = Llama.from_pretrained(
|
| 17 |
model_id="njwright92/ComicBot_v.2-gguf", # Use model_id instead of filename for repo reference
|
| 18 |
n_ctx=MAX_TOKENS
|
|
|
|
| 19 |
)
|
| 20 |
print("Model initialization complete.")
|
| 21 |
|
|
|
|
| 16 |
self.model = Llama.from_pretrained(
|
| 17 |
model_id="njwright92/ComicBot_v.2-gguf", # Use model_id instead of filename for repo reference
|
| 18 |
n_ctx=MAX_TOKENS
|
| 19 |
+
chat_format="llama-2"
|
| 20 |
)
|
| 21 |
print("Model initialization complete.")
|
| 22 |
|