We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我觉得squadexample这个类里面的这里有些问题吧 for c in self.context_text:
就这里转换位置的时候,因为context_text是个字符串,如果字符串里面没有空格,那么得到的char_to_word_offset里面就全都是0和1.。。这里是不是有一些问题啊?因为我看您在create example的时候并没有进行特殊处理,只是原始的字符串。我运行了一下发现会出现这种问题。谢谢!
The text was updated successfully, but these errors were encountered:
这里不会有问题,因为后面会进行tokenizer.tokenize,从而达到更细粒度的切分
Sorry, something went wrong.
确实感觉有问题,对于中文数据集,_improve_answer_span直接退化成find函数了。
No branches or pull requests
我觉得squadexample这个类里面的这里有些问题吧
for c in self.context_text:
就这里转换位置的时候,因为context_text是个字符串,如果字符串里面没有空格,那么得到的char_to_word_offset里面就全都是0和1.。。这里是不是有一些问题啊?因为我看您在create example的时候并没有进行特殊处理,只是原始的字符串。我运行了一下发现会出现这种问题。谢谢!
The text was updated successfully, but these errors were encountered: