Instructions to use f3nc3r/GLiDE-0.4B-Q4_K_M-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 f3nc3r/GLiDE-0.4B-Q4_K_M-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 f3nc3r/GLiDE-0.4B-Q4_K_M-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf f3nc3r/GLiDE-0.4B-Q4_K_M-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf f3nc3r/GLiDE-0.4B-Q4_K_M-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf f3nc3r/GLiDE-0.4B-Q4_K_M-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf f3nc3r/GLiDE-0.4B-Q4_K_M-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf f3nc3r/GLiDE-0.4B-Q4_K_M-GGUF:Q4_K_M
Use Docker
docker model run hf.co/f3nc3r/GLiDE-0.4B-Q4_K_M-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use f3nc3r/GLiDE-0.4B-Q4_K_M-GGUF with Ollama:
ollama run hf.co/f3nc3r/GLiDE-0.4B-Q4_K_M-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use f3nc3r/GLiDE-0.4B-Q4_K_M-GGUF with Docker Model Runner:
docker model run hf.co/f3nc3r/GLiDE-0.4B-Q4_K_M-GGUF:Q4_K_M
- Lemonade
How to use f3nc3r/GLiDE-0.4B-Q4_K_M-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull f3nc3r/GLiDE-0.4B-Q4_K_M-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.GLiDE-0.4B-Q4_K_M-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Fastino GLiDE 0.4B — Q4_K_M GGUF
A Q4_K_M GGUF quantization of Fastino's GLiDE 0.4B. This repository contains the quantized model file; it does not contain the upstream Python package or API server.
Model file
| Property | Value |
|---|---|
| File | fastino-Glide-0.4B-Q4_K_M.gguf |
| Format | GGUF, Q4_K_M |
| File size | 259.74 MiB |
| Architecture | ModernBERT encoder with GLiDE decision readout |
| Readout | 255 option codes (A–JU) |
| Pooling | LAST |
GLiDE is a decision model, not a text-generation model. Given input state and typed questions, it scores the provided choices and returns probabilities. See the upstream repository for model behavior, API details, and license terms.
Download
hf download f3nc3r/GLiDE-0.4B-Q4_K_M-GGUF \
--include "fastino-Glide-0.4B-Q4_K_M.gguf" \
--local-dir ./GLiDE-0.4B-Q4_K_M
llama.cpp execution instructions
This model needs GLiDE's ModernBERT decision support; it is not a standard chat-completion GGUF. For the compatible llama.cpp build and instructions for serving the /v1/systemone decision interface, see fencerJP/llama.cpp-glide.
Conversion and quantization details
This build was produced from the upstream BF16 checkpoint using a GLiDE-aware llama.cpp conversion path:
- Convert the Hugging Face checkpoint to an F16 GGUF intermediate.
- Quantize the F16 GGUF to
Q4_K_Mwithllama-quantize. - Remove the temporary F16 file after quantization; only the Q4_K_M artifact is included here.
GLiDE-specific converter changes
The conversion support used for this build includes:
- Narrowed
pplx-decidercheckpoint detection inconversion/pplx_decider.pyto Qwen3.5 model types (qwen3_5_text,qwen3_5,qwen3_5_moe). This prevents ModernBERT GLiDE checkpoints—which can also containdecision_config.jsonandreadout.safetensors—from being misidentified aspplx-decidercheckpoints. - Added and registered
GlideModernBertModelinconversion/bert.pyandconversion/__init__.py. It exports the ModernBERT encoder weights, recordsLASTpooling, stores the 255 option codes inclassifier.output_labels, and mapsreadout.safetensorsto the GGUF tensorcls.output.weight.
Reproducing the conversion
Use a GLiDE-aware checkout/build of llama.cpp (see llama.cpp-glide). Replace the example paths with your local source and executable paths:
python /path/to/llama.cpp-glide/convert_hf_to_gguf.py \
/path/to/GLiDE-0.4B \
--outfile /tmp/GLiDE-0.4B-f16.gguf \
--outtype f16
/path/to/llama-quantize \
/tmp/GLiDE-0.4B-f16.gguf \
./fastino-Glide-0.4B-Q4_K_M.gguf \
Q4_K_M
The converter must include the GLiDE-specific ModernBERT handling above; a generic llama.cpp build may not recognize this encoder/readout layout.
Quantized artifact
- Quantization:
Q4_K_M - Bits per weight: 5.48 BPW
- Tensor count: 171
- File size: 272,358,688 bytes (259.74 MiB)
- Encoder: ModernBERT (
ModernBertForMaskedLMbackbone) - Decision readout:
cls.output.weight, shape[1024, 255] - Decision labels: 255 option codes (
A–JU) - GGUF metadata:
modern-bert.pooling_type = 3(LAST); labels are stored inmodern-bert.classifier.output_labels
The resulting file is intended for the GLiDE-enabled llama.cpp implementation linked above; it is not a standard generative GGUF.
References
- llama.cpp: HOWTO Add a Model — background on architecture registration and conversion support.
- llama.cpp issue #32152 — context for restricting
pplx-deciderdetection by model type.
License and attribution
This quantization is based on fastino/GLiDE-0.4B. Fastino's contributions are provided under the Fastino Community License; third-party components may have separate terms. Review the upstream NOTICE and license before use.
- Downloads last month
- 135
4-bit
Model tree for f3nc3r/GLiDE-0.4B-Q4_K_M-GGUF
Base model
fastino/GLiDE-0.4B