Replies: 2 comments 3 replies
-
You can use If you use the from pykeen.pipeline import pipeline
result = pipeline(dataset="nations", model="distmult")
triples_factory = result.training
print(triples_factory.entity_id_to_label) will output {0: 'brazil', 1: 'burma', 2: 'china', 3: 'cuba', 4: 'egypt', 5: 'india', 6: 'indonesia', 7: 'israel', 8: 'jordan', 9: 'netherlands', 10: 'poland', 11: 'uk', 12: 'usa', 13: 'ussr'} |
Beta Was this translation helpful? Give feedback.
1 reply
-
thank you for your answer, WN18rr used from numeric label for entities like(00004605, 00105333) how can find the value of labels? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
how to find the name of head or tail, that head is shown by numeric value?
Beta Was this translation helpful? Give feedback.
All reactions