Skip to main content

Hugging Face inference chat CLI client.

Project description

LChat

Large Language Model (LLM) chat command line inteferace based using HuggingFace.

Installation

pip install lchat

Usage

You will likely need to login via huggingface_hub.

The usage is very simple. Start chatting by typing lchat:

usage: lchat [-h] [-p PROMPT] [-m MODEL] [-l]

Sends an input to a HuggingFace LLM.

options:
  -h, --help            show this help message and exit
  -p PROMPT, --prompt PROMPT
                        Type of prompt to use. '' for none, 'email' for email.
  -m MODEL, --model MODEL
                        Hugging Face model to use.
  -l, --list            List default prompts.

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

lchat-0.1.0.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

lchat-0.1.0-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

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