awslabs / dgl-ke

High performance, easy-to-use, and scalable package for learning large-scale knowledge graph embeddings.
https://dglke.dgl.ai/doc/
Apache License 2.0
1.25k stars 194 forks source link

Fix a typo in the ranking loss. #279

Open Michael1015198808 opened 8 months ago

Michael1015198808 commented 8 months ago

The original ranking loss use $h, r, t$ for both original facts and corrupted facts. One part is replaced with $h', r', t'$.