Home

Awesome

NCRL

Introduction

The official Pytorch implementation of the paper Neural Compositional Rule Learning for Knowledge Graph Reasoning

KG Data:

Usage

For example, this command train a NCRL on family dataset using gpu 0

  python main.py --train --test --data family --max_path_len 4 --model family --gpu 0 --get_rule --topk 500

Each parameter means: