Comments (11)
同问
from kb2e.
同问。如果是top 500 entity pairs in entity prediction的话,对每个entity的预测都不止500个
from kb2e.
作用是通过TransE的score为每一个(e1, r, ?)或者(?, r, e2)的 pair 选择出top-500的candidate entity.
from kb2e.
但是从文件内容来看,好像并不只是被当做头预测的500个和被当做尾预测的500个加起来共1000个?比如在e1_e2.txt文件中,前1048行都是预测id为0的这个实体?
from kb2e.
也就是说文件每一行由空格分割的两个数字分别表示什么呢?非常感谢!
from kb2e.
相关代码是什么
from kb2e.
同问,如果能share一下得到e1_e2.txt文件的代码就更好了
from kb2e.
e1_e2.txt文件存储的是所有test文件中通过TransE的score预处理出来的entity pair,为了节省空间我们将不同triple的entity pair进行了合并。具体代码在KB2E/PTransE/PTransE_add/Test_TransE_path.cpp:
line258-259,302-303,360-361,445-447.
from kb2e.
你好,按着论文中描述来说这个文件是包含测试集对应的e1_e2对就可以了吗,还是必须包含所有实体的
from kb2e.
需要包含测试集中通过TransE处理出来的top500的entity pair.
from kb2e.
您好,根据您所说的,我理解的是通过Test_TransE_path.cpp生成e1_e2.txt文件,可是执行PCRA.py时就需要读入e1_e2.txt文件,所以请问e1_e2.txt文件到底是什么时候生成的呢?(代码执行顺序应该是PCRA.py->Train_TransE_path.cpp->Test_TransE_path.cpp吧?)
from kb2e.
Related Issues (20)
- 怎么评价得到的vector呢?
- 利用pcra抽取4跳路径时,出现memory error ?
- The testing command HOT 3
- result使用
- 关于Test_TransE.cpp HOT 2
- What are the urls in FB40k.txt ?
- 你好,想问关于实验结果的问题
- Obtaining PTransE-specific dataset HOT 3
- 实在看不懂这个函数,有没有人帮帮我。。。
- 实在看不懂TransR中第二个norm函数(对向量和矩阵的乘积进行归一化),怎么跟直接对向量进行归一化不一样呢,反倒是有些步骤和梯度下降差不多,有没有人帮我解惑一下,卡在这里很久了。。。
- How to generate e1_e2.txt? HOT 3
- The generated file "entity2vec.bern" or "relation2vec.bern" are empty when i use TransE
- PTransE的train-pca.txt和confidence.txt HOT 1
- left right分别代表的是什么? HOT 1
- Train_TransE 训练样本量过大会导致 Segmentation fault,怎么解决? HOT 2
- TransE reaches 0-error for Wikidata_300K HOT 1
- 找人一起研究pTranse论文 HOT 1
- confidence.txt
- 请问没有pytorch版本的吗 HOT 1
- Is okay to remove the re-rank operation?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kb2e.