Closed CyanideByte closed 2 months ago
I think this is smart to do, unfortunately I think that it's a parsing issue! I tried printing what Llama was actually generating, and I think it's doing okay, but generating "`" and then "
" whereas most LLMs generate all three backticks "```" all at once. Great catch on this problem @CyanideByte, llama 3 should work with OI! Merging.
Describe the changes you have made:
Fixed a common hallucination of Llama3 inserting a backtick at the start of a code block.
Reference any relevant issues (e.g. "Fixes #000"):
Fixes https://github.com/OpenInterpreter/open-interpreter/issues/1228
Cell In[6], line 1 ` ^ SyntaxError: invalid syntax
Pre-Submission Checklist (optional but appreciated):
docs/CONTRIBUTING.md
docs/ROADMAP.md
OS Tests (optional but appreciated):