README / README.md
davanstrien's picture
davanstrien HF Staff
update with example
ff7e103
|
raw
history blame
1.14 kB
---
title: README
emoji: πŸ“š
colorFrom: red
colorTo: indigo
sdk: static
pinned: false
---
# UV Scripts
**Ready-to-run data processing scripts for the ML community**
Run powerful ML workflows with a single command - no setup required.
## What are UV scripts?
UV scripts are self-contained Python scripts that use [inline metadata](https://docs.astral.sh/uv/guides/scripts/) to specify dependencies. Just `uv run script.py` and everything installs automatically.
Perfect for:
- πŸš€ **GPU workflows** on [HF Jobs](https://huggingface.co/docs/hub/spaces-gpu-jobs)
- πŸ’» **Local processing** on your machine
- πŸ”„ **Reproducible pipelines** that work anywhere
## Example
```bash
# Convert PDFs to a dataset
uv run https://huggingface.co/datasets/uv-scripts/dataset-creation/resolve/main/pdf-to-dataset.py \
/path/to/pdfs \
username/my-dataset
```
## Browse Scripts
| Script Collection | Description | GPU Required |
|-------------------|-------------|--------------|
| [dataset-creation](https://huggingface.co/datasets/uv-scripts/dataset-creation) | Create datasets from PDFs and other files | ❌ |
| More coming soon... | | |