Skip to content

Commit

Permalink
2021/9/15 nezha_span
Browse files Browse the repository at this point in the history
  • Loading branch information
louishsu committed Sep 15, 2021
1 parent cadbc56 commit f442600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_span.py
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ def predict(args, model, processor, tokenizer, prefix=""):

MODEL_CLASSES = {
"bert_span": (BertConfigSpanV2, BertSpanV2ForNer, BertTokenizer),
# "nezha_span": (BertConfigSpanV2, NeZhaSpanV2ForNer, BertTokenizer),
"nezha_span": (BertConfigSpanV2, NeZhaSpanV2ForNer, BertTokenizer),
}

def load_dataset(args, processor, tokenizer, data_type='train'):
Expand Down

0 comments on commit f442600

Please sign in to comment.