Comments (7)
Thanks for your comments. get_triplet function will generate all neighborhood triplets surrounding the entities. The input to this function is the head or tail entity, not an entity-relation pair.
from relphormer.
Would you mind telling me where entity-relation pair information is involved?
from relphormer.
My previous reply might cause some confusion and sorry for that. We sample the triplet based on the entity and then generate the relevant triplets. We are not sampling based on entity-relation pair but generate the final outputs in triple-level. Triple2Seq is the process of converting the original triple to a sequence with surrounding contextual triples.
from relphormer.
Can you add my Wechat so we can have a nice communication?
from relphormer.
OK, no problem.
from relphormer.
communication
I have some questions about triple2Seq. Can I add your Wechat?
from relphormer.
Welcome to discuss
from relphormer.
Related Issues (20)
- What are the main differences between Relphormer and Kgtrransformer HOT 3
- Issue while saving model for Entity Embedding Initialization HOT 4
- BrokenPipe HOT 3
- 链路预测中 HittER 模型在wn18rr数据集上的指标与原文不一致 HOT 6
- conda environment file HOT 2
- triple2seq process HOT 2
- Question about examples. HOT 1
- About entity one-hop generate and fair comparision HOT 5
- 链接预测在FB15k-237数据集上跑出来的MRR比论文中低很多 HOT 8
- 似乎现有的pipeline不能跑通 HOT 3
- 第一步处理完的masked数据中出现了relation中没有的tmethod_of字段 HOT 5
- 请问是不是没有download.sh文件 HOT 4
- requirements.txt文件是空的? HOT 3
- some questions HOT 5
- 关于代码复现与实现中的问题 HOT 10
- 1
- Error: masked_head_neighbor.txt not found - How to reproduce recommendation task HOT 7
- Dependency issues between pytorch-lightning and pyyaml
- 关于数据集 HOT 2
- sonme questions HOT 3
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 relphormer.