README / README.md
davanstrien's picture
davanstrien HF Staff
Update README.md
0dd5d28 verified
|
raw
history blame
1.34 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
# 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... | | |