copy_re

(β˜… 203)

Release for acl18 paper "Extracting Relational Facts by an End-to-End Neural Model with Copy Mechanism"

  • config.json
  • const.py
  • data_prepare.py
  • evaluation.py
  • logging.json
  • main.py
  • model.py
  • README.md
  • requirements.txt

# Installation Guide

1. Get the code
git clone https://github.com/xiangrongzeng/copy_re

Downloads the entire project code from GitHub to your computer.

cd copy_re

Moves into the project folder you just downloaded.

2. Python

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
pip install -r requirements.txt

Installs the Python libraries listed in requirements.txt (or similar).

python main.py

Runs the Python script (or module).

βœ… If it runs without errors and prints output in the terminal, it worked.
// repository documentation