Hiveurban commited on
Commit
a76b97c
·
verified ·
1 Parent(s): b5472ea

Upload handler.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. 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=False, do_prefix=False, do_morph=False, do_ner=True, do_lex=True
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