File size: 2,490 Bytes
571b640
 
 
 
 
 
 
 
 
0dd5d28
 
70ec35c
0dd5d28
70ec35c
0dd5d28
70ec35c
0dd5d28
 
5e7afcf
 
a2c1456
70ec35c
0dd5d28
3cb3504
5e7afcf
70ec35c
5e7afcf
ef5328a
 
 
5e7afcf
ef5328a
 
5e7afcf
ef5328a
 
 
 
 
5e7afcf
ef5328a
 
5e7afcf
ef5328a
 
 
92cc155
70ec35c
5e7afcf
e434b49
 
70ec35c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
title: README
emoji: 📚
colorFrom: red
colorTo: indigo
sdk: static
pinned: false
---

# UV Scripts

**Run ML workflows on GPU with a single command - no setup required**

Self-contained Python scripts powered by [UV](https://docs.astral.sh/uv/guides/scripts/) and [HF Jobs](https://huggingface.co/docs/huggingface_hub/guides/jobs). Pick a task, copy the command, and you're running on cloud GPUs in seconds.

## Get Started

```bash
hf jobs uv run --flavor l4x1 \
  https://huggingface.co/datasets/uv-scripts/ocr/raw/main/nanonets-ocr.py \
  your-images your-extracted-text
```

One command, no setup. Works locally too with just `uv run`.

## Browse Scripts

**Document Processing**
- [ocr](https://huggingface.co/datasets/uv-scripts/ocr) - Extract text from images with VLMs (LaTeX, tables, forms, handwriting)
- [dataset-creation](https://huggingface.co/datasets/uv-scripts/dataset-creation) - Create HF datasets from PDFs and local files (CPU only)

**Computer Vision**
- [sam3](https://huggingface.co/datasets/uv-scripts/sam3) - Zero-shot object detection with natural language prompts using SAM3

**Text Generation & Classification**
- [vllm](https://huggingface.co/datasets/uv-scripts/vllm) - High-performance GPU inference with vLLM (classification, VLM tasks)
- [classification](https://huggingface.co/datasets/uv-scripts/classification) - Text classification with structured outputs and guaranteed valid labels
- [openai-oss](https://huggingface.co/datasets/uv-scripts/openai-oss) - Generate responses using OpenAI's open-source reasoning models
- [synthetic-data](https://huggingface.co/datasets/uv-scripts/synthetic-data) - Generate synthetic training data with chain-of-thought reasoning

**Model Training**
- [unsloth/jobs](https://huggingface.co/datasets/unsloth/jobs) - Fine-tune LLMs and VLMs with Unsloth (LFM2.5, Qwen3-VL, Gemma3, continued pretraining)

**Analysis & Visualization**
- [dataset-stats](https://huggingface.co/datasets/uv-scripts/dataset-stats) - Analyze dataset statistics with streaming and Polars (CPU only)
- [build-atlas](https://huggingface.co/datasets/uv-scripts/build-atlas) - Generate interactive embedding visualizations with Apple's Atlas

## Learn More

- [HF Jobs Documentation](https://huggingface.co/docs/hub/jobs) - run `hf jobs hardware` to see available GPUs and pricing
- [Available GPU hardware](https://huggingface.co/docs/hub/en/spaces-gpus#hardware-specs)
- [UV Script Documentation](https://docs.astral.sh/uv/guides/scripts/)