Instructions to use yashm/gemma4-12b-bioinfo-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use yashm/gemma4-12b-bioinfo-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf yashm/gemma4-12b-bioinfo-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf yashm/gemma4-12b-bioinfo-GGUF:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf yashm/gemma4-12b-bioinfo-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf yashm/gemma4-12b-bioinfo-GGUF:BF16
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 yashm/gemma4-12b-bioinfo-GGUF:BF16 # Run inference directly in the terminal: ./llama-cli -hf yashm/gemma4-12b-bioinfo-GGUF:BF16
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 yashm/gemma4-12b-bioinfo-GGUF:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf yashm/gemma4-12b-bioinfo-GGUF:BF16
Use Docker
docker model run hf.co/yashm/gemma4-12b-bioinfo-GGUF:BF16
- LM Studio
- Jan
- vLLM
How to use yashm/gemma4-12b-bioinfo-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "yashm/gemma4-12b-bioinfo-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "yashm/gemma4-12b-bioinfo-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/yashm/gemma4-12b-bioinfo-GGUF:BF16
- Ollama
How to use yashm/gemma4-12b-bioinfo-GGUF with Ollama:
ollama run hf.co/yashm/gemma4-12b-bioinfo-GGUF:BF16
- Unsloth Desktop
- Pi
How to use yashm/gemma4-12b-bioinfo-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf yashm/gemma4-12b-bioinfo-GGUF:BF16
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "yashm/gemma4-12b-bioinfo-GGUF:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use yashm/gemma4-12b-bioinfo-GGUF with Docker Model Runner:
docker model run hf.co/yashm/gemma4-12b-bioinfo-GGUF:BF16
- Lemonade
How to use yashm/gemma4-12b-bioinfo-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull yashm/gemma4-12b-bioinfo-GGUF:BF16
Run and chat with the model
lemonade run user.gemma4-12b-bioinfo-GGUF-BF16
List all available models
lemonade list
- Hermes Agent
How to use yashm/gemma4-12b-bioinfo-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf yashm/gemma4-12b-bioinfo-GGUF:BF16
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default yashm/gemma4-12b-bioinfo-GGUF:BF16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use yashm/gemma4-12b-bioinfo-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf yashm/gemma4-12b-bioinfo-GGUF:BF16
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "yashm/gemma4-12b-bioinfo-GGUF:BF16" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
gemma4-12b-bioinfo GGUF
This repository contains GGUF files for gemma4-12b-bioinfo, a fine-tuned Gemma 4 12B model for bioinformatics and computational biology.
Use this repository for local inference with llama.cpp, LM Studio, Ollama-compatible workflows, or llama-cpp-python.
The original Hugging Face transformers model is available at: yashm/gemma4-12b-bioinfo.
Files
| File | Description | Recommended use |
|---|---|---|
gemma4-12b-bioinfo-Q4_K_M.gguf |
4-bit quantized GGUF | Recommended for most local GPU/CPU inference |
gemma4-12b-bioinfo-BF16.gguf |
BF16 GGUF | Higher fidelity, much larger memory requirement |
Important Prompt Format
Use the Gemma 4 turn format below. Do not add <bos> manually for the GGUF prompt.
<|turn>user
Your question here
<|turn>model
Download
huggingface-cli download yashm/gemma4-12b-bioinfo-GGUF gemma4-12b-bioinfo-Q4_K_M.gguf --local-dir .
For the BF16 file:
huggingface-cli download yashm/gemma4-12b-bioinfo-GGUF gemma4-12b-bioinfo-BF16.gguf --local-dir .
Quick Start: llama.cpp CLI
cat > prompt.txt <<'EOF'
<|turn>user
Explain the role of CRISPR-Cas9 in genome editing in two concise sentences.
<|turn>model
EOF
./llama.cpp/build/bin/llama-cli \
-m ./gemma4-12b-bioinfo-Q4_K_M.gguf \
-f prompt.txt \
-n 512 \
-c 2048 \
--temp 0.2 \
--top-p 0.9 \
-ngl 99
Use the BF16 GGUF by changing only the model path:
./llama.cpp/build/bin/llama-cli \
-m ./gemma4-12b-bioinfo-BF16.gguf \
-f prompt.txt \
-n 512 \
-c 2048 \
--temp 0.2 \
--top-p 0.9 \
-ngl 99
Quick Start: llama-cpp-python
from llama_cpp import Llama
llm = Llama(
model_path="./gemma4-12b-bioinfo-Q4_K_M.gguf",
n_ctx=2048,
n_gpu_layers=-1, # use GPU offload when available; set 0 for CPU-only
verbose=False,
)
question = "Explain the significance of CRISPR-Cas9 in functional genomics."
prompt = f"<|turn>user\n{question}<|turn>model\n"
output = llm(
prompt,
max_tokens=512,
temperature=0.2,
top_p=0.9,
repeat_penalty=1.1,
stop=["<|turn>user", "<eos>"],
echo=False,
)
print(output["choices"][0]["text"].strip())
To use the BF16 GGUF in Python, change only:
model_path="./gemma4-12b-bioinfo-BF16.gguf"
Suggested Settings
| Setting | Value |
|---|---|
| Context length | 2048 |
| Temperature | 0.2 |
| Top-p | 0.9 |
| Repeat penalty | 1.1 |
| Stop strings | `["< |
| GPU layers | -ngl 99 in llama.cpp or n_gpu_layers=-1 in llama-cpp-python |
Intended Use and Limitations
This model is intended for research, education, and computational biology assistance. It is not a medical device and should not be used for clinical diagnosis, treatment decisions, or professional medical advice. Always verify outputs against trusted databases, literature, and qualified experts.
Citation
@misc{gemma4-12b-bioinfo_2026_gguf,
author = {yashm},
title = {gemma4-12b-bioinfo GGUF: Fine-Tuned Gemma 4 12B for Bioinformatics},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/yashm/gemma4-12b-bioinfo-GGUF}}
}
- Downloads last month
- 136
4-bit
16-bit