bxshi / proje Goto Github PK
View Code? Open in Web Editor NEWEmbedding Projection for Knowledge Graph Completion
License: MIT License
Embedding Projection for Knowledge Graph Completion
License: MIT License
Hi, which function is for generating negative samples?
Hi, it's me again :)
I wonder what's the purpose of rescale in the sampled_softmax
function?
Hi Baoxu,
I was wondering whether you could provide a script to reproduce relation prediction results provided in the paper.
Cheers,
Hi,
Which version of tensorflow and python is used in the project?
Thanks.
How can pre-trained entity embeddings be used as initialized embeddings rather than sampling from uniform distribution (as stated in the paper)?
I was wondering what the specs of the machine were when you ran this test. I was unable to complete the test (following the instructions exactly) because at about a quarter of the way through, my entire machine froze. This could be due to the fact that I am running a virtual machine, but I gave it over 11 GB of memory and 4 processors.
Thank you.
hi, @bxshi, in your paper, you said
Therefore, compared to simple models like TransE, ProjE only increases the number of parameters by 5k + 1, where 1, 4k, and k are introduced as the projection bias, combination weights, and combination bias respectively
but the combination weights De and Dr both are k*k diagonal matrices, each of them should have k parameters so that there would be 2k, why 4k in your paper?
Hi! I read "ProjE: Embedding Projection for Knowledge Graph Completion" and i want to result about relationship prediction task. but i think It does not seem to exist in this code about testing relationship prediction task. How can i training and evaluating that task?
Hi bxshi,
In gen_ht_r, it seems that you use both the validation set and test set to generate ht_r
and tr_h
. When I change it to use only the training set to generate ht_r
and tr_h
(I run ProjE_softmax.py as you recommended in the README file), filtered mean rank and hits@10 only reaches 74.3 and 0.675 after 12 iters, but according to the appendix in your AAAI paper, the model should yield filtered hits@10 over 0.8 around 12 iters.
I think the validation_data
method should yields self.__valid_triple
, but in ProjE_softmax.py it yields self.__test_triple
, why?
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.