clebert / switch-llm

A macOS application to run local models like Mistral, with the option to enhance conversations by switching to GPT-4.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Switch LLM

A macOS application to run local models like Mistral, with the option to enhance conversations by switching to GPT-4.

Prerequisites

  • macOS 14 (ARM)
  • Node.js 20+
  • Zig 0.12.0 (master)

Getting started

Install npm dependencies:

npm install

Build the app:

npm run build

Start the app:

npm start

Download a model file in GGUF format from Hugging Face:

curl -L -o mistral-7b-instruct-v0.2.Q8_0.gguf https://huggingface.co/TheBloke/Mistral-7B-Instruct-v0.2-GGUF/resolve/main/mistral-7b-instruct-v0.2.Q8_0.gguf

About

A macOS application to run local models like Mistral, with the option to enhance conversations by switching to GPT-4.

License:MIT License


Languages

Language:TypeScript 58.7%Language:Zig 30.7%Language:JavaScript 7.0%Language:Swift 2.9%Language:Shell 0.5%Language:C 0.1%Language:CSS 0.1%