"...git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "0afe6c3262babda2012074110520fe9d1a3c63c0"
Commit d4614729 authored by Lysandre's avatar Lysandre
Browse files

return for SQuAD [BLACKED]

parent f24a228a
......@@ -133,7 +133,7 @@ def glue_convert_examples_to_features(examples, tokenizer,
if is_tf_available() and is_tf_dataset:
def gen():
for ex in features:
yield ({'input_ids': ex.input_ids,
yield ({'input_ids': ex.input_ids,
'attention_mask': ex.attention_mask,
'token_type_ids': ex.token_type_ids},
ex.label)
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment