Instructions to use tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF", device_map="auto") - llama-cpp-python
How to use tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF", filename="Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-Q4_K.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 tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-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 tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF:Q4_0 # Run inference directly in the terminal: llama cli -hf tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF:Q4_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF:Q4_0 # Run inference directly in the terminal: llama cli -hf tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF:Q4_0
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 tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF:Q4_0 # Run inference directly in the terminal: ./llama-cli -hf tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF:Q4_0
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 tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF:Q4_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF:Q4_0
Use Docker
docker model run hf.co/tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF:Q4_0
- LM Studio
- Jan
- Ollama
How to use tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF with Ollama:
ollama run hf.co/tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF:Q4_0
- Unsloth Studio
How to use tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-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 tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-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 tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF to start chatting
- Pi
How to use tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF:Q4_0
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": "tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF:Q4_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-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 tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF:Q4_0
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 tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF:Q4_0
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF:Q4_0
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 "tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF:Q4_0" \ --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"
- Docker Model Runner
How to use tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF with Docker Model Runner:
docker model run hf.co/tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF:Q4_0
- Lemonade
How to use tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tinybiggames/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF:Q4_0
Run and chat with the model
lemonade run user.Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF-Q4_0
List all available models
lemonade list
Duplicate from huihui-ai/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF
Browse files|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-bf16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
mmproj-model-bf16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
mtp-ggml-model-bf16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-Q4_K.gguf filter=lfs diff=lfs merge=lfs -text
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64434f2da081f912729e5c4732def7303eb5244d3fee493b9675bc4e9af52d4c
|
| 3 |
+
size 5302272352
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95cfed74e38ffa7ceb65565f7dd27a56445b48fcc302ba906c33dcb050c9e081
|
| 3 |
+
size 14942970208
|
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
---
|
| 3 |
+
library_name: transformers
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
license_link: https://ai.google.dev/gemma/docs/gemma_4_license
|
| 6 |
+
pipeline_tag: any-to-any
|
| 7 |
+
base_model:
|
| 8 |
+
- google/gemma-4-E4B-it-qat-q4_0-unquantized
|
| 9 |
+
tags:
|
| 10 |
+
- abliterated
|
| 11 |
+
- uncensored
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# huihui-ai/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
This is an uncensored version of [google/gemma-4-E4B-it-qat-q4_0-unquantized](https://huggingface.co/google/gemma-4-E4B-it-qat-q4_0-unquantized) created with abliteration (see [remove-refusals-with-transformers](https://github.com/Sumandora/remove-refusals-with-transformers) to know more about it).
|
| 18 |
+
This is a crude, proof-of-concept implementation to remove refusals from an LLM model without using TransformerLens.
|
| 19 |
+
|
| 20 |
+
## ollama
|
| 21 |
+
|
| 22 |
+
Please use the latest version of [ollama](https://github.com/ollama/ollama/releases/)
|
| 23 |
+
|
| 24 |
+
You can use [huihui_ai/gemma-4-abliterated:E4B-qat](https://ollama.com/huihui_ai/gemma-4-abliterated:E4B-qat) directly,
|
| 25 |
+
```
|
| 26 |
+
ollama run huihui_ai/gemma-4-abliterated:E4B-qat
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
## GGUF
|
| 31 |
+
|
| 32 |
+
Please use the latest version of [ggml-org/llama.cpp](https://github.com/ggml-org/llama.cpp/releases)
|
| 33 |
+
|
| 34 |
+
```
|
| 35 |
+
apt-get update
|
| 36 |
+
apt-get install pciutils build-essential cmake curl libcurl4-openssl-dev -y
|
| 37 |
+
git clone https://github.com/ggml-org/llama.cpp
|
| 38 |
+
cmake llama.cpp -B llama.cpp/build \
|
| 39 |
+
-DBUILD_SHARED_LIBS=OFF -DGGML_CUDA=ON
|
| 40 |
+
cmake --build llama.cpp/build --config Release -j --clean-first --target llama-cli llama-mtmd-cli llama-server llama-gguf-split
|
| 41 |
+
cp llama.cpp/build/bin/llama-* llama.cpp
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
```
|
| 45 |
+
./llama.cpp/llama-cli \
|
| 46 |
+
-m huihui-ai/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-Q4_K.gguf \
|
| 47 |
+
-ngl 99 -c 262144 \
|
| 48 |
+
--spec-type draft-mtp \
|
| 49 |
+
--spec-draft-n-max 4 \
|
| 50 |
+
--spec-draft-model huihui-ai/Huihui-gemma-4-E4B-it-qat-q4_0-unquantized-abliterated-GGUF/mtp-ggml-model-bf16.gguf
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
### Usage Warnings
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
- **Risk of Sensitive or Controversial Outputs**: This model’s safety filtering has been significantly reduced, potentially generating sensitive, controversial, or inappropriate content. Users should exercise caution and rigorously review generated outputs.
|
| 57 |
+
|
| 58 |
+
- **Not Suitable for All Audiences**: Due to limited content filtering, the model’s outputs may be inappropriate for public settings, underage users, or applications requiring high security.
|
| 59 |
+
|
| 60 |
+
- **Legal and Ethical Responsibilities**: Users must ensure their usage complies with local laws and ethical standards. Generated content may carry legal or ethical risks, and users are solely responsible for any consequences.
|
| 61 |
+
|
| 62 |
+
- **Research and Experimental Use**: It is recommended to use this model for research, testing, or controlled environments, avoiding direct use in production or public-facing commercial applications.
|
| 63 |
+
|
| 64 |
+
- **Monitoring and Review Recommendations**: Users are strongly advised to monitor model outputs in real-time and conduct manual reviews when necessary to prevent the dissemination of inappropriate content.
|
| 65 |
+
|
| 66 |
+
- **No Default Safety Guarantees**: Unlike standard models, this model has not undergone rigorous safety optimization. huihui.ai bears no responsibility for any consequences arising from its use.
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
### Donation
|
| 70 |
+
##### Your donation helps us continue our further development and improvement, a cup of coffee can do it.
|
| 71 |
+
- bitcoin:
|
| 72 |
+
```
|
| 73 |
+
bc1qqnkhuchxw0zqjh2ku3lu4hq45hc6gy84uk70ge
|
| 74 |
+
```
|
| 75 |
+
- Support our work on [Ko-fi](https://ko-fi.com/huihuiai)!
|
| 76 |
+
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed22c2c5277b72aa4ef5f94e8a081219eb7615bbfb30bc4087c97e2c2b522374
|
| 3 |
+
size 991552000
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f784491087cdcbfdd2307648ccfc5af1c06d9aa17759587cd87078eb1c453c59
|
| 3 |
+
size 171784672
|