These scripts require the fastText library.
Run the data.sh script to download and format the datasets. Then run any of the scripts to train and test on a given dataset.
If you use this code please cite:
@article{joulin2017fast, title={Fast Linear Model for Knowledge Graph Embeddings}, author={Joulin, Armand and Grave, Edouard and Bojanowski, Piotr and Nickel, Maximilian and Mikolov, Tomas}, journal={arXiv preprint arXiv:1710.10881}, year={2017} }