Comments (3)
Knowledge graph embedding:
- Download dataset from KnowledgeGraphEmbedding.git. This project contain almost dataset we need for KGE.
- Enter directory
train_embeddings
, activate python3 env. run command with some arguments in shell:
python3 main.py \
--dataset FB15k \
--model Rotat3 \
--cuda True
note : create directory kg_embeddings
in EmbedKBQA before trainning.
KBQA:
- Download RoBERTa into
./KGQA
, in case of long downloading cost. - Download
MetaQA
dataset, andWebQuestionSP
dataset. - modify some directory in
./KGQA/main.py
, specify dataset path. - run
./KGQA/main.py
.
BTW, I am not run this command success yet. Since I cost lots of time in downloading RoBERTa.
from embedkgqa.
Hi, thanks for your comments @HTMLgtMK . Some of the instructions you listed might be very useful!
The complete instructions/dataset are yet to be posted. Unfortunately I'm busy with some stuff on my end which is causing this delay. Practically, please expect this to take another week or two to get a properly documented solution for reproducing the results stated in our paper.
The problem is that the current working code/data is not organized properly and needs a bit of refactoring to make it run easily on other machines. The currently uploaded code, however, is the core of it.
I hope this is ok. In any case, if this delay seems unjustified, please do let me know and I'll see what I can do.
I'll be keeping this issue pinned in case anyone else also wants to comment on this.
Thanks!
from embedkgqa.
Added instructions in the README and updated the code, please check @lbda1
from embedkgqa.
Related Issues (20)
- relation in fbwq_full
- relation matching
- MetaQA relation match HOT 1
- About ComplEx score calculation HOT 1
- The MetaQA dataset HOT 2
- Question with "half KG" protocol HOT 2
- How to build your own pruning_ train.txt
- Hello I have some questiones about the code such as what is the meaning of "best_valid" HOT 1
- Do you use the folder "train_embeddings"?
- I have some question in the relation matching
- When I run RoBERTa / main.py, running to ' creating model ' GPU takes up 0 and takes several hours to create the model.
- Is it possible to share the pdf version or ppt version slides
- How to use eval? How can I use pre trained model for QA? HOT 1
- RoBERTa used for question embedding
- Pretrained models missing HOT 1
- How to set up fbwq_full?
- miss files HOT 2
- About dataset
- pretrained_models.zip HOT 7
- No found pretrained_model
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 embedkgqa.