Skip to main content

Chat with Mr Chatterbox

Project description

llm-mrchatterbox

PyPI Changelog Tests License

Mr. Chatterbox is a language model trained from scratch by Trip Venturella using nanochat on a corpus of over 28,000 Victorian-era British texts published between 1837 and 1899, made available by the British Library.

This LLM plugin vendors enough of nanochat to get the model to work, also borrowing some details from Trip's mr_chatterbox HuggingFace Space . You can also chat with the model using that Space in your browser.

Installation

Install this plugin in the same environment as LLM.

llm install llm-mrchatterbox

Usage

The first time you run a prompt the ~2GB model will be downloaded to your machine.

llm -m mrchatterbox 'hello good sir'

Chat with the model using the chat command:

llm chat -m mrchatterbox

The cached model is stored in the path revealed by this command:

llm mrchatterbox path

On a Mac that folder is:

~/Library/Application Support/io.datasette.llm/mrchatterbox

You can delete the model file using this command:

llm mrchatterbox delete-model

Development

To set up this plugin locally, first checkout the code. Run the tests like this:

cd llm-mrchatterbox
uv run pytest

To run prompts through the model use:

uv run llm -m mrchatterbox 'hello good sir'

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

llm_mrchatterbox-0.1.1.tar.gz (430.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llm_mrchatterbox-0.1.1-py3-none-any.whl (445.5 kB view details)

Uploaded Python 3

File details

Details for the file llm_mrchatterbox-0.1.1.tar.gz.

File metadata

  • Download URL: llm_mrchatterbox-0.1.1.tar.gz
  • Upload date:
  • Size: 430.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for llm_mrchatterbox-0.1.1.tar.gz
Algorithm Hash digest
SHA256 09b6f197efa9d6a8840f4290314e1efd8bbc3d43975e8f74cfaa376fb73a5083
MD5 45e373c66728217f94966179c83583bb
BLAKE2b-256 b5596c383abe6d7034787831acae4666c0b3d3e7d84d11fda4a010b3e7a0bf07

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_mrchatterbox-0.1.1.tar.gz:

Publisher: publish.yml on simonw/llm-mrchatterbox

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file llm_mrchatterbox-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for llm_mrchatterbox-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f3a6c5864cefd8afede8e2d3619979ad444021e74230ac5c4091d12a7e28481e
MD5 a49ef71db0bcb433c5957f4ee22d6485
BLAKE2b-256 11b6b084cab9ef8b87a5e48a1cd4b529704e4aff0b09483ed9fa7019e06861d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_mrchatterbox-0.1.1-py3-none-any.whl:

Publisher: publish.yml on simonw/llm-mrchatterbox

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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