Pytorch based deep learning library focussed on providing computationally efficient low resource methods and algorithms for NLP
Project description
-------------------------------------------------------------------------------
Fluence is a Pytorch based deep learning library focussed on providing computationally efficient, low resource methods and algorithms for NLP. Although the main focus is to provide support with transformers for NLP tasks, it can be extended with other domains and architectures as well. Currently in pre-alpha stage.
List of implemented papers
Adaptive Methods
- Adaptive Attention Span in Transformers (ACL 2019)
- Adaptively Sparse Transformers (EMNLP 2019)
- Reducing Transformer Depth on Demand with Structured Dropout (ICLR 2020)
Meta Learning
Debiasing
Why Fluence ?
Fluence is targeted towards two main goals:
- Low resource / computationally efficient algorithms
- Algorithms that either enhance our understanding of current methods or show where SoTA methods fail. It is as straightforward to use as HF Transformers, and fully integrates with Pytorch.
Installing
For stable version:
pip3 install --user fluence
For development version (recommended):
git clone https://github.com/prajjwal1/fluence
cd fluence
python3 setup.py install --user
Overview
The library contains implementation for the following approaches (many more to come):
Documentation
Please head to this link to learn how you can integrate fluence with your workflow. Since it's an early release, there might be bugs here and there. Please file an issue if you encounter one.
Contribution
You can contribute by either filing an issue or sending a Pull Request (if you encounter any bug or want some features to be added). Please checkout the contributing guide for more details.
Tests
Fluence comes with an extensive test suite. Each and every module has been tested before it comes into master branch.
pytest tests/ -v
Author: Prajjwal Bhargava (@prajjwal_1)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Fluence-0.1.7.tar.gz
.
File metadata
- Download URL: Fluence-0.1.7.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e12bcb10f5a0bb9934ced635e1cc699e2df673bf5345a5c546f01fbab57ce1d1 |
|
MD5 | c02eca117e6e850eb81c0396e96dca23 |
|
BLAKE2b-256 | b0baededa808b7302ba4aadff9a0e2d4e07e8944e013505b488de046058b1599 |
File details
Details for the file Fluence-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: Fluence-0.1.7-py3-none-any.whl
- Upload date:
- Size: 27.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02313ae012bd60ade32044d8c93063bbc721e3763d85eba0f5116ccc3a7fee36 |
|
MD5 | 2fa66ca18bfdf38dd84b0dbf843acd9e |
|
BLAKE2b-256 | 0982fb4a904d12cf7113b63e5a8412e559bdc1a39847236edffe849f0c0327c9 |