Instructions to use cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF", filename="NinjaMouse2-2.5B-v0.2-FP32.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF:Q4_K_M
Use Docker
docker model run hf.co/cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF with Ollama:
ollama run hf.co/cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF:Q4_K_M
- Unsloth Studio new
How to use cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF to start chatting
- Docker Model Runner
How to use cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF with Docker Model Runner:
docker model run hf.co/cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF:Q4_K_M
- Lemonade
How to use cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.NinjaMouse2-2.5B-v0.2-iMat-GGUF-Q4_K_M
List all available models
lemonade list
NinjaMouse2-v0.2-iMat-GGUF
Model: NinjaMouse2-2.5B-v0.2
Model creator: trollek
Quantization notes
Made with llama.cpp b3154, all quants were created with imatrix file based on Exllamav2 default dataset.
Original model card
NinjaMouse2-v0.2
A brand spanking new model with a silly name. Brought to you by Anoia, the Goddess of Things That Get Stuck in Drawers, and the psychologial damage of having optic nerves.
With improved image prompting and assistance.
Template
It uses the default template of danube2:
<|prompt|>{{instruction}}</s><|answer|>{{response}}</s>
Image prompting
And can be used with the Ollama ComfyUI extension:
Ollama
ollama pull trollek/ninjamouse2:34l-v02-q6_K
ollama pull trollek/ninjamouse2:34l-v02-q5_K_S
ollama pull trollek/ninjamouse2:34l-v02-q4_K_S
Trying to fine-tune the chat model even further was a mistake, but a valuable one to make. So was the name. The model is delightful though and does quite well, but will be the last Kung Fu Mouse that I make. It does what I wanted the first one to do, and I am kind of proud of this one considering how many failures it took.
The rodents and I thank you for your support.
- Downloads last month
- 71
Model tree for cgus/NinjaMouse2-2.5B-v0.2-iMat-GGUF
Base model
trollek/NinjaMouse2-2.5B-v0.2
