Team Ai
Apppublic

tiny-random/model-weight-inspector

sourceHugging Faceupdated 8mo agoView on Hugging Face
0likes
App README

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. 1.Enter a HuggingFace model ID (e.g., meta-llama/Llama-2-7b-hf)
  2. 2.Click "List Available Keys" to see all parameters
  3. 3.Enter a parameter key (e.g., model.embed_tokens.weight)
  4. 4.Click "Fetch Parameter" to view tensor info