--- 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](https://huggingface.co/spaces/Naphula/model_tools/blob/main/fp32_to_fp16.py) - Converts FP32 to FP16 safetensors # [textonly_ripper.md](https://huggingface.co/spaces/Naphula/model_tools/blob/main/textonly_ripper.md) # [textonly_ripper_v2.py](https://huggingface.co/spaces/Naphula/model_tools/blob/main/textonly_ripper_v2.py) - Converts a sharded, multimodal (text and vision) model into a text-only version # [vocab_resizer.py](https://huggingface.co/spaces/Naphula/model_tools/blob/main/vocab_resizer.py) - Converts models with larger vocab_sizes to a standard size (default 131072 Mistral 24B) for use with mergekit # [folder_content_combiner_anyfiles.py](https://huggingface.co/spaces/Naphula/model_tools/blob/main/folder_content_combiner_anyfiles.py) - Combines all files in the script's current directory into a single output file, sorted alphabetically. # [GGUF Repo Suite](https://huggingface.co/spaces/Naphula/gguf-repo-suite) - Create and quantize Hugging Face models # [Failed Experiment gguf_to_safetensors_v2.py](https://huggingface.co/spaces/Naphula/model_tools/blob/main/gguf_to_safetensors_v2.py) - Unsuccessful attempt by Gemini to patch the gguf_to_safetensors script. Missing json files are hard to reconstruct. Also see [safetensors_meta_ripper_v1.py](https://huggingface.co/spaces/Naphula/model_tools/blob/main/safetensors_meta_ripper_v1.py) and [tokenizer_ripper_v1.py](https://huggingface.co/spaces/Naphula/model_tools/blob/main/tokenizer_ripper_v1.py) # [Markdown Viewer](https://huggingface.co/spaces/Naphula/Portable_Offline_Markdown_Viewer) - Portable Offline Markdown Viewer # Text Analysis Suite - Pending reupload