Skip to main content

Banner Upload Python Package Discord GitHub GitHub last commit GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests

Chat AI: Run LLMs with your own hardware

Chat AI is an interface that sits on top of a custom engine which is responsible for processing requests and responses to and from an active Google T5-Flan model.

img.png


Bundled Installation

Official Build can be acquired here for those who want to use a compiled version of Chat AI without having to install any additional requirements


Development

Prerequisites

  • Ubuntu 20.04+ or Windows 10+
  • Python 3.10.6
  • pip-23.0.1

Pypi installation

Use this installation method if you intend to use Chat AI from the command line or with other python libraries or scripts.

Windows

pip install torch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 --index-url https://download.pytorch.org/whl/cu117
pip install aihandlerwindows
pip install https://github.com/w4ffl35/diffusers/archive/refs/tags/v0.14.0.ckpt_fix.tar.gz
pip install https://github.com/w4ffl35/transformers/archive/refs/tags/tensor_fix-v1.0.2.tar.gz
pip install https://github.com/acpopescu/bitsandbytes/releases/download/v0.37.2-win.0/bitsandbytes-0.37.2-py3-none-any.whl
pip install chatai --no-deps

Linux

pip install https://github.com/w4ffl35/diffusers/archive/refs/tags/v0.14.0.ckpt_fix.tar.gz
pip install https://github.com/w4ffl35/transformers/archive/refs/tags/tensor_fix-v1.0.2.tar.gz
pip install chatairunner

Development installation

Use this installation method if you intend to modify the source code of Chat AI.

  • Ubuntu 20.04+ or Windows 10+
  • Python 3.10.6
  • pip-23.0.1
  1. Fork this repo on github
  2. git clone https://github.com/Capsize-Games/chatai
  3. python -m venv env - skip if you don't want to use venv
  4. cd chatai && pip install -e .
  5. cd chatai && python main.py

Here are the special tokens used by the model:

  • : Used to pad sequences to a fixed length.
  • : Beginning of sequence token, used to indicate the start of a sequence.
  • : End of sequence token, used to indicate the end of a sequence.
  • : Unknown token, used to represent out-of-vocabulary words.
  • <extra_id_X>: Special token used to represent additional task-specific labels, where X is a number from 0 to 99.
  • : End of turn token, used in conversation models to indicate the end of a speaker's turn.

Metadata

Release files for chatairunner 1.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chatairunner 1.0.10
File Size Uploaded Provenance Actions
chatairunner-1.0.10.tar.gz 27.3 kB Without provenance Details for chatairunner-1.0.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for chatairunner 1.0.10
File Interpreter ABI Platform Actions
chatairunner-1.0.10-py3-none-any.whl Python 3 none any Details for chatairunner-1.0.10-py3-none-any.whl

Total release size: 55.7 kB

Release files / chatairunner-1.0.10.tar.gz

Download URL chatairunner-1.0.10.tar.gz
Size 27.3 kB
Tags Source
SHA-256 checksum
How to use checksums
204eb9c07edf109fbf3412b9b56083a31358c00126d032baf2c14f0d815e36d0
BLAKE2b-256 checksum
How to use checksums
1da360ff736de146f324800111edacfbf07c19687b48f89172fe7e73baef607b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / chatairunner-1.0.10-py3-none-any.whl

Download URL chatairunner-1.0.10-py3-none-any.whl
Size 28.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a944314819f63991119e8790457cc1881229c584bffbd08edea520c2e188708
BLAKE2b-256 checksum
How to use checksums
e0e7ac6e720e72a25cb82858de53233eafe9d32f7758c4c42341ffa70e2721fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Security for chatairunner 1.0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page