# Wrangl
[![Tests](https://github.com/r2llab/wrangl/actions/workflows/test.yml/badge.svg)](https://github.com/r2llab/wrangl/actions/workflows/test.yml)
Fast experiments for NLP and ML.
See [docs here](https://r2llab.github.io/wrangl/).
## Why?
I built this library to prototype ideas quickly.
In essence it combines [Hydra](https://hydra.cc) and [Pytorch Lightning](https://www.pytorchlightning.ai) 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
```bash
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](https://wrangl.pages.dev) 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.
Raw data
{
"_id": null,
"home_page": "https://github.com/r2llab/wrangl",
"name": "wrangl",
"maintainer": null,
"docs_url": null,
"requires_python": ">3.7",
"maintainer_email": null,
"keywords": "text nlp machine-learning",
"author": "Victor Zhong",
"author_email": "victor@victorzhong.com",
"download_url": null,
"platform": null,
"description": "# Wrangl\n\n[![Tests](https://github.com/r2llab/wrangl/actions/workflows/test.yml/badge.svg)](https://github.com/r2llab/wrangl/actions/workflows/test.yml)\n\nFast experiments for NLP and ML.\nSee [docs here](https://r2llab.github.io/wrangl/).\n\n## Why?\nI built this library to prototype ideas quickly.\nIn essence it combines [Hydra](https://hydra.cc) and [Pytorch Lightning](https://www.pytorchlightning.ai) for supervised learning.\nThe following are supported with command line or config tweaks (e.g. no additional boilerplate code):\n\n- checkpointing\n- early stopping\n- auto git diffs\n- logging to wandb\n- Slurm launcher\n\n\n## Installation\n\n```bash\npip install -e . # add [dev] if you want to run tests and build docs.\n\n# for latest\npip install git+https://github.com/r2llab/wrangl\n\n# pypi release\npip install wrangl\n```\n\n## Usage\n\nSee [the documentation](https://wrangl.pages.dev) for how to use Wrangl.\nExamples of projects using Wrangl are found in `wrangl.examples`.\nIn particular `wrangl.examples.learn.xor_clf` shows an example of using Wrangl to quickly set up a supervised classification task.\n",
"bugtrack_url": null,
"license": "Apache 2",
"summary": "Parallel data preprocessing for NLP and ML.",
"version": "0.0.10",
"project_urls": {
"Homepage": "https://github.com/r2llab/wrangl"
},
"split_keywords": [
"text",
"nlp",
"machine-learning"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0f2a94a4be7d34ee4e8a21d44bdd856576f07b7988f3275b639efec184b8cb48",
"md5": "d51fb6fa4f6e01761bacf8705d16e632",
"sha256": "c0edb5ad98c3a0a7b0830ae589c66578ac9aa20df821ab9690eba8ea822570c9"
},
"downloads": -1,
"filename": "wrangl-0.0.10-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d51fb6fa4f6e01761bacf8705d16e632",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">3.7",
"size": 31278,
"upload_time": "2024-10-30T21:51:10",
"upload_time_iso_8601": "2024-10-30T21:51:10.396588Z",
"url": "https://files.pythonhosted.org/packages/0f/2a/94a4be7d34ee4e8a21d44bdd856576f07b7988f3275b639efec184b8cb48/wrangl-0.0.10-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-30 21:51:10",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "r2llab",
"github_project": "wrangl",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "wrangl"
}