Inspect .safetensors models from a desktop GUI and CLI.
- Detects architecture families and variants (Flux, SDXL/SD3, Wan, Hunyuan, Qwen, HiDream, LTX, Z-Image, Chroma, and more)
- Detects adapter type (
LoRA,LyCORIS,LoHa,LoKr,DoRA,GLoRA) - Extracts training metadata when present (steps, epochs, images, resolution, software, and related fields)
- Supports file or folder workflows (including recursive folder scanning)
- Supports
.modelinfokey dumps for debugging and sharing
gui.py: GUI onlyinspect_model.py: model parsing, detection logic, data extraction, CLIrequirements.txt: dependenciesvenv_create.bat: virtual environment bootstrap helpervenv_activate.bat: activate helper
- Create the virtual environment:
venv_create.bat- Activate:
venv_activate.bat- Run GUI:
py gui.py- Run CLI help:
py inspect_model.py --helppy inspect_model.py path\to\model1.safetensors path\to\model2.safetensorspy inspect_model.py path\to\folder
py inspect_model.py path\to\folder --recursivepy inspect_model.py path\to\folder --recursive --jsonpy inspect_model.py path\to\folder --recursive --write-modelinfopy inspect_model.py path\to\folder --recursive --dump-keyspy inspect_model.py path\to\folder --recursive --allow-filename-alias-detection- Drag and drop files or folders into the drop zone
- Use
Browse...orBrowse Folder... Analyzeprocesses queued inputsSettingscontrols visibility and behaviorMinimize/Restorecollapses or expands the top area for more workspace
- Lightweight model cards
- Supports card selection, multi-select, and context menu actions
- Full card details with configured metadata visibility
- Supports card selection, multi-select, and context menu actions
- Supports specific LoRA formats like LoHa, LoKr, GLoRa
- Some fail sometimes (lycoris)
- Sortable/resizable table
- Multi-select cells and copy via
Ctrl+C - Right-click actions (
View Raw,Copy Selected Entries) - Column visibility can be configured in settings
- Per-model raw
.modelinfotext view View Rawcontext action jumps here for the selected modelCtrl+Ccopies the selected text, or the full raw content when no selection exists
- Folder drag/drop and folder browse both support recursive discovery of
.safetensors. - Filtering in the UI affects visibility and copy behavior (hidden rows are excluded from table copy).
.modelinfooutput is generated by shared backend logic ininspect_model.py.- Filename alias detection is opt-in in Settings and can map filename tokens to fallback labels.
Pony7is treated as distinct fromPDXL. The alias tokenspony7,ponyv7, andpony v7map toPony7.
Filename Alias Detection: optional filename-token fallback for special labelsAuto-minimize top section on AnalyzeAuto-analyze when files are addedFile add behavior:Replace current input listAppend to current input list
Default tab:Simple Cards,Detailed Cards,Data, orRaw
Simple Cards: choose which data fields are shownDetailed Cards: choose which data fields are shownData Columns: choose visible columns in the Data tab