Spaces:
Paused
Paused
docs: align README with Spaces configuration standards
Browse files- expand YAML metadata with suggested_hardware, tags, and a models list
- list all 30 trending models used by the current snapshot, with ranks and
trending scores
- document that model selection is dynamic and stored per run
- add Requirements section covering HF_TOKEN, Inference Providers billing,
pinned runtime versions, and CPU-basic hardware
- add How it works and Settings sections matching the app.py SETTINGS block
- document run JSON contents and the persistent storage layout
- keep the Space title as StockAnalysis and the slug unchanged
README.md
CHANGED
|
@@ -10,6 +10,44 @@ app_file: app.py
|
|
| 10 |
pinned: false
|
| 11 |
license: mit
|
| 12 |
short_description: Smoke-test the 30 most trending chat models.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
# StockAnalysis - HF Inference Smoke Test
|
|
@@ -18,7 +56,56 @@ Smoke-tests the **30 most trending** chat-completion models on Hugging Face
|
|
| 18 |
through [Inference Providers](https://huggingface.co/docs/inference-providers)
|
| 19 |
and reports a literal `True` or `False` for each model.
|
| 20 |
|
| 21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
1. **Discovery** - queries the Hub for `conversational` models sorted by
|
| 24 |
`trendingScore`, scanning past the requested count so models without a live
|
|
@@ -31,14 +118,6 @@ and reports a literal `True` or `False` for each model.
|
|
| 31 |
5. **Budget** - each attempt requests at most 8 output tokens, so a 30-model run
|
| 32 |
costs well under a cent of Inference Providers credit.
|
| 33 |
|
| 34 |
-
## Using the app
|
| 35 |
-
|
| 36 |
-
- Press **Run smoke test** to test the top trending models.
|
| 37 |
-
- The table shows rank, model, `True`/`False`, the routing policy that produced
|
| 38 |
-
the passing attempt, latency, and the error for failures.
|
| 39 |
-
- Use **Run history** to reload a previous run.
|
| 40 |
-
- **Download run JSON** exports the currently displayed run.
|
| 41 |
-
|
| 42 |
## Settings
|
| 43 |
|
| 44 |
Every knob lives in the `SETTINGS` block at the top of `app.py`; edit it and
|
|
@@ -55,14 +134,29 @@ MAX_SCAN = 500 # how far past MODEL_LIMIT to scan
|
|
| 55 |
AUTO_RUN_ON_START = False # run automatically on page load
|
| 56 |
```
|
| 57 |
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
inference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
|
| 63 |
## Storage
|
| 64 |
|
| 65 |
-
Run artifacts go to
|
| 66 |
|
| 67 |
```text
|
| 68 |
/data/hf-inference-smoke/
|
|
@@ -71,12 +165,16 @@ Run artifacts go to the persistent bucket, not the repository:
|
|
| 71 |
└── models/latest.json # most recent discovery snapshot
|
| 72 |
```
|
| 73 |
|
|
|
|
|
|
|
|
|
|
| 74 |
## Project layout
|
| 75 |
|
| 76 |
```text
|
| 77 |
-
app.py # Gradio
|
| 78 |
smoke.py # discovery, routing, runner, persistence
|
| 79 |
requirements.txt # pinned dependencies
|
|
|
|
| 80 |
```
|
| 81 |
|
| 82 |
## Notes
|
|
@@ -86,3 +184,5 @@ requirements.txt # pinned dependencies
|
|
| 86 |
requested count.
|
| 87 |
- A `False` result means that model could not produce a valid chat completion
|
| 88 |
through either routing policy at the time of the run.
|
|
|
|
|
|
|
|
|
| 10 |
pinned: false
|
| 11 |
license: mit
|
| 12 |
short_description: Smoke-test the 30 most trending chat models.
|
| 13 |
+
suggested_hardware: cpu-basic
|
| 14 |
+
tags:
|
| 15 |
+
- inference-providers
|
| 16 |
+
- smoke-test
|
| 17 |
+
- model-evaluation
|
| 18 |
+
- gradio
|
| 19 |
+
- huggingface-hub
|
| 20 |
+
models:
|
| 21 |
+
- Qwen/Qwen3.8-27B
|
| 22 |
+
- Qwen/Qwen3.8-Flash-Next
|
| 23 |
+
- meta-models/Muse-Spark-Open-816B-A42B
|
| 24 |
+
- reflection/Beam-1.0-501B-A23B
|
| 25 |
+
- deepseek-ai/DeepSeek-V4.1-Flash
|
| 26 |
+
- meta-llama/Meta-Llama-3-8B-Instruct
|
| 27 |
+
- nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4
|
| 28 |
+
- moonshotai/Kimi-K3
|
| 29 |
+
- zai-org/GLM-5.3-Flash
|
| 30 |
+
- meta-llama/Llama-3.1-8B-Instruct
|
| 31 |
+
- meta-models/Muse-Spark-Open-816B-A42B-NVFP4
|
| 32 |
+
- OBLITERATUS/Qwen3.8-27B-OBLITERATED
|
| 33 |
+
- zai-org/GLM-5.3
|
| 34 |
+
- meta-models/Muse-Glimmer-30B
|
| 35 |
+
- google/gemma-4-31B-it
|
| 36 |
+
- Qwen/Qwen3.5-9B
|
| 37 |
+
- meta-llama/Llama-3.2-3B-Instruct
|
| 38 |
+
- XiaomiMiMo/MiMo-V2.6-Pro-RL
|
| 39 |
+
- inclusionAI/Ling-3.1-flash
|
| 40 |
+
- Qwen/Qwen3.5-4B
|
| 41 |
+
- openai/gpt-oss-20b
|
| 42 |
+
- google/gemma-4-26B-A4B-it
|
| 43 |
+
- Qwen/Qwen3.6-35B-A3B
|
| 44 |
+
- huihui-ai/Huihui-Qwen3.8-27B-abliterated
|
| 45 |
+
- openai/gpt-oss-120b
|
| 46 |
+
- XiaomiMiMo/MiMo-V2.6-Flash-RL
|
| 47 |
+
- Qwen/Qwen2.5-1.5B-Instruct
|
| 48 |
+
- Qwen/Qwen3-0.6B
|
| 49 |
+
- Qwen/Qwen3-8B
|
| 50 |
+
- deepseek-ai/DeepSeek-R1
|
| 51 |
---
|
| 52 |
|
| 53 |
# StockAnalysis - HF Inference Smoke Test
|
|
|
|
| 56 |
through [Inference Providers](https://huggingface.co/docs/inference-providers)
|
| 57 |
and reports a literal `True` or `False` for each model.
|
| 58 |
|
| 59 |
+
The app is a Gradio dashboard: press **Run smoke test**, watch per-model
|
| 60 |
+
progress, inspect the pass/fail table, reload previous runs, and download the
|
| 61 |
+
raw JSON.
|
| 62 |
+
|
| 63 |
+
## Models tested
|
| 64 |
+
|
| 65 |
+
Model selection is **dynamic**: each run queries the Hub for `conversational`
|
| 66 |
+
models sorted by `trendingScore`, keeps only models that currently have at least
|
| 67 |
+
one live inference provider, and takes the top `MODEL_LIMIT` (30 by default).
|
| 68 |
+
The list below is the snapshot used when this README was last updated.
|
| 69 |
+
|
| 70 |
+
Snapshot: `2026-10-25T20:18:59Z`
|
| 71 |
+
|
| 72 |
+
| # | Model | Trending score |
|
| 73 |
+
|---:|---|---:|
|
| 74 |
+
| 1 | `Qwen/Qwen3.8-27B` | 310 |
|
| 75 |
+
| 2 | `Qwen/Qwen3.8-Flash-Next` | 144 |
|
| 76 |
+
| 3 | `meta-models/Muse-Spark-Open-816B-A42B` | 129 |
|
| 77 |
+
| 4 | `reflection/Beam-1.0-501B-A23B` | 101 |
|
| 78 |
+
| 5 | `deepseek-ai/DeepSeek-V4.1-Flash` | 85 |
|
| 79 |
+
| 6 | `meta-llama/Meta-Llama-3-8B-Instruct` | 80 |
|
| 80 |
+
| 7 | `nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4` | 66 |
|
| 81 |
+
| 8 | `moonshotai/Kimi-K3` | 55 |
|
| 82 |
+
| 9 | `zai-org/GLM-5.3-Flash` | 54 |
|
| 83 |
+
| 10 | `meta-llama/Llama-3.1-8B-Instruct` | 50 |
|
| 84 |
+
| 11 | `meta-models/Muse-Spark-Open-816B-A42B-NVFP4` | 47 |
|
| 85 |
+
| 12 | `OBLITERATUS/Qwen3.8-27B-OBLITERATED` | 46 |
|
| 86 |
+
| 13 | `zai-org/GLM-5.3` | 45 |
|
| 87 |
+
| 14 | `meta-models/Muse-Glimmer-30B` | 40 |
|
| 88 |
+
| 15 | `google/gemma-4-31B-it` | 38 |
|
| 89 |
+
| 16 | `Qwen/Qwen3.5-9B` | 36 |
|
| 90 |
+
| 17 | `meta-llama/Llama-3.2-3B-Instruct` | 30 |
|
| 91 |
+
| 18 | `XiaomiMiMo/MiMo-V2.6-Pro-RL` | 30 |
|
| 92 |
+
| 19 | `inclusionAI/Ling-3.1-flash` | 29 |
|
| 93 |
+
| 20 | `Qwen/Qwen3.5-4B` | 24 |
|
| 94 |
+
| 21 | `openai/gpt-oss-20b` | 22 |
|
| 95 |
+
| 22 | `google/gemma-4-26B-A4B-it` | 22 |
|
| 96 |
+
| 23 | `Qwen/Qwen3.6-35B-A3B` | 22 |
|
| 97 |
+
| 24 | `huihui-ai/Huihui-Qwen3.8-27B-abliterated` | 21 |
|
| 98 |
+
| 25 | `openai/gpt-oss-120b` | 17 |
|
| 99 |
+
| 26 | `XiaomiMiMo/MiMo-V2.6-Flash-RL` | 17 |
|
| 100 |
+
| 27 | `Qwen/Qwen2.5-1.5B-Instruct` | 15 |
|
| 101 |
+
| 28 | `Qwen/Qwen3-0.6B` | 15 |
|
| 102 |
+
| 29 | `Qwen/Qwen3-8B` | 15 |
|
| 103 |
+
| 30 | `deepseek-ai/DeepSeek-R1` | 14 |
|
| 104 |
+
|
| 105 |
+
Trending scores change constantly, so the live list may differ from the table
|
| 106 |
+
above. Every run stores the exact model order it used in its JSON result.
|
| 107 |
+
|
| 108 |
+
## How it works
|
| 109 |
|
| 110 |
1. **Discovery** - queries the Hub for `conversational` models sorted by
|
| 111 |
`trendingScore`, scanning past the requested count so models without a live
|
|
|
|
| 118 |
5. **Budget** - each attempt requests at most 8 output tokens, so a 30-model run
|
| 119 |
costs well under a cent of Inference Providers credit.
|
| 120 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 121 |
## Settings
|
| 122 |
|
| 123 |
Every knob lives in the `SETTINGS` block at the top of `app.py`; edit it and
|
|
|
|
| 134 |
AUTO_RUN_ON_START = False # run automatically on page load
|
| 135 |
```
|
| 136 |
|
| 137 |
+
## Requirements
|
| 138 |
+
|
| 139 |
+
- `HF_TOKEN` must be available as a Space secret or environment variable. A
|
| 140 |
+
normal read token with Inference Providers access is sufficient; inference is
|
| 141 |
+
billed to the token's account.
|
| 142 |
+
- The app never writes the token to disk or into run results.
|
| 143 |
+
- Without a token the app shows a clear error and refuses to make inference
|
| 144 |
+
calls.
|
| 145 |
+
- Runtime: Python 3.13, Gradio 6.30.0, `huggingface_hub` 1.16.1, `requests`
|
| 146 |
+
2.34.2 (pinned in `requirements.txt`).
|
| 147 |
+
- CPU basic hardware is sufficient; no GPU is required.
|
| 148 |
+
|
| 149 |
+
## Using the app
|
| 150 |
+
|
| 151 |
+
- Press **Run smoke test** to test the top trending models.
|
| 152 |
+
- The table shows rank, model, `True`/`False`, the routing policy that produced
|
| 153 |
+
the passing attempt, latency, and the error for failures.
|
| 154 |
+
- Use **Run history** to reload a previous run.
|
| 155 |
+
- **Download run JSON** exports the currently displayed run.
|
| 156 |
|
| 157 |
## Storage
|
| 158 |
|
| 159 |
+
Run artifacts go to persistent storage, not the repository:
|
| 160 |
|
| 161 |
```text
|
| 162 |
/data/hf-inference-smoke/
|
|
|
|
| 165 |
└── models/latest.json # most recent discovery snapshot
|
| 166 |
```
|
| 167 |
|
| 168 |
+
Each run file records the model list, trending scores, live providers, per-attempt
|
| 169 |
+
status, latency, usage, and errors.
|
| 170 |
+
|
| 171 |
## Project layout
|
| 172 |
|
| 173 |
```text
|
| 174 |
+
app.py # Gradio dashboard and all settings
|
| 175 |
smoke.py # discovery, routing, runner, persistence
|
| 176 |
requirements.txt # pinned dependencies
|
| 177 |
+
README.md # Space metadata and documentation
|
| 178 |
```
|
| 179 |
|
| 180 |
## Notes
|
|
|
|
| 184 |
requested count.
|
| 185 |
- A `False` result means that model could not produce a valid chat completion
|
| 186 |
through either routing policy at the time of the run.
|
| 187 |
+
- This Space is a liveness check, not a quality benchmark: it asks each model
|
| 188 |
+
for a single `ping` with `max_tokens=8`.
|