nishiwen1214/SuperGLUE-bert4keras

WSC中的loaddata部分貌似有错

Opened this issue · 1 comments

我跑了下,WSC中的loaddata貌似是不对的,用了两个句子如下:
{'text': 'The lawyer asked the witness a question, but he was reluctant to repeat it.', 'target': {'span2_index': 8, 'span1_index': 0, 'span1_text': 'the lawyer', 'span2_text': 'he'}, 'idx': 23, 'label': True}
|The lawyer|[er] asked the witness a question, but he was reluctant to repeat it.

{'text': 'Joan made sure to thank Susan for all the help she had given.', 'target': {'span2_index': 10, 'span1_index': 5, 'span1_text': 'Susan', 'span2_text': 'she'}, 'idx': 20, 'label': True}
Joan |made |[sur]e to thank Susan for all the help she had given.

谢谢,这里确实有问题,我把英文当成中文在处理了,loaddata已修改如下:
image