GithubHelp home page GithubHelp logo

thunlp / dkrl Goto Github PK

View Code? Open in Web Editor NEW
54.0 7.0 17.0 13.56 MB

Representation Learning of Knowledge Graphs with Entity Descriptions (AAAI-2016)

License: MIT License

C++ 99.46% Makefile 0.54%
knowledge-embedding

dkrl's People

Contributors

xrb92 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

dkrl's Issues

Missing word_vector_50 file

Where can i find the file located at
line 190
string n_w_string = "../../../word2vec-41/word_vector_" + ss.str() + ".txt";

about the parameters

hello,I feel so sorry to disturb you.
I used the optimal parameters provided by the paper,but it performed worse than the paper,which makes me feel so confused.
Always look forward to your reply.Thanks so much.

entity2type.txt

Hi,

Thanks for your work! I'm wondering how to generate entity type information in entity2type.txt? Thank you.

Missing relation2id.txt and word2id.txt

In Train_cnn_multi.cpp, prepare() requries file relation2id.txt and word2id.txt.
985 FILE* f2 = fopen("../data/relation2id.txt","r");
986 FILE* f3 = fopen("../data/word2id.txt","r");
Seems that you've preprocessed fb15k and I didn't find them in your data.rar. Would you please provide them?

make报错

在运行DKRL的代码的时候,make报错
g++ Train_cnn_multi.cpp -o Train_cnn_multi -O2 -lpthread
Train_cnn_multi.cpp: 在函数‘void run(int, int, int, double, double, int)’中:
Train_cnn_multi.cpp:296:12: 警告:extended initializer lists only available with -std=c++11 or -std=gnu++11 [默认启用]
mut_mutex =PTHREAD_MUTEX_INITIALIZER;
^
Train_cnn_multi.cpp: 在函数‘void sgd()’中:
Train_cnn_multi.cpp:491:57: 警告:将一个整数转换为大小不同的指针 [-Wint-to-pointer-cast]
pthread_create(&threads[k], NULL, rand_sel, (void *)k); //train
^
Train_cnn_multi.cpp:499:61: 警告:将一个整数转换为大小不同的指针 [-Wint-to-pointer-cast]
pthread_create(&threads2[k], NULL, update_grad, (void *)k); //update
^
g++ Test_cnn.cpp -o Test_cnn -O2 -lpthread
,请问该如何解决

执行make指令报错

我在把源码下载到电脑上之后执行了make命令,但是现实报错,在test_cnn_multi.cpp的296行。请问是我的g++版本问题吗?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.