Instructions to use QuantFactory/Gemmasutra-Mini-2B-v1-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use QuantFactory/Gemmasutra-Mini-2B-v1-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="QuantFactory/Gemmasutra-Mini-2B-v1-GGUF", filename="Gemmasutra-Mini-2B-v1.Q2_K.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 QuantFactory/Gemmasutra-Mini-2B-v1-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf QuantFactory/Gemmasutra-Mini-2B-v1-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf QuantFactory/Gemmasutra-Mini-2B-v1-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 QuantFactory/Gemmasutra-Mini-2B-v1-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf QuantFactory/Gemmasutra-Mini-2B-v1-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 QuantFactory/Gemmasutra-Mini-2B-v1-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf QuantFactory/Gemmasutra-Mini-2B-v1-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 QuantFactory/Gemmasutra-Mini-2B-v1-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf QuantFactory/Gemmasutra-Mini-2B-v1-GGUF:Q4_K_M
Use Docker
docker model run hf.co/QuantFactory/Gemmasutra-Mini-2B-v1-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use QuantFactory/Gemmasutra-Mini-2B-v1-GGUF with Ollama:
ollama run hf.co/QuantFactory/Gemmasutra-Mini-2B-v1-GGUF:Q4_K_M
- Unsloth Studio new
How to use QuantFactory/Gemmasutra-Mini-2B-v1-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 QuantFactory/Gemmasutra-Mini-2B-v1-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 QuantFactory/Gemmasutra-Mini-2B-v1-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for QuantFactory/Gemmasutra-Mini-2B-v1-GGUF to start chatting
- Docker Model Runner
How to use QuantFactory/Gemmasutra-Mini-2B-v1-GGUF with Docker Model Runner:
docker model run hf.co/QuantFactory/Gemmasutra-Mini-2B-v1-GGUF:Q4_K_M
- Lemonade
How to use QuantFactory/Gemmasutra-Mini-2B-v1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull QuantFactory/Gemmasutra-Mini-2B-v1-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Gemmasutra-Mini-2B-v1-GGUF-Q4_K_M
List all available models
lemonade list
QuantFactory/Gemmasutra-Mini-2B-v1-GGUF
This is quantized version of TheDrummer/Gemmasutra-Mini-2B-v1 created using llama.cpp
Original Model Card
Join our Discord! https://discord.gg/Nbv9pQ88Xb
Works on Kobold 1.72 and Layla (iOS / Android)
BeaverAI team proudly presents
Gemmasutra Mini 2B v1 ๐ง
Gemma's been training for ALL of you.
A tiny RP model packing an unbelievable PUNCH. Finetuned by yours truly.
Description
Gone are the days when models below 7B were too small to give you a satisfying RP experience.
Gemmasutra Mini 2B v1 marks the beginning of a new chapter in our local LLM community.
Be it in your browser, your crappy laptop, your mid-tier phone running Layla, or your Raspberry Pi...
This lil 2B will give you a playthrough worth having.
A model for thee, a model for all!
(And yes, it is uncensored and unaligned. Enjoy!)
Links
- Original: https://huggingface.co/TheDrummer/Gemmasutra-Mini-2B-v1
- GGUF: https://huggingface.co/TheDrummer/Gemmasutra-Mini-2B-v1-GGUF
- iMatrix (recommended / better quants): https://huggingface.co/MarsupialAI/Gemmasutra-Mini-2B-v1_iMatrix_GGUF
Usage
- For the best experience, use the Gemma Instruct template and modify it to support the
systemrole (e.g.,<start_of_turn>system) - Chat Completion works well too
- Don't use it for Math
Examples
A big thanks to @kurgan1138 for most of the logs!
SFW
4K context
NSFW NSFW NSFW NSFW NSFW
NSFW NSFW NSFW NSFW NSFW
NSFW NSFW NSFW NSFW NSFW
Forgiveness Meter
Group Character
- Downloads last month
- 229
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
















