GGUF (GPT-Generated Unified Format) is a successor of GGML (GPT-Generated Model Language), it was released on August 21, 2023; by the way, GPT stands for Generative Pre-trained Transformer.
This package is a simple graphical user interface (GUI) application that uses the ctransformers or llama.cpp to interact with a chat model for generating responses.
Install the connector via pip (once only):
pip install gguf-connector
Update the connector (if previous version installed) by:
pip install gguf-connector --upgrade
With this version, you can interact straight with the GGUF file(s) available in the same directory by a simple command.
Select model(s) with llama.cpp connector:
ggc cpp
Select model(s) with ctransformers:
ggc c
Select model(s) with ctransformers:
ggc g
Select model(s) with llama.cpp connector:
ggc gpp
Select model(s) with vision connector:
ggc v
Opt a clip handler then opt a vision model; prompt your picture link to process (see example here)
Select model(s) with metadata reader:
ggc r
Select model(s) with metadata fast reader (beta):
ggc r2
Load PDF(s) into a model with ctransformers:
ggc cp
Load PDF(s) into a model with llama.cpp connector:
ggc pp
Prompt WAV(s) into a model with ctransformers:
ggc cs
Prompt WAV(s) into a model with llama.cpp connector:
ggc ps
Prompt WAV(s) into a model with ctransformers:
ggc cg
Prompt WAV(s) into a model with llama.cpp connector:
ggc pg
Launch to page/container:
ggc w
Convert safetensors to gguf (optional: need torch to work; pip install torch):
ggc t
Download comfy pack (see user guide here) via:
ggc y
Enter the main menu for selecting a connector or getting pre-trained trial model(s).
ggc m
Include the connector selection menu to your code by:
from gguf_connector import menu
For standalone version please refer to the repository in the reference list (below).
model selector (standalone version: installable package)
cgg (cmd-based tool)
understanding gguf and the gguf-connector
gguf.io (i/o is a mirror of us; note: this web3 domain might be restricted access in some regions/by some service providers, if so, visit the one below instead, exactly the same)