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
Input #5
Comments
Thanks for your attention. We use the long one as input. |
Thanks for your response , and could you explain the why we need the steps of "do_train" and "do_eval" for getting a new dev subset? I am not clear with the get_new_dev_dict.py about how it works.Hope for your reply!!! |
The original dev set is the same size as the test set. If we use the original dev set in the validation stage, it will take about one hour (sorry, I forgot the accurate time) for one validation. And there will be many validations during the training stage, which is very time-consuming. |
thanks for your quick reply , do you mean that for the fact (h,r,{t1,t2,...,tn}) , you keep the top-50 t_i which gets the lower score than other entity t_j by Bert(h,r,t_i) < Bert(h,r,t_j) ? |
Sorry, I forgot that the Bert(h,r,t_i) is lower or higher than Bert(h,r,t_j) in the implement. Whatever, Bert(h,r,t_i) is closer than Bert(h,r,t_j) and the "closer " means that the t_i is more likely to be mispredicted by the trained model as a gold entity than other t_j. |
Thanks for your reply! |
Sorry, I forgot the detail. But I used a 24G GPU before, which is enough. |
Thanks for your great work. |
Add "--do_eval" to the training command of StAR. For example, section 4.1 in README. |
according to the code StAR_KGC/StAR/kbc/kb_dataset.py Line 91 in 890dd54
|
It has been written directly in StAR_KGC/StAR/link_prediction/train.py Line 625 in 890dd54
|
it went wrong when reproducing the results of NELL, usepacka was not found |
Sorry for the wrong command. You can just remove the 'usepacka' parameter. It may be a copy mistake in the readme.md writing. I will revise it. |
thanks for your excellent work in KGC filed.
i have not seen the code yet and i am confused about the input . the input text of entity is the short version like "Gary Rydstrom" or the long version like "Gary Roger Rydstrom is an American sound designer and director. He has won seven Academy Awards for his work in sound for movies."?
The text was updated successfully, but these errors were encountered: