Spaces:
Runtime error
Runtime error
File size: 803 Bytes
5c75871 c71f5c6 5c75871 c71f5c6 5c75871 c71f5c6 | 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 | ---
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
1. Enter a HuggingFace model ID (e.g., `meta-llama/Llama-2-7b-hf`)
2. Click "List Available Keys" to see all parameters
3. Enter a parameter key (e.g., `model.embed_tokens.weight`)
4. Click "Fetch Parameter" to view tensor info
|