model_tools / README.md
Naphula's picture
Update README.md
096ee84 verified
metadata
title: Model Tools
emoji: 📚
colorFrom: pink
colorTo: yellow
sdk: static
pinned: false

Model Tools by Naphula

Tools to enhance LLM quantizations and merging

fp32_to_fp16.py

  • Converts FP32 to FP16 safetensors

textonly_ripper_v2.py

  • Converts a sharded, multimodal (text and vision) model into a text-only version. Readme at textonly_ripper.md

vocab_resizer.py

  • Converts models with larger vocab_sizes to a standard size (default 131072 Mistral 24B) for use with mergekit. Note that tokenizer.model must be manually copied into the /fixed/ folder.

folder_content_combiner_anyfiles.py

  • Combines all files in the script's current directory into a single output file, sorted alphabetically.

GGUF Repo Suite

  • Create and quantize Hugging Face models

Failed Experiment gguf_to_safetensors_v2.py

Markdown Viewer

  • Portable Offline Markdown Viewer

Markdown to SMF

  • Converts a Markdown string to an SMF-compatible BBCode string. Not perfect—sometimes misses double bold tags.

Quant Clone

Text Analysis Suite

  • Pending reupload