In order to run the python files present in this project, You have to do the following:
1)Clone the repository
2)If You want to use pretrained model, You have to download corresponding files given bellow
3)Create the new environment by using:
conda create --name cbrf python=3.7
conda activate cbrf
4)pip install -r requirements.txt
The pretrained TransE and CBRF models are available and can be downloaded from the following links: https://drive.google.com/file/d/1bIk5VMAIWCO2s2nw_Z8of8xCNN6NyXrU/view?usp=sharing https://drive.google.com/file/d/1j611uzUjwJVUrnZ5CXk0cYcI43D1nMqW/view?usp=sharing
FB13 with generated negative triples (training dataset is used) can be downloaded from: https://drive.google.com/file/d/1r-JfQ6X6ZrTjqGElrBcCRR_p27mkm5ZG/view?usp=sharing
File containing centroids obtained from the preprocessed dataset can be downloaded from: https://drive.google.com/file/d/1zdyd5ilsJN9tIcW8EC87XY-lImAVULGZ/view?usp=sharing
File containing test centroids can be downloaded from: https://drive.google.com/file/d/1e9OBpGBQFwc7dDuvSVBkX0a3YYSVLxzM/view?usp=sharing
File containing valid centroids can be downloaded from: https://drive.google.com/file/d/1UB7SIjE8D4y3Eo9g4rdTpL1auLly75jq/view?usp=sharing
File containing test samples with labels can be downloaded from: https://drive.google.com/file/d/1qPSPULnfD2iBFm31KfPmT04d56kHFIN7/view?usp=sharing