File size: 1,461 Bytes
aaf5ca0
4c4052e
 
 
 
aaf5ca0
 
 
 
4c4052e
 
 
 
 
aaf5ca0
 
4c4052e
 
 
 
81d11b2
 
149287a
81d11b2
149287a
 
 
 
 
 
 
81d11b2
 
 
 
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
---
title: SparseMindAI Chat
emoji: 🧠
colorFrom: indigo
colorTo: purple
sdk: gradio
sdk_version: 6.31.0
app_file: app.py
pinned: false
models:
  - SparseMindAI/qwen3-8b-24sst-sparse-adamw
  - SparseMindAI/Qwen36-7B-24-sparse
  - SparseMindAI/Qwen-original-model
  - SparseMindAI/Qwen-1to4-sparse-model
---

# SparseMindAI Chat

Chat with any model from the [SparseMindAI](https://huggingface.co/SparseMindAI) organization. Pick a model from the dropdown and stream responses; each reply reports TTFT, TPT, total time, token count, and tokens/sec.

## Adding models

The dropdown lists every public model under the `SparseMindAI` namespace when the Space starts — from both HF repos and HF buckets.

- **Repos:** upload a standard `transformers` checkpoint (with `config.json`, safetensors, and tokenizer files):
  ```bash
  hf upload SparseMindAI/<model-name> <local-model-folder>
  ```
- **Buckets:** any folder in a `SparseMindAI` bucket containing a `config.json` (plus safetensors and tokenizer) is shown automatically and downloaded on first use.

After adding a model, restart the Space (Settings → Restart Space, or push any commit) so the dropdown refreshes.

To list models from a different namespace, set the `MODELS_NAMESPACE` variable in **Space Settings → Variables and secrets**.

> **Note:** The Space runs on ZeroGPU. The first prompt with a model downloads it into the Space's cache (~15 GB for the 8B), so the first response is slow.