Parallel data preprocessing for NLP and ML.
Project description
Wrangl
Fast experiments for NLP and ML. See docs here.
Why?
I built this library to prototype ideas quickly. In essence it combines Hydra and Pytorch Lightning for supervised learning. The following are supported with command line or config tweaks (e.g. no additional boilerplate code):
- checkpointing
- early stopping
- auto git diffs
- logging to wandb
- Slurm launcher
Installation
pip install -e . # add [dev] if you want to run tests and build docs.
# for latest
pip install git+https://github.com/r2llab/wrangl
# pypi release
pip install wrangl
Usage
See the documentation for how to use Wrangl.
Examples of projects using Wrangl are found in wrangl.examples
.
In particular wrangl.examples.learn.xor_clf
shows an example of using Wrangl to quickly set up a supervised classification task.
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 wrangl-0.0.9.tar.gz
.
File metadata
- Download URL: wrangl-0.0.9.tar.gz
- Upload date:
- Size: 23.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99e42059cdc5c10693a58f8edfbce4572024a20d587fdfa173a3c50634b8c14a |
|
MD5 | 54f16fd0f5f833b00dd60ef4f46790e3 |
|
BLAKE2b-256 | e58a05382a6a2318ab56f2f624fecb54cd0bf1c390f6ea4e72d6fb4c64e17730 |
File details
Details for the file wrangl-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: wrangl-0.0.9-py3-none-any.whl
- Upload date:
- Size: 31.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1482673109aa643267cb6270bf6ac9429045dd1b4b81fef2bfbac699b7442356 |
|
MD5 | 3e6dfbfe828855f1dc0c15c886d4467f |
|
BLAKE2b-256 | 788db52ce07a51ed13b3bbf863b9ab3a69937dc2b9b8a46e47959b53029ef8a5 |