Instructions to use llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF", dtype="auto") - llama-cpp-python
How to use llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF", filename="gemma-4-26B-A4B-it-mmproj-BF16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-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 llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-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 llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-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 llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF:Q4_K_M
Use Docker
docker model run hf.co/llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-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": "llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF:Q4_K_M
- SGLang
How to use llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Ollama
How to use llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF with Ollama:
ollama run hf.co/llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF:Q4_K_M
- Unsloth Studio new
How to use llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-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 llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-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 llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF to start chatting
- Pi new
How to use llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF:Q4_K_M
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 llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF with Docker Model Runner:
docker model run hf.co/llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF:Q4_K_M
- Lemonade
How to use llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF-Q4_K_M
List all available models
lemonade list
No reasoning?
Why does this not have reasoning while the base model does?
Hi,
The official base model here: google/gemma-4-26B-A4B-it and this model: llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF have both reasoning, but by default on the official base model reasoning is disabled as it is with this model, you can enable it if you want, in LM Studio go into "Inference", then scroll down, then click on "Prompt Template" and add at the very top:
{%- set enable_thinking = true -%}
And then you have reasoning, to disable reasoning again, simply remove it.
You are probably thinking of lmstudio-community/gemma-4-26B-A4B-it-GGUF when you say this, but this is a custom version made for LM Studio by lmstudio-community that adds a enable/disable reasoning toggle, however this is not the official version, the official version is here: google/gemma-4-26B-A4B-it which does not have that enable/disable toggle and that's the one my heretic is based on, so to enable/disable reasoning just add that single line at the very top like I explained above.
You can easy (2minutes of work) add yourself reasoning toggle same as LmStudio model have. It will work for any model, no metter heretic or base.
Basicly you create 1 file with notepad named: model.yaml
Here someone make instruction - https://www.reddit.com/r/LocalLLaMA/comments/1sc9s1x/tutorial_how_to_toggle_onoff_the_thinking_mode/
You can easy (2minutes of work) add yourself reasoning toggle same as LmStudio model have. It will work for any model, no metter heretic or base.
Basicly you create 1 file with notepad named: model.yaml
Here someone make instruction - https://www.reddit.com/r/LocalLLaMA/comments/1sc9s1x/tutorial_how_to_toggle_onoff_the_thinking_mode/
Yeah that won't work because this is just a workaround, it's not integrated inside the GGUFs, so this is not something that I upload and people can just download and just enable/disable reasoning.
What you see in lmstudio-community releases is something just for their own releases, I literally cannot add the toggle to my Hugging Face GGUF repos. The mechanism that lmstudio-community uses isn't in their GGUF repos either, it's in LM Studio's Hub, which is a separate system that community uploaders don't have access to. Even if you I put a model.yaml in my Hugging Face repos, LM Studio won't read it from there; it only reads yamls from its own hub cache directory. The Reddit tutorial is just instructing users to manually create the hub cache entries that LM Studio would normally create automatically for official Hub models.
You want to enable/disable reasoning, just follow the instructions here: https://huggingface.co/llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF/discussions/1#69dff308da6936595aa47469
Thanks for the response! I will try!
to bad you can't set a custom <|channel>thought in LM studio. Never mind found it...
(Amazing btw. that you got all that from just one sentence!)
Thanks for the response! I will try!
Cool.
You can easy (2minutes of work) add yourself reasoning toggle same as LmStudio model have. It will work for any model, no metter heretic or base.
Basicly you create 1 file with notepad named: model.yaml
Here someone make instruction - https://www.reddit.com/r/LocalLLaMA/comments/1sc9s1x/tutorial_how_to_toggle_onoff_the_thinking_mode/Yeah that won't work because this is just a workaround, it's not integrated inside the GGUFs, so this is not something that I upload and people can just download and just enable/disable reasoning.
What you see in
lmstudio-communityreleases is something just for their own releases, I literally cannot add the toggle to my Hugging Face GGUF repos. The mechanism thatlmstudio-communityuses isn't in their GGUF repos either, it's in LM Studio's Hub, which is a separate system that community uploaders don't have access to. Even if you I put amodel.yamlin my Hugging Face repos, LM Studio won't read it from there; it only reads yamls from its own hub cache directory. The Reddit tutorial is just instructing users to manually create the hub cache entries that LM Studio would normally create automatically for official Hub models.You want to enable/disable reasoning, just follow the instructions here: https://huggingface.co/llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF/discussions/1#69dff308da6936595aa47469
I write it to Op just make it for yourself and got toggle for reasoning.
Didn't mean You add something to gguf's.
Just people should know how easy they can do it themself.
Edit:
Other part is: yes You can create this file for that repo and put it to hf - with note people should replace this file to there's Hub folder.
You can easy (2minutes of work) add yourself reasoning toggle same as LmStudio model have. It will work for any model, no metter heretic or base.
Basicly you create 1 file with notepad named: model.yaml
Here someone make instruction - https://www.reddit.com/r/LocalLLaMA/comments/1sc9s1x/tutorial_how_to_toggle_onoff_the_thinking_mode/Yeah that won't work because this is just a workaround, it's not integrated inside the GGUFs, so this is not something that I upload and people can just download and just enable/disable reasoning.
What you see in
lmstudio-communityreleases is something just for their own releases, I literally cannot add the toggle to my Hugging Face GGUF repos. The mechanism thatlmstudio-communityuses isn't in their GGUF repos either, it's in LM Studio's Hub, which is a separate system that community uploaders don't have access to. Even if you I put amodel.yamlin my Hugging Face repos, LM Studio won't read it from there; it only reads yamls from its own hub cache directory. The Reddit tutorial is just instructing users to manually create the hub cache entries that LM Studio would normally create automatically for official Hub models.You want to enable/disable reasoning, just follow the instructions here: https://huggingface.co/llmfan46/gemma-4-26B-A4B-it-ultra-uncensored-heretic-GGUF/discussions/1#69dff308da6936595aa47469
I write it to Op just make it for yourself and got toggle for reasoning.
Didn't mean You add something to gguf's.
Just people should know how easy they can do it themself.
Oh sorry, I misunderstood, thought you wanted me to implement it in my GGUFs since you did not quote OP in your reply.