Instructions to use Kethanvr/petty-gemma-2b-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kethanvr/petty-gemma-2b-gguf with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Kethanvr/petty-gemma-2b-gguf", dtype="auto") - llama-cpp-python
How to use Kethanvr/petty-gemma-2b-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Kethanvr/petty-gemma-2b-gguf", filename="final_gguf_petty.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Kethanvr/petty-gemma-2b-gguf with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Kethanvr/petty-gemma-2b-gguf # Run inference directly in the terminal: llama-cli -hf Kethanvr/petty-gemma-2b-gguf
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Kethanvr/petty-gemma-2b-gguf # Run inference directly in the terminal: llama-cli -hf Kethanvr/petty-gemma-2b-gguf
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 Kethanvr/petty-gemma-2b-gguf # Run inference directly in the terminal: ./llama-cli -hf Kethanvr/petty-gemma-2b-gguf
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 Kethanvr/petty-gemma-2b-gguf # Run inference directly in the terminal: ./build/bin/llama-cli -hf Kethanvr/petty-gemma-2b-gguf
Use Docker
docker model run hf.co/Kethanvr/petty-gemma-2b-gguf
- LM Studio
- Jan
- Ollama
How to use Kethanvr/petty-gemma-2b-gguf with Ollama:
ollama run hf.co/Kethanvr/petty-gemma-2b-gguf
- Unsloth Studio
How to use Kethanvr/petty-gemma-2b-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 Kethanvr/petty-gemma-2b-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 Kethanvr/petty-gemma-2b-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Kethanvr/petty-gemma-2b-gguf to start chatting
- Docker Model Runner
How to use Kethanvr/petty-gemma-2b-gguf with Docker Model Runner:
docker model run hf.co/Kethanvr/petty-gemma-2b-gguf
- Lemonade
How to use Kethanvr/petty-gemma-2b-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Kethanvr/petty-gemma-2b-gguf
Run and chat with the model
lemonade run user.petty-gemma-2b-gguf-{{QUANT_TAG}}List all available models
lemonade list
output = llm(
"Once upon a time,",
max_tokens=512,
echo=True
)
print(output)Petty AI - Pet Care Assistant (GGUF)
A fine-tuned Gemma 2B model specialized for pet care advice and assistance.
Model Details
- Base Model: Google Gemma 2B
- Format: GGUF (f16)
- Size: ~4.9GB
- Use Case: Pet health advice, care tips, behavior guidance
Usage in LM Studio
- Copy this repository URL:
https://huggingface.co/Kethanvr/petty-gemma-2b-gguf - In LM Studio, go to "Search" tab
- Paste the URL or search for "Kethanvr/petty-gemma-2b-gguf"
- Download and start chatting!
Sample Prompts
- "My dog isn't eating well, what should I do?"
- "How often should I groom my cat?"
- "What are signs of illness in pets?"
- "Best diet for senior dogs"
Recommended Settings
- Temperature: 0.7
- Top-p: 0.9
- Max tokens: 200-500
- Downloads last month
- 13
Hardware compatibility
Log In to add your hardware
We're not able to determine the quantization variants.
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
Model tree for Kethanvr/petty-gemma-2b-gguf
Base model
google/gemma-2b
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Kethanvr/petty-gemma-2b-gguf", filename="", )