Implementation of TransE [1] model in PyTorch.
Source/Metric | Hits@1 (raw) | Hits@3 (raw) | Hits@10 (raw) | MRR (raw) |
---|---|---|---|---|
Paper [1] | X | X | 34.9 | X |
TransE-PyTorch | 11.1 | 25.33 | 46.53 | 22.29 |
python3 main.py --dataset_path=<path_to_fb15k_dataset> --epochs=50000 --batch_size=128
X axis - epoch id
Y axis - % of samples with nonzero loss
For fast debugging/feedback loop use synthetic data from synth_data directory.
python3 main.py --nouse_gpu
python3 main.py --nouse_gpu --dataset_path=<path_to_your_dataset>
To see possible configuration options run help
python3 main.py --help
python3 -m unittest discover -p "*_test.py"