Fix q-4_k_m, because periods are for losers apparently, let's replace everything with HYPHENS!!!!
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -7,7 +7,7 @@ MAX_TOKENS=8192
|
|
| 7 |
|
| 8 |
class EndpointHandler():
|
| 9 |
def __init__(self, data):
|
| 10 |
-
self.model = Llama.from_pretrained("lmstudio-ai/gemma-2b-it-GGUF", filename="gemma-2b.
|
| 11 |
|
| 12 |
def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
|
| 13 |
args = gem.get_args_or_none(data)
|
|
|
|
| 7 |
|
| 8 |
class EndpointHandler():
|
| 9 |
def __init__(self, data):
|
| 10 |
+
self.model = Llama.from_pretrained("lmstudio-ai/gemma-2b-it-GGUF", filename="gemma-2b-4_k_m.gguf", n_ctx=8192)
|
| 11 |
|
| 12 |
def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
|
| 13 |
args = gem.get_args_or_none(data)
|