-------------------------------------------------------------------------------
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)
Release files for Fluence 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Fluence-0.1.7.tar.gz | 19.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Fluence-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 47.1 kB
Release files / Fluence-0.1.7.tar.gz
| Download URL | Fluence-0.1.7.tar.gz |
|---|---|
| Size | 19.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e12bcb10f5a0bb9934ced635e1cc699e2df673bf5345a5c546f01fbab57ce1d1
|
|
BLAKE2b-256 checksum How to use checksums |
b0baededa808b7302ba4aadff9a0e2d4e07e8944e013505b488de046058b1599
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / Fluence-0.1.7-py3-none-any.whl
| Download URL | Fluence-0.1.7-py3-none-any.whl |
|---|---|
| Size | 27.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
02313ae012bd60ade32044d8c93063bbc721e3763d85eba0f5116ccc3a7fee36
|
|
BLAKE2b-256 checksum How to use checksums |
0982fb4a904d12cf7113b63e5a8412e559bdc1a39847236edffe849f0c0327c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|