Skip to content

CDRGN-SDE: Cross-Dimensional Recurrent Graph Network with Neural Stochastic Differential Equation for Temporal Knowledge Graph Embedding

Notifications You must be signed in to change notification settings

zhangdddong/CDRGN-SDE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CDRGN-SDE: Cross-Dimensional Recurrent Graph Network with Neural Stochastic Differential Equation for Temporal Knowledge Graph Embedding

This repository provides the official PyTorch implementation of the research paper CDRGN-SDE: Cross-Dimensional Recurrent Graph Network with Neural Stochastic Differential Equation for Temporal Knowledge Graph Embedding. It will update soon. Thanks for your attention.

Requirements

  • python >= 3.6
  • torch >= 1.8.0
  • torchvision >= 0.9.2
  • torch-scatter >= 2.0.6
  • dgl-cu111 >= 0.6.1
  • tqdm
  • pandas
  • rdflib

How to Run

Step 1: pre-process the dataset

python data/dataset/ent2word.py
python get_neighbor.py

Step 2: training the model

python src/main.py

About

CDRGN-SDE: Cross-Dimensional Recurrent Graph Network with Neural Stochastic Differential Equation for Temporal Knowledge Graph Embedding

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages