glaciohound / lerp Goto Github PK
View Code? Open in Web Editor NEWOfficial Repository for ICLR 2023 Paper: Logical Entity Representation in Knowledge-Graphs for Differentiable Rule Learning
License: MIT License
Official Repository for ICLR 2023 Paper: Logical Entity Representation in Knowledge-Graphs for Differentiable Rule Learning
License: MIT License
经在lerp同级目录中新建了log文件夹。
请问这个报错如何解决呢?是缺少文件吗
Many thanks to the author for such excellent work!
I would like to ask the author whether he has tried the FB15K-237 data set? I was going to experiment with this data set and found that the GPU memory fluctuated greatly when the model was running. Even the 80G A100 could not be fully trained and could only be trained for a short period of time.
I would like to ask the author why this happens. Will the memory gradually accumulate?
Hi, I tried to generate rules after training with the LERP training script you uploaded. I got the following results, can you tell me how to interpret them?
Also, after training on WN18 and WN18RR datasets, how can I check the trained rules?
script:
for i in range(option.rank):
print(learner.lerp.interpret_rule(j, i, [*data.relation_to_number.keys()]))
for i in range(option.width):
print(learner.lerp.interpret_lerp(-1, i, [*data.relation_to_number.keys()]))
generated rules:
1 brother
(1.6279151624268816e-15, 'X(AND aunt^T)--daughter--father^T(AND Not(son^T))')
(2.116390064830938e-20, 'X(AND uncle)--brother^T(AND daughter^T)--nephew(AND sister)')
(9.526430003514366e-17, 'X(AND Not(aunt^T))--wife--wife^T(AND Not(mother))--sister^T')
(1.3220911569078453e-05, 'X--daughter^T--nephew')
(1.6444326225356957e-15, 'X(AND Not(mother))--nephew^T(AND uncle--niece)')
(1.6161735402420163e-05, 'X--uncle--daughter')
(4.633622290229241e-19, 'X(AND Not(wife))--father(AND Not(nephew))(AND Not(son))')
(6.584387202135389e-11, 'X(AND And(son, husband))')
(4.159390922901551e-23, 'X(AND And(mother, uncle^T))--mother(AND Not(uncle))(AND Not(son^T))--sister^T')
(5.01396240336089e-14, 'X(AND Not(son^T))(AND sister--nephew^T)')
If you can tell me how to extract the trained rules and interpret them, it will be very helpful for me to find the rules in the dataset.
Hi there. I'm really impressed with your work.
I was wondering if you could share the config you used in your experiments as I am trying to reproduce the experiments in your paper.
Thanks again for all your hard work.
We are still cleaning up the codes and will push RAEDMEs and cleaned codes in a couple of weeks.
Thanks!
LERP Authors
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.