How to use from
OpenClaw
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf Guilherme34/Firefly-v4-BetterGGUF:
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 "Guilherme34/Firefly-v4-BetterGGUF:" \
  --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"
Quick Links

Firefly-v4 GGUF

Polished GGUF quantizations of Firefly-v4, with experimental Multi-Token Prediction support for compatible inference backends.

GGUF MTP Vision Audio Gemma 4 Roleplay Reasoning
Format
GGUF
Feature
MTP Ready
Focus
Creative
Mode
Multimodal

About

This repository contains GGUF conversions of Firefly-v4, a multimodal fine-tune based on p-e-w/gemma-4-E2B-it-heretic-ara.

These files are intended for local inference with GGUF-compatible software such as:

llama.cpp LM Studio KoboldCpp Jan Text Generation WebUI Ollama

Original model: https://huggingface.co/Guilherme34/Firefly-v4


MTP Support

Includes experimental Multi-Token Prediction support. Performance and compatibility depend on your inference backend.

Multimodal

Retains Gemma 4's native multimodal capabilities, including image and audio understanding.

Creative Focus

Optimized for creative writing, roleplay, long conversations, and general instruction following.

Optional Reasoning

Supports the <|think|> tag for switchable reasoning on compatible backends.


A Small Note

This GGUF release includes experimental MTP support.

I was not originally planning to spend much time on Firefly-v4's GGUF release, but many people have enjoyed using the model. Because of that, I decided to give this repository the attention it deserves and polish it properly.

That said, I still personally consider Firefly-v3 to be my best model overall. Everyone has different preferences, though, and I am happy to continue supporting Firefly-v4 for those who enjoy it.

Thank you to everyone who has shared feedback and supported the project.


Recommended

Quant Recommendation
Q4_K_M Recommended for most users
Q4_K_S Fast and efficient
Q6_K Excellent quality
Q8_0 Highest GGUF quality
F16 Maximum precision

Available

Type Notes
Q2_K Smallest size
Q3_K_S Low-memory systems
Q3_K_M Balanced
Q3_K_L Improved Q3 quality
IQ4_XS Excellent efficiency
Q4_K_S Fast
Q4_K_M Recommended
Q5_K_S Higher quality
Q5_K_M Higher quality
Q6_K Excellent quality
Q8_0 Near-lossless
F16 Full precision

Attribution

Original Model: Firefly-v4
Author: Guilherme34

Base Model: p-e-w/gemma-4-E2B-it-heretic-ara

This repository contains only GGUF conversions. All credit for the model training, fine-tuning, datasets, and original work belongs to the original author.


License

This repository is distributed under the Firefly-v4 Attribution License.

Commercial use, quantizations, merges, and derivative works are permitted under the terms described in the included LICENSE file.

Please preserve the required attribution when redistributing or building upon this model.

⚠️ Disclaimer

This model is uncensored and will generate content without built-in refusals. It is intended for creative fiction and roleplay between consenting adults. The creator is not responsible for how the model is used. Do not use it to produce content that is illegal in your jurisdiction.


Thank you for using Firefly-v4 GGUF

If you enjoy this release, consider checking out the original model and supporting future development.

Original Model: https://huggingface.co/Guilherme34/Firefly-v4

Downloads last month
1,625
GGUF
Model size
5B params
Architecture
gemma4
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Guilherme34/Firefly-v4-BetterGGUF

Quantized
(4)
this model