Skip to content

lonePatient/TorchBlocks

Repository files navigation

TorchBlocks

(Work in Progress!!)

A PyTorch-based toolkit for natural language processing

python pytorch black license

Requirements

  • torch>=1.10.0
  • tokenizers >= 0.7.0
  • transformers>=4.10.0
  • torchmetrics>=0.11.3

TorchBlocks requires Python 3.7+. 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

⚠️Note: This project is still in the development stage and some of the interfaces are subject to change.

Tutorials