Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
6.6.0
metadata
title: HuggingFace Model Weight Inspector
emoji: 🔍
colorFrom: blue
colorTo: purple
sdk: gradio
app_file: app.py
pinned: false
HuggingFace Model Weight Inspector
Inspect specific parameter tensors from any HuggingFace model without downloading the entire model.
Features
- List available keys: View all parameter names in a model
- Fetch specific tensors: Download only the shard containing your parameter
- Tensor statistics: View shape, dtype, min/max/mean/std values
- Memory efficient: Uses safetensors memory-mapped loading
Usage
- Enter a HuggingFace model ID (e.g.,
meta-llama/Llama-2-7b-hf) - Click "List Available Keys" to see all parameters
- Enter a parameter key (e.g.,
model.embed_tokens.weight) - Click "Fetch Parameter" to view tensor info