sparsemind-chat / README.md
DavideTHU's picture
Add bucket support for models
149287a verified
|
Raw History Blame Contribute Delete
1.46 kB

A newer version of the Gradio SDK is available: 6.32.0

Upgrade
metadata
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 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):
    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.