GGUF connector(s) with GUI
Project description
GGUF connector
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.
Graphical User Interface (GUI)
Select model(s) with llama.cpp connector:
ggc cpp
Select model(s) with ctransformers:
ggc c
Command Line Interface (CLI)
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)
Metadata reader (CLI only)
Select model(s) with metadata reader:
ggc r
Select model(s) with metadata fast reader (beta):
ggc r2
PDF analyzor (beta feature on CLI recently)
Load PDF(s) into a model with ctransformers:
ggc cp
Load PDF(s) into a model with llama.cpp connector:
ggc pp
Speech recognizor (beta feature; accept WAV format recently)
Prompt WAV(s) into a model with ctransformers:
ggc cs
Prompt WAV(s) into a model with llama.cpp connector:
ggc ps
Speech recognizor (via Google api; online)
Prompt WAV(s) into a model with ctransformers:
ggc cg
Prompt WAV(s) into a model with llama.cpp connector:
ggc pg
Container
Launch to page/container:
ggc w
Convertor (beta feature)
Convert safetensors to gguf (optional: need torch to work; pip install torch):
ggc t
Comfy
Download comfy pack (see user guide here) via:
ggc y
Menu
Enter the main menu for selecting a connector or getting pre-trained trial model(s).
ggc m
Import as a module
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).
References
model selector (standalone version: installable package)
cgg (cmd-based tool)
Resources
Article
understanding gguf and the gguf-connector
Website
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gguf_connector-0.9.6.tar.gz
.
File metadata
- Download URL: gguf_connector-0.9.6.tar.gz
- Upload date:
- Size: 55.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cfaeb7988740a082797694aa0c96c39168330bc4d2b68df8db97851f530e338 |
|
MD5 | f26ebb5fd7652ff213c1d56ac44d4697 |
|
BLAKE2b-256 | d97f0b378224e60be94935164d9f43c711a9c0975249b2b2effe101edf0b18eb |
File details
Details for the file gguf_connector-0.9.6-py2.py3-none-any.whl
.
File metadata
- Download URL: gguf_connector-0.9.6-py2.py3-none-any.whl
- Upload date:
- Size: 63.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57da8d1270e4fcb4407c3388d4e7e6ac750e109c3023f2e15cfe8f26f2d30a5d |
|
MD5 | 7d86452f883a622c62f09bfc8d11621f |
|
BLAKE2b-256 | fadf856485bb583b8bfebd6d2a0dedca0a6f3df5accab1ca0f7563f228d6ae31 |