Spaces:
Sleeping
Sleeping
|
Download docs/md/design/modeling/cli_train.md from thanhnv2323/humanize-text-python: direct link, hf CLI and curl.
- Browser
- Download file 444 Bytes
-
https://huggingface.co/spaces/thanhnv2323/humanize-text-python/resolve/main/docs/md/design/modeling/cli_train.md
- Command line
-
hf download hf://spaces/thanhnv2323/humanize-text-python/docs/md/design/modeling/cli_train.md
-
curl -L -o cli_train.md https://huggingface.co/spaces/thanhnv2323/humanize-text-python/resolve/main/docs/md/design/modeling/cli_train.md
444 Bytes
| # Modeling: CLI `train` | |
| **Code**: `adsp/modeling/train.py` | |
| ## Purpose | |
| CLI wrapper around `PersonaTrainer`. | |
| ## Usage | |
| ```bash | |
| python -m adsp.modeling.train --dataset-path data/processed/persona_dataset.parquet --output-dir models/ | |
| ``` | |
| ## Interface | |
| Arguments: | |
| - `dataset_path` (defaults to `data/processed/persona_dataset.parquet`) | |
| - `output_dir` (defaults to `models/`) | |
| ## Key dependencies / technologies | |
| - `typer` CLI | |
| - `pathlib.Path` | |