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.
Metadata
Release files for wrangl 0.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wrangl-0.0.10-py3-none-any.whl | Python 3 | none | any | Details |
Release files / wrangl-0.0.10-py3-none-any.whl
| Download URL | wrangl-0.0.10-py3-none-any.whl |
|---|---|
| Size | 31.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c0edb5ad98c3a0a7b0830ae589c66578ac9aa20df821ab9690eba8ea822570c9
|
|
BLAKE2b-256 checksum How to use checksums |
0f2a94a4be7d34ee4e8a21d44bdd856576f07b7988f3275b639efec184b8cb48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.14
|