.GGUF

GGUF-bestand

GGML Universal Format File
Stel een vraag
SNEL ANTWOORD

Een .gguf-bestand is een GGML Universal Format-bestand, de binaire container die wordt gebruikt door llama.cpp en gerelateerde tools om een groot taalmodel als één enkel bestand op te slaan. Het bevat de modelgewichten, de tokenizer en alle metadata samen, meestal gekwantiseerd zodat het model op gewone hardware kan draaien. Open of draai een .gguf-model met een lokale inference-app zoals LM Studio, Ollama, Jan of GPT4All, of laad het rechtstreeks met llama.cpp.

Ontwikkelaar: Georgi Gerganov and the ggml/llama.cpp community Categorie: Gegevensbestanden Open standaard MIME: application/octet-stream
OPENT OP Windows macOS Linux Web
Gerelateerd: .PKPASS · .DAT · .JSON · .RIS

Op deze pagina

19k+ extensies geïndexeerd
Laatst beoordeeld op Sep 4, 2026

Niet zeker wat uw bestand is?

Sleep een bestand naar onze identificatietool - we lezen alleen de eerste bytes om het formaat te benoemen.

Identificeer een bestand

Wat is het GGUF-bestandsformaat?

Een .gguf-bestand is een GGML Universal Format-bestand, de binaire container die door llama.cpp wordt gebruikt om een groot taalmodel op te slaan. Georgi Gerganov en de ggml-gemeenschap introduceerden het in augustus 2023 als de opvolger van de oudere GGML-, GGMF- en GGJT-formaten. Een enkel .gguf-bestand bevat de modelgewichten, de tokenizer en elke hyperparameter als getypeerde sleutel-waarde-metadata, zodat er geen aparte configuratiebestanden nodig zijn om het model te laden en uit te voeren.

Het formaat is gebouwd om onafhankelijk, uitbreidbaar en memory-mappable te zijn. Omdat metadata wordt opgeslagen als sleutel-waardeparen met namespaces in plaats van een vaste lijst, kunnen nieuwe velden worden toegevoegd zonder oudere lezers te breken. Gewichten zijn meestal gekwantiseerd, van 2-bit tot 8-bit en inclusief K-quants zoals Q4_K_M, waardoor aanzienlijke modellen op consumenten-CPUs en -GPUs kunnen draaien. Elk bestand begint met de vier-byte magic string GGUF, gevolgd door een versienummer; de huidige versie is 3.

Beveiliging & veiligheid

RISICO: LOW

GGUF is a data container for model weights and metadata, not an executable, so opening one does not run code by itself. The main practical risks are large file sizes and downloading models from untrusted sources; a malformed file could in theory exploit a bug in the loader, so use up-to-date inference tools and reputable model repositories.

Formaatdetails

in een notendop
VOLLEDIGE NAAMGGML Universal Format Fileook bekend als GGML Universal File, GGUF model
ONTWIKKELAARGeorgi Gerganov and the ggml/llama.cpp communitysinds August 2023
MIME-TYPEapplication/octet-stream
TYPEBinary
STANDAARDOpen · royaltyvrij
Deze extensie wordt ook gebruikt door…
  • Genome Graphical User Format - Rarely, .gguf has been used ad hoc by hobby projects for GUI layout data, unrelated to the machine-learning format described here.
MAGIC BYTES · BESTANDSSIGNATUUR
OFFSET
00010203
HEX
47475546
ASCII
GGUF
First 4 bytes are the ASCII string GGUF (0x47 0x47 0x55 0x46), followed by a 4-byte version, 8-byte tensor count and 8-byte metadata count.

Programma's die GGUF-bestanden openen

Windows6 apps
LM Studio Freemium Browse, download and chat with .gguf models through a desktop GUI, with per-model quantization choices.
Ollama Open-source Load a local .gguf file via a Modelfile and serve it for chat or API use with one command.
llama.cpp Open-source Run inference directly on a .gguf model with llama-cli or llama-server, the reference implementation of the format.
Jan Open-source Import a .gguf file and run it fully offline in a ChatGPT-style desktop app.
GPT4All Open-source Add a downloaded .gguf model to the local model folder and chat with it offline.
koboldcpp Open-source Load a .gguf model for text generation and roleplay with a self-contained executable.
macOS4 apps
LM Studio Freemium Download and run .gguf models with Apple Silicon acceleration through a desktop GUI.
Ollama Open-source Serve a local .gguf model via a Modelfile using Metal acceleration on Apple hardware.
llama.cpp Open-source Run .gguf models with llama-cli, built with Metal support for Apple Silicon.
Jan Open-source Import and run .gguf models offline in a native desktop client.
Linux4 apps
llama.cpp Open-source Build from source and run .gguf models with CUDA, ROCm or CPU backends via llama-cli and llama-server.
Ollama Open-source Register a local .gguf file with a Modelfile and serve it over the Ollama API.
LM Studio Freemium Run .gguf models with a desktop GUI and GPU offload on supported hardware.
text-generation-webui Open-source Load .gguf models through the llama.cpp loader in a browser-based interface.
Web1 app
Hugging Face GGUF viewer Gratis Inspect a .gguf file's metadata, tensor list and quantization in the browser without downloading it.

Technische details

diepe specificaties
EncodingBinary
Byte orderLittle-endian by default; big-endian supported since version 3
ContainerSingle-file container holding header, metadata key-value block, tensor info block and raw tensor data
CompressionNone as a container; weights are stored using GGUF quantization schemes (Q2 through Q8, K-quants such as Q4_K_M, IQ variants, plus F16/BF16/F32)
Typical sizeRoughly 0.5 GB to over 100 GB depending on parameter count and quantization level
StructureHeader (magic, version, tensor count, metadata count) then namespaced key-value metadata, then per-tensor info (name, dimensions, type, offset), then aligned raw tensor data. Default alignment is 32 bytes and must be a multiple of 8.
IntegrityNo built-in checksum; the metadata block is self-describing and validated at load time
PlatformsWindows, macOS, Linux
NotesA GGUF file is self-contained: it bundles the model weights, tokenizer and all hyperparameters as typed metadata, so no separate config files are needed. Metadata keys use lower_snake_case with period-separated namespaces and keys can be up to 65,535 bytes. Over 40 quantization types are supported. Large models can be sharded across multiple .gguf files with llama-gguf-split.
UitgebrachtAugust 2023
Laatste versieVersion 3
Open standaardJa · royaltyvrij
Specificatiegithub.com

GGUF conversies

Community V&A

gevraagd door gebruikers
Stel een korte vraag
Krijg hulp van mensen die met GGUF-bestanden werken. Wees specifiek - vermeld uw systeem en softwareversie.
Geen account nodig · antwoorden meestal binnen een dag

Nog geen vragen - wees de eerste om iets te vragen over GGUF-bestanden.

Veelgestelde vragen

Hoe open ik een GGUF-bestand?
Gebruik een lokale LLM-runner zoals LM Studio, Ollama, Jan of GPT4All, of laad het rechtstreeks met llama.cpp. Deze tools lezen het .gguf-bestand en laten u chatten met het model. Dubbelklikken op het bestand zal op zichzelf niets nuttigs doen.
Welk programma maakt GGUF-bestanden?
Ze worden geproduceerd door de llama.cpp-conversiescripts, voornamelijk convert_hf_to_gguf.py, dat een Hugging Face-model omzet in een .gguf, optioneel gevolgd door llama-quantize om het te verkleinen naar een lagere kwantisering zoals Q4_K_M.
Wat betekent de Q4_K_M in een GGUF-bestandsnaam?
Het is het kwantiseringstype. Q4 betekent ruwweg 4-bit gewichten, K verwijst naar de blokgebaseerde K-quant-methode, en M is de medium grootte/kwaliteit variant. Lagere getallen geven kleinere bestanden en lagere kwaliteit; F16 of F32 zijn ongekwantiseerd.
Kan ik een GGUF-bestand converteren naar het originele model?
Gedeeltelijk. U kunt het dekwantiseren naar .safetensors of PyTorch-gewichten met community-scripts, maar omdat de meeste GGUF-bestanden gekwantiseerd zijn, is de conversie lossy en herstelt deze niet de exacte originele gewichten.
Waarom is mijn GGUF-bestand zo groot?
Een .gguf bevat elk modelgewicht in één bestand. De bestandsgrootte schaalt met het aantal parameters en het kwantiseringsniveau, dus een groot model met een hogere precisie kan gemakkelijk de tientallen gigabytes overschrijden.
Zijn GGUF-bestanden veilig om te downloaden?
Het formaat zelf bevat geen uitvoerbare code, dus het is veiliger dan op pickle gebaseerde formaten. Download modellen desondanks alleen van vertrouwde bronnen en houd uw inference-software up-to-date in het geval van bugs in de lader.

Referenties

1GGUF - Wikipediaen.wikipedia.org
2Official GGUF specification (ggml docs)github.com

Blijf ontdekken

door de database

Populaire extensies deze week

1.AQQAQQ Instant Messenger File
2.BINCD/DVD Disc Image (BIN/CUE)
3.MDMarkdown Document
4.RPMSGRestricted Permission Message
5.PARTPartial Download File
6.CRDOWNLOADChrome Partial Download File
7.NOMEDIAAndroid No-Media Marker File
8.PRDXSoftMaker Presentations Document
9.PRO6XProPresenter 6 Bundle File
10.SWFSmall Web Format (Shockwave Flash)

Gerelateerde extensies

.PKPASSApple Wallet Pass (formerly Passbook)
.DATProgram Data File (generic)
.JSONJavaScript Object Notation file
.RISResearch Information Systems citation file
.OFXOpen Financial Exchange
.CSVComma-Separated Values

Gratis bestandstools

Een bestandsidentificatie en afbeeldingsconverter in de browser - alles draait op uw eigen apparaat.

Open de gereedschapskist

Blader door bestandsextensies A-Z