llm-gpt4all  by simonw

LLM plugin for local models

Created 2 years ago
264 stars

Top 96.6% 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

Inactive

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

Explore Similar Projects

Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Carol Willing Carol Willing(Core Contributor to CPython, Jupyter), and
50 more.

ollama by ollama

0.9%
168k
CLI tool for running LLMs locally
Created 2 years ago
Updated 1 day ago
Feedback? Help us improve.