skew202/nerfstatus-hf-monitor
NerfStatus: HuggingFace Inference Quality Monitor
Scientific LLM degradation detection โ Real-time monitoring of HF inference endpoints powered by nerfprobe-core.
About
NerfStatus detects silent model collapse, quantization artifacts, and instruction failures using scientifically-grounded probes. This Space brings that capability to HuggingFace models via Inference Providers (Together, Cerebras, etc.).
The 4 Core Probes
Supported Models (with Auto-Provider Selection)
The Space automatically routes each model to the best available Inference Provider:
You can also test any HF model by entering its ID directly.
Setup
For HF Inference (Bring Your Own Token)
๐ก Bring Your Own Token - Test any HF model at YOUR own cost:
- Get a token at https://huggingface.co/settings/tokens
- Enable Inference Providers permission
- Paste the token in the "API Settings" accordion in the Space
- Enter any HF model ID (e.g.,
meta-llama/Llama-3.1-70B-Instruct) - Costs are billed to YOUR account, not the Space author
Pricing (approximate per 1M tokens via Inference Providers):
- Small (1-3B): $0.02-0.06
- Medium (7-8B): $0.03-0.30
- Large (70B+): $0.40-0.88
Each test run uses ~300 tokens (4 probes ร ~75 tokens).
For Ollama (local development) - RECOMMENDED
Free and unlimited - use Ollama locally for development and testing:
- Install Ollama: https://ollama.com
- Run a model:
ollama run llama3.2 - Refresh the Space page - it will auto-detect Ollama
Ollama models tested:
llama3.2:3b- 3B parameters, fastllama3.1:8b-instruct-q4_K_M- 8B quantized, good qualityqwen3:4b- 4B parameters, efficientqwen3:8b- 8B parameters, strong performancegemma2:9b- 9B parameters, excellent quality
How to Use
- Optional: Paste your HF token in "API Settings" to test HF models (at your cost)
- Enter any model ID: HF format (
org/model) or Ollama format (model:tag) - Or use Quick Select buttons for popular HF models with pre-configured providers
- Click "Run All Probes" to test all 4 quality checks
- View results: pass rate, latency, detailed breakdown
Interpretation
- โ โฅ80%: Healthy model
- โ ๏ธ 50-79%: Degraded, use with caution
- โ <50%: Failing, not recommended for production
Links
- ๐ Live Dashboard
- ๐ฆ pip install nerfprobe-core
- ๐ GitHub
Technical Details
This Space is built on nerfprobe-core, a scientific framework for LLM quality monitoring. The probes are implemented using:
- Pydantic models for structured data (
ModelTarget,ProbeResult) - AST parsing for code validation
- JSON schema validation for structured output
- Text matching for factual verification
Research Background
NerfStatus is grounded in academic research on LLM quality monitoring and model collapse detection:
- Neural Probe-Based Hallucination Detection โ Liang et al., 2025
- A Survey on Hallucination in LLMs โ ACM Computing Surveys, 2025
- AI Models Collapse: The Shumailov et al. Paper โ Nature, 2024 (858+ citations)
Built by: Stefan Wiest Part of: NerfStatus โ Scientific LLM quality monitoring
