Skip to content

Spico197/REx

Repository files navigation



Build Docs

A toolkit for Relation extraction, Event eXtraction (REx) and more...

This project has not been finished yet, so be careful when using it, or wait until the first release comes out.

This project is suffering from the second-system effect. I would like to cut some features to make this going smoothly.

Accelerate seems to be a very sweet wrapper for multi-GPU, TPU training, we highly recommend you to use such frameworks, instead of adding hard codes on your own.

⚙️Installation

Python (>=3.10) and pytorch (>=2.0.1) are preliminaries for REx.

# 1. install from source
$ git clone https://github.com/Spico197/REx.git
$ cd REx
$ pip install -e .

# 2. install from PyPI, recommended
$ pip install pytorch-rex -i https://pypi.org/simple

🚀QuickStart

  • Create a new task: rex new task_name

🤝 Contributing

Contributions are greatly appreciated to make this project better.

Please see Contributing and Code of Conduct for more information.

🔑LICENCE

Distributed under the MIT licence.

See LICENSE for more informatin.