-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Open
Labels
BugSomething isn't workingSomething isn't working
Description
Describe the bug
I am not able to get any reasonable input when using codellama hosted in togetherAI.
Reproduce
import os
os.environ["TOGETHERAI_API_KEY"] = "..."
from interpreter import interpreter
#interpreter.llm.model = "together_ai/togethercomputer/CodeLlama-34b-Instruct"
#interpreter.llm.model = "together_ai/codellama/CodeLlama-70b-Python-hf"
interpreter.llm.model = "together_ai/codellama/CodeLlama-70b-hf"
interpreter.llm.api_key = os.environ["TOGETHERAI_API_KEY"]
interpreter.chat("Please print hello world.")I tried all 3 models above in jupyter notebook and the output was not properly formatted
Expected behavior
provide a code which is readable in jupyter notebook
Screenshots

when I try it in https://api.together.xyz/playground/chat/codellama/CodeLlama-70b-Instruct-hf
I get

Open Interpreter version
0.2.0
Python version
3.10.12
Operating System name and version
linux, google colab
Additional context
No response
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working