Instructions to use joeh-ops/geothreat-gemma3-4b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use joeh-ops/geothreat-gemma3-4b with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="joeh-ops/geothreat-gemma3-4b", filename="model-Q6_K-20260608.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use joeh-ops/geothreat-gemma3-4b with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf joeh-ops/geothreat-gemma3-4b:Q6_K # Run inference directly in the terminal: llama-cli -hf joeh-ops/geothreat-gemma3-4b:Q6_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf joeh-ops/geothreat-gemma3-4b:Q6_K # Run inference directly in the terminal: llama-cli -hf joeh-ops/geothreat-gemma3-4b:Q6_K
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 joeh-ops/geothreat-gemma3-4b:Q6_K # Run inference directly in the terminal: ./llama-cli -hf joeh-ops/geothreat-gemma3-4b:Q6_K
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 joeh-ops/geothreat-gemma3-4b:Q6_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf joeh-ops/geothreat-gemma3-4b:Q6_K
Use Docker
docker model run hf.co/joeh-ops/geothreat-gemma3-4b:Q6_K
- LM Studio
- Jan
- Ollama
How to use joeh-ops/geothreat-gemma3-4b with Ollama:
ollama run hf.co/joeh-ops/geothreat-gemma3-4b:Q6_K
- Unsloth Studio
How to use joeh-ops/geothreat-gemma3-4b 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 joeh-ops/geothreat-gemma3-4b 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 joeh-ops/geothreat-gemma3-4b to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for joeh-ops/geothreat-gemma3-4b to start chatting
- Docker Model Runner
How to use joeh-ops/geothreat-gemma3-4b with Docker Model Runner:
docker model run hf.co/joeh-ops/geothreat-gemma3-4b:Q6_K
- Lemonade
How to use joeh-ops/geothreat-gemma3-4b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull joeh-ops/geothreat-gemma3-4b:Q6_K
Run and chat with the model
lemonade run user.geothreat-gemma3-4b-Q6_K
List all available models
lemonade list
llm.create_chat_completion(
messages = "No input example has been defined for this model task."
)GeoThreat Gemma 3 4B
Fine-tuned GeoThreat Gemma 3 4B for threat intelligence summarisation.
Training Details
- Base model: google/gemma-3-4b-it
- Method: LoRA SFT + DPO
- Quantisation: GGUF Q6_K
- Training date: 2026-06-08
- Dataset size: 157735 examples
Training Metrics
SFT
| Metric | Value |
|---|
DPO
| Metric | Value |
|---|
Usage
ollama create geothreat-gemma3 -f Modelfile
ollama run geothreat-gemma3
- Downloads last month
- -
Hardware compatibility
Log In to add your hardware
6-bit
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="joeh-ops/geothreat-gemma3-4b", filename="", )