Jan.ai - Open Interpreter (2024)

Jan.ai is an open-source platform for running local language models on your computer, and is equipped with a built in server.

To run Open Interpreter with Jan.ai, follow these steps:

  1. Install the Jan.ai Desktop Application on your computer.

  2. Once installed, you will need to install a language model. Click the ‘Hub’ icon on the left sidebar (the four squares icon). Click the ‘Download’ button next to the model you would like to install, and wait for it to finish installing before continuing.

  3. To start your model, click the ‘Settings’ icon at the bottom of the left sidebar. Then click ‘Models’ under the CORE EXTENSIONS section. This page displays all of your installed models. Click the options icon next to the model you would like to start (vertical ellipsis icon). Then click ‘Start Model’, which will take a few seconds to fire up.

  4. Click the ‘Advanced’ button under the GENERAL section, and toggle on the “Enable API Server” option. This will start a local server that you can use to interact with your model.

  5. Now we fire up Open Interpreter with this custom model. Either run interpreter --local in the terminal to set it up interactively, or run this command, but replace <model_id> with the id of the model you downloaded:

interpreter --api_base http://localhost:1337/v1 --model <model_id>
See Also
Amazon

If your model can handle a longer context window than the default 3000, you can set the context window manually by running:

interpreter --api_base http://localhost:1337/v1 --model <model_id> --context_window 5000
Jan.ai - Open Interpreter (2024)
Top Articles
Latest Posts
Article information

Author: Merrill Bechtelar CPA

Last Updated:

Views: 6089

Rating: 5 / 5 (50 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Merrill Bechtelar CPA

Birthday: 1996-05-19

Address: Apt. 114 873 White Lodge, Libbyfurt, CA 93006

Phone: +5983010455207

Job: Legacy Representative

Hobby: Blacksmithing, Urban exploration, Sudoku, Slacklining, Creative writing, Community, Letterboxing

Introduction: My name is Merrill Bechtelar CPA, I am a clean, agreeable, glorious, magnificent, witty, enchanting, comfortable person who loves writing and wants to share my knowledge and understanding with you.