zhengyima / kg-baseline-pytorch Goto Github PK
View Code? Open in Web Editor NEW2019百度的关系抽取比赛,使用Pytorch实现苏神的模型,F1在dev集可达到0.75,联合关系抽取,Joint Relation Extraction.
2019百度的关系抽取比赛,使用Pytorch实现苏神的模型,F1在dev集可达到0.75,联合关系抽取,Joint Relation Extraction.
苏神说他自己发明的标注结构就是那个“半指针半标注”的结构么,我觉得这个很类似于BERT用来做阅读理解的结构呀?不知道哪里理解的不对?谢谢指教!
你好!我执行了你的代码,为何召回率为0呢,而准确率在第一个epoch就为1了
苏神在subject和object的抽取的时候使用的sigmoid,对模型中Linear层输出进行0和1的二分类,并且在预测的时候判定每个位置的概率是否大于0.5,但代码中好像没有对Linear层输出做任何处理,所以在跑的时候f1一直为0,因为在extract_items中根本就没有找到概率大于0.5的值。
请问您是如何处理填充问题的?在rnn单元计算完后,output中有填充的部分,计算attention时如何处理填充呢
感谢,找了很久,终于找到一个有数据集下载的了
他还自己爬数据,自己标注数据...
他真的,我哭死
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.