Yingxu He
commited on
Commit
•
adc32dd
1
Parent(s):
2b89104
Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -14,7 +14,7 @@ ASSISTANT_SYMBOL = "<||assistant_symbol||>"
|
|
14 |
class EndpointHandler:
|
15 |
def __init__(self, path=""):
|
16 |
# load the model
|
17 |
-
self.pipeline = chatglm_cpp.Pipeline(f"{path}/
|
18 |
|
19 |
def __call__(self, data: Any) -> List[List[Dict[str, float]]]:
|
20 |
inputs = data.pop("inputs", data)
|
|
|
14 |
class EndpointHandler:
|
15 |
def __init__(self, path=""):
|
16 |
# load the model
|
17 |
+
self.pipeline = chatglm_cpp.Pipeline(f"{path}/q8_0_v2.bin")
|
18 |
|
19 |
def __call__(self, data: Any) -> List[List[Dict[str, float]]]:
|
20 |
inputs = data.pop("inputs", data)
|