Skip to content

Commit

Permalink
Merge pull request #1520 from MikeBirdTech/llama32-cortex
Browse files Browse the repository at this point in the history
Llama32 cortex profile
  • Loading branch information
KillianLucas authored Nov 11, 2024
2 parents 46c5591 + 7907b56 commit 8c15fa9
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions interpreter/terminal_interface/profiles/defaults/cortex-llama32.py
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

0 comments on commit 8c15fa9

Please sign in to comment.