I am now interested in Information Extraction, Machine Reading Comprehension, and Knowledge Graph.
schlampig / opennre_for_chinese Goto Github PK
View Code? Open in Web Editor NEWOpenNRE for Chinese open relation extraction task in pytorch
OpenNRE for Chinese open relation extraction task in pytorch
您好,我使用了自己的中文数据集,运行learn.py出现了如下错误:
Calculated padded input size per channel: (122 x 110). Kernel size: (3 x 210). Kernel size can't be greater than actual input size
请问这个问题怎么解决呢?
运行gen_embed_mat.py脚本生成的与训练数据有关的词向量(word_dictionary_nre.json)只能生成英文和数字的,中文的词一个都没有。还有一个问题就是生成json数据时,中文总是乱码。
Traceback (most recent call last):
File "./learn.py", line 42, in
is_training=True)
File "./learn.py", line 29, in learn
con.train()
File "/home/xiachao/workspace/OpenNRE_for_Chinese-master/config.py", line 251, in train
loss = self.train_one_step()
File "/home/xiachao/workspace/OpenNRE_for_Chinese-master/config.py", line 224, in train_one_step
self.acc_not_NA.add(prediction == self.batch_label[i])
TypeError: eq() received an invalid combination of arguments - got (numpy.int64), but expected one of:
How to solve this problem?
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.