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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
wrangl-0.0.10-py3-none-any.whl
(31.3 kB
view details)
File details
Details for the file wrangl-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: wrangl-0.0.10-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 | c0edb5ad98c3a0a7b0830ae589c66578ac9aa20df821ab9690eba8ea822570c9 |
|
MD5 | d51fb6fa4f6e01761bacf8705d16e632 |
|
BLAKE2b-256 | 0f2a94a4be7d34ee4e8a21d44bdd856576f07b7988f3275b639efec184b8cb48 |