Skip to main content

cgg is a short form of call gguf model/file; cgg is a cmd-based app built on gguf-connector, which allows users interacting with large language model (i.e., chatgpt) via a simple command without coding a long long syntax

Project description

GGUF caller

Static Badge

This package is a GGUF (GPT-Generated Unified Format) file/model caller. Perfect to run in low end device(s).

install the caller via pip/pip3 (once only):

pip install cgg

If your c/c++ compiler cannot build the engine wheel successfully; could opt to get it here straight; or try core.

update the caller (if not in the latest version) by:

pip install cgg --upgrade

user manual

This is a cmd-based (command line) package, you can find the user manual by adding the flag -h or --help.

cgg -h

check current version

cgg -v

connector menu

cgg menu

graphical user interface (GUI) caller

Simple GUI to interact with a chat model for generating responses (recommended).

call cpp connector:

cgg cpp

call c connector:

cgg c

command line interface (CLI) caller

CLI input also provided for expert/advanced user(s).

call gpp connector:

cgg gpp

call g connector:

cgg g

GGUF file(s) in the same directory will automatically be detected by the caller, hence, a selection menu will be shown in the console as below.

metadata reader:

You can check model metadata by:

cgg r

Or try the model analyzor by:

cgg a

clone feature

cgg clone [url]

With this fast clone feature, you can clone any (GGUF model) file from URL, save it automatically in the current directory, and get it ready to connect locally (run it with your own machine offline); depends on the file size, as well as the network connectivity, it may take a while to complete the clone process; and you are able to see a dynamic progress bar showing the downloading status.

If you are a mac newbie, you might encounter ssl cert. issue while executing clone command or while entering the lazylist below; a practical solution: click Install Certificates.command under your Python version folder; details please refer to the issues reported.

sample model(s) available to download (try out)

For general purpose [chat.gguf] (size: around 2GB or less)

cgg clone https://huggingface.co/calcuis/chat/resolve/main/chat.gguf

For coding assistance [code.gguf] (size: around 3GB or more)

cgg clone https://huggingface.co/calcuis/code_mini/resolve/main/code.gguf

For health/medical advice [medi.gguf] (size: around 3GB or more)

cgg clone https://huggingface.co/calcuis/medi_mini/resolve/main/medi.gguf

For law/legal opinion [law.gguf] (size: around 3GB or more)

cgg clone https://huggingface.co/calcuis/law_mini/resolve/main/law.gguf

For wealth/financial plan [finance.gguf] (size: around 3GB or more)

cgg clone https://huggingface.co/calcuis/gguf/resolve/main/finance.gguf

For calculation/math solution [math.gguf] (size: around 3GB or more)

cgg clone https://huggingface.co/calcuis/gguf/resolve/main/math.gguf

***those are all experimental models; no guarantee on quality

sample model list

You can either use the clone feature above or opt it straight from the lazy list by:

cgg s

comfy gguf pack

Download comfy GGUF windows portable pack by:

cgg y

pdf analyzor (beta)

You can load PDF into the model for analysis right away by (analyzor c):

cgg pc

Or by (analyzor p):

cgg pp

voice/speech recognizor (beta)

You can prompt voice/speech (wav file) as input by (recognizor c):

cgg vc

Or by (recognizor p):

cgg vp

Or by (online recognizor c):

cgg oc

Or by (online recognizor p):

cgg op

website

Click gguf.io (mirror of gguf.us) or launch it straight from console by:

cgg io

Click gguf.us or launch it straight from console by:

cgg us

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cgg-0.3.6.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

cgg-0.3.6-py2.py3-none-any.whl (5.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file cgg-0.3.6.tar.gz.

File metadata

  • Download URL: cgg-0.3.6.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for cgg-0.3.6.tar.gz
Algorithm Hash digest
SHA256 b2a82774c708e1eb076490d50c809038e261b0fcd3863d22407e425f4eb52708
MD5 853312eb5157669d24f539d2957d0b3c
BLAKE2b-256 bbf6d653ebc58519c8b990f8cda0495d6d1a7638d69bba83ed78fe127b852883

See more details on using hashes here.

File details

Details for the file cgg-0.3.6-py2.py3-none-any.whl.

File metadata

  • Download URL: cgg-0.3.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for cgg-0.3.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4364c5f9c735b4c90bf4c160868fad7c90055371ced6c66bbf2e12c1bb73dc0d
MD5 cc02a56f24d88097ffe98a841db3ec37
BLAKE2b-256 f783cad30be370f8dbd5c6b080e9fd7a38054665b5b797b351cc0f05df3c5d79

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page