-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1520 from MikeBirdTech/llama32-cortex
Llama32 cortex profile
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
interpreter/terminal_interface/profiles/defaults/cortex-llama32.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
""" | ||
This is an Open Interpreter profile for using Llama 3.2:3b served locally by Cortex. | ||
This profile configures Open Interpreter to use a locally hosted Llama 3.2 model through Cortex. | ||
Run `cortex start` before running Open Interpreter. | ||
More information about Cortex: https://cortex.so/docs/ | ||
""" | ||
|
||
from interpreter import interpreter | ||
|
||
|
||
# Update the model to match t | ||
interpreter.llm.model = "llama3.2:3b-gguf-q8-0" | ||
interpreter.llm.context_window = 8192 | ||
interpreter.llm.max_tokens = 4096 | ||
interpreter.llm.api_base = "http://127.0.0.1:39281/v1" | ||
interpreter.llm.supports_functions = False | ||
interpreter.llm.supports_vision = False | ||
|
||
interpreter.offline = True | ||
interpreter.loop = True | ||
interpreter.auto_run = False |