原文:https://zhuanlan.zhihu.com/p/388854673
代码解读
基于torch实现
- model:https://github.com/Decem-Y/sohu_text_matching_Rank2/blob/main/%E5%86%B3%E8%B5%9B%E6%8F%90%E4%BA%A4/sohu_matching/src/model.py
- 多个模型,包括bert,nezha,两个句子分开encode,coattention模型
- data:https://github.com/Decem-Y/sohu_text_matching_Rank2/blob/main/%E5%86%B3%E8%B5%9B%E6%8F%90%E4%BA%A4/sohu_matching/src/data.py
- 包括基础的多个句子一起输出,分开输出,添加type的代码