jointly embedding both triplets from knowledge graph and text corpus.
- Make sure GPU is avaible and
CUDA>=10.2
has been installed on your computer. You can check it withnvidia-smi
- Simply create an virtural environment with
python>=3.8
and runpip install -r requirements.txt
to download the required packages. If you useanaconda3
orminiconda
, you can run following instructions to download the required packages in python.conda create -y -n joint python=3.8 conda activate joint pip install pip --upgrade pip install -r requirements.txt conda activate joint
if you would like to contribute some codes, please submit a PR, and feel free to post issues via Github.
Please contact zzp1012@sjtu.edu.cn if you have any question on the codes.
UM-SJTU Joint Institute 交大密西根学院