Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what's the meaning of trs_train and ps_train? #3

Open
zyksir opened this issue Feb 20, 2019 · 1 comment
Open

what's the meaning of trs_train and ps_train? #3

zyksir opened this issue Feb 20, 2019 · 1 comment

Comments

@zyksir
Copy link

zyksir commented Feb 20, 2019

No description provided.

@wavewangyue
Copy link
Owner

trs_train: embedding vectors of TYPE of entity E(topic entity in the question) and RELATIONS of E, vectors are trained in advance by TransH on a data subset(FB2M) (for a triple (s,r,o) in FB2M, replace s,o with their types, so triple become (Ts, r, To), then train with TransH), data files are big so they are not uploaded

ps_train: relative positions of every word to the topic entity in the question (e.g for question"where is Tom born", "Tom" is topic entity and it's the third word in the squence, so in the file "ps_train", the input of this question would be "-2 -1 0 1")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants