News for hackers. Stuff that matters.
Re:Llama 2 – Meta AI by hbt on Tuesday July 18, 2023 @05:04PM (#36779091)
Thank you for sharing your project. Do you know why it would print this message that it cannot write code? https://gist.github.com/hbt/4fc643f64ac9e34250cdd1a3d6279eba

However, when using the API https://www.llama2.ai/ It can actually produce code. https://htmlpreview.github.io/?https://gist.githubuserconten...

Is this a prompt thing? a model thing?

Thank you.

Re:Llama 2 – Meta AI by Patrick_Devine on Tuesday July 18, 2023 @05:17PM (#36779225)
I posted something in the Gist, but the prompt can be really finicky. You might want to `ollama pull llama2` again just to make certain you have the latest prompt. We were messing around with it earlier because it was giving some strange answers.

I think it's going to take a while to figure out what the best prompt to use is though.