staeiou commited on
Commit
9a9fc56
·
verified ·
1 Parent(s): 28ddeb8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +17 -6
README.md CHANGED
@@ -1,12 +1,23 @@
1
  ---
2
- title: Bartleby Examples
3
- emoji: 🐠
4
- colorFrom: gray
5
- colorTo: yellow
6
  sdk: gradio
7
- sdk_version: 6.2.0
8
  app_file: app.py
9
  pinned: false
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Safetensors QA → examples.md
3
+ emoji: 🧪
4
+ colorFrom: indigo
5
+ colorTo: pink
6
  sdk: gradio
7
+ sdk_version: "4.44.0"
8
  app_file: app.py
9
  pinned: false
10
  ---
11
 
12
+ # Safetensors QA `examples.md`
13
+
14
+ 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.
15
+
16
+ ## Configuration (Space Variables / Secrets)
17
+
18
+ - `MODEL_REPO_ID` (required): e.g. `username/my-model-repo`
19
+ - `REVISION` (optional): branch / tag / commit
20
+ - `HF_TOKEN` (optional): required only for private repos
21
+ - `MAX_NEW_TOKENS` (optional): default `128`
22
+
23
+ Then click **Load model** and **Run prompts and write examples.md**.