摘要: 最近在看QA,对dataset不是很了解,所以看了一下pytorch中的squad_convert_example_to_features。 1.squad_convert_example_to_features 以下为pytorch源代码: 其中example数据大致呈现(不完整): def sq 阅读全文
posted @ 2021-10-15 10:50 为红颜 阅读(628) 评论(0) 推荐(0) 编辑