/TorchBlocks

A PyTorch-based toolkit for natural language processing

Primary LanguagePythonMIT LicenseMIT

TorchBlocks

A PyTorch-based toolkit for natural language processing

Requirements

  • torch>=1.6.0
  • transformers>=4.1.1
  • torchmetrics>=0.6.0

TorchBlocks requires Python 3.6+. We recommend installing TorchBlocks in a Linux or OSX environment.

Installation

Recommended (because of active development):

git clone https://github.com/lonePatient/TorchBlocks.git
cd TorchBlocks
python setup.py install

Tutorials