File size: 755 Bytes
e906781
9a9fc56
 
 
 
e906781
da7db2d
e906781
 
 
 
9a9fc56
 
 
 
 
 
 
 
 
 
 
da7db2d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
title: Safetensors QA  examples.md
emoji: 🧪
colorFrom: indigo
colorTo: pink
sdk: gradio
sdk_version: 6.2.0
app_file: app.py
pinned: false
---

# Safetensors QA → `examples.md`

This Space loads a Transformers model from a Hugging Face Hub repo (preferring `.safetensors` when present), runs a fixed list of prompts (sent **without** the `Q:` prefix), and writes the results to `examples.md` in `- Q:` / `- A:` format.

## Configuration (Space Variables / Secrets)

- `MODEL_REPO_ID` (required): e.g. `username/my-model-repo`
- `REVISION` (optional): branch / tag / commit
- `HF_TOKEN` (optional): required only for private repos
- `MAX_NEW_TOKENS` (optional): default `128`

Then click **Load model** and **Run prompts and write examples.md**.