llm-gpt4all  by simonw

LLM plugin for local models

created 2 years ago
253 stars

Top 99.5% on sourcepulse

GitHubView on GitHub
Project Summary

This plugin extends the llm CLI tool to support the GPT4All collection of models, enabling users to easily download, manage, and run various open-source language models locally. It targets users of the llm tool who want to leverage a wide range of GPT4All-compatible models without complex setup.

How It Works

The plugin integrates with the llm CLI by registering new model backends that point to GPT4All-compatible GGUF files. It handles model downloading, caching, and provides an interface for interacting with these models via the command line, including options for generation parameters like max_tokens and temp.

Quick Start & Requirements

  • Install via llm install llm-gpt4all.
  • Requires llm to be installed in the same environment.
  • Models are downloaded to ~/.cache/gpt4all.
  • Supports various GPT4All models, including Llama 3, Mistral, and Orca, with varying RAM requirements (1GB to 16GB+).

Highlighted Details

  • Seamless integration with the llm CLI for model listing and execution.
  • Supports interactive chat sessions with downloaded models.
  • Provides model-specific configuration options (e.g., max_tokens, temp, repeat_penalty).
  • Allows easy removal of downloaded model files.

Maintenance & Community

  • Developed by Simon Willison.
  • Development setup instructions and tests are provided.

Licensing & Compatibility

  • The README does not explicitly state a license for the plugin itself.
  • GPT4All models have their own licenses, which may vary. Compatibility for commercial use depends on the specific model's license.

Limitations & Caveats

  • The plugin's license is not specified, which could impact commercial use.
  • Model performance and capabilities are dependent on the underlying GPT4All models and available hardware resources.
Health Check
Last commit

1 year ago

Responsiveness

1 day

Pull Requests (30d)
1
Issues (30d)
0
Star History
5 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.