Skip to main content

Toroidal - Lightweight Transformers for PyTorch

Project description

toroidal - a lightweight transformer library for PyTorch

Toroidal transformers are of smaller size and lower weight than the more common E-I types. This is the software equivalent.

This is a small and educational project, not big and professional like the transformers library.

  • Simplicity! We only cover very popular transformer types and keep implementations things simple and beautiful.

  • Hightlight similarities. We try not to copy-paste code between almost identical implementations.

  • PyTorch first and only. We do not provide everything for everyone, but focus on PyTorch and use PyTorchy coding style. Ideally, our models work well with TorchScript.

Important Note

For the time being, we will emphasize beautiful code over backward compatibility, so things will break. Don't use it for things you cannot fix.

FAQ

Why not minGPT? I love minGPT, but I needed BERT.

Why not transformers? I wanted small, but if you have to ask, you should use them instead.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

toroidal-0.0.1.post2-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page