Upload handler.py with huggingface_hub
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -8,7 +8,7 @@ class EndpointHandler:
|
|
8 |
self.model = AutoModel.from_pretrained(
|
9 |
path,
|
10 |
trust_remote_code=True,
|
11 |
-
do_syntax=
|
12 |
)
|
13 |
self.model.eval()
|
14 |
|
|
|
8 |
self.model = AutoModel.from_pretrained(
|
9 |
path,
|
10 |
trust_remote_code=True,
|
11 |
+
# do_syntax=True, do_prefix=False, do_morph=False, do_ner=True, do_lex=True
|
12 |
)
|
13 |
self.model.eval()
|
14 |
|