Kalaoke commited on
Commit
753da8f
·
1 Parent(s): 9714e19

modify how to get label

Browse files
__pycache__/bert_for_sequence_classification.cpython-37.pyc CHANGED
Binary files a/__pycache__/bert_for_sequence_classification.cpython-37.pyc and b/__pycache__/bert_for_sequence_classification.cpython-37.pyc differ
 
__pycache__/bibert_multitask_classification.cpython-37.pyc CHANGED
Binary files a/__pycache__/bibert_multitask_classification.cpython-37.pyc and b/__pycache__/bibert_multitask_classification.cpython-37.pyc differ
 
__pycache__/handler.cpython-37.pyc CHANGED
Binary files a/__pycache__/handler.cpython-37.pyc and b/__pycache__/handler.cpython-37.pyc differ
 
handler.py CHANGED
@@ -58,8 +58,8 @@ class EndpointHandler():
58
  """
59
 
60
  inputs = data.pop("inputs", data)
61
- lang = data.pop("lang", None)
62
- logger.info("The language of Verbatim is %s.", lang)
63
  if isinstance(inputs, str):
64
  inputs = [inputs]
65
 
 
58
  """
59
 
60
  inputs = data.pop("inputs", data)
61
+ #lang = data.pop("lang", None)
62
+ #logger.info("The language of Verbatim is %s.", lang)
63
  if isinstance(inputs, str):
64
  inputs = [inputs]
65