stephaniewyt / rdgcn Goto Github PK
View Code? Open in Web Editor NEWSource code and datasets for IJCAI 2019 paper: Relation-Aware Entity Alignment for Heterogeneous Knowledge Graphs.
Source code and datasets for IJCAI 2019 paper: Relation-Aware Entity Alignment for Heterogeneous Knowledge Graphs.
Datasets can not be downloaded, is there any other download link?
Caused by op 'gradients/concat', defined at:
File "main.py", line 34, in
Config.epochs, train, e, Config.k, test)
File ".\include\Model.py", line 275, in training
train_step = tf.train.AdamOptimizer(learning_rate).minimize(loss)
Dear author, thanks for your great work!
I would like to know how the initial vector X_q^{e_init} is obtained from the entity name in equation (8). I just found in the code that it is obtained by reading the file "fr_vectorList.json" directly, but how to generate this file?
您好,请问该论文代码有实现pytorch版本吗?
请问一下为什么运行后只有嵌入指标hits@,没有实体对齐的结果文件。
Hi,
Thanks for sharing your code.
I tried to conduct ablation studies that only uses the structure information. I made some modifications on the following function.
Lines 187 to 195 in d60ab1a
After modification, the entity embedding are not initialized from pretrained word embeddings. Instead, they are randomly initialized. However, ramdom initialization leads to significant decrement of the performance.
def get_input_layer(e, dimension, lang):
print('adding the primal input layer...')
with open(file='data/' + lang + '_en/' + lang + '_vectorList.json', mode='r', encoding='utf-8') as f:
embedding_list = json.load(f)
print(len(embedding_list), 'rows,', len(embedding_list[0]), 'columns.')
input_embeddings = tf.convert_to_tensor(embedding_list)
# ent_embeddings = tf.Variable(input_embeddings)
ent_embeddings = tf.Variable(tf.random.uniform(shape=tf.shape(input_embeddings)))
return tf.nn.l2_normalize(ent_embeddings, 1)
On JA_EN dataset, H@1 only reaches 0.53% after 150/600 epochs. Did I miss something? I would be grateful if you could reply to this issue.
Thanks and regrads,
出现了以下问题,请问您在运行代码时有这个问题吗?
Process finished with exit code -1073740791 (0xC0000409)
对glove.840B.300d进行了什么操作构造了实体表示。
The idea of the article is great!
I understand the paper but I have a problem when I refer to the source code.Main.py 140 lines
what is logits = f_1 + tf.transpose(f_2)
mean?
A very nice work!
I replaced the initialization method with the random initialization and found that RDGCN failed to achieve promising performance, So I want to know what's the effect of the translated name embeddings?
Thanks!
We use your way to use google translate the Japanese into english and inferences the embedding with the GloVe. However, we used those embedding as the input for RDGCN and didn't get the same result as you proposed in the paper.
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.