Spaces:
Running
Running
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 | |
# Generate training data for embeddings | |
uv run https://huggingface.co/datasets/uv-scripts/sentence-transformers/raw/main/generate-queries.py \ | |
your-dataset \ | |
output-queries | |
# Deploy on GPU with HF Jobs | |
hfjobs run --gpu a10 uv run <script-url> | |
``` | |
## Browse Scripts | |
| Script | Description | GPU Recommended | | |
|--------|-------------|-----------------| | |
| [dataset-creation](https://huggingface.co/datasets/uv-scripts/dataset-creation) | Create datasets from PDFs, images, text | β | | |
| [sentence-transformers](https://huggingface.co/datasets/uv-scripts/sentence-transformers) | Generate embedding training data | β | | |
| More coming soon... | | | |