bartleby-examples / README.md
staeiou's picture
Update README.md
da7db2d verified
---
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**.