bklieger-groq / g1

g1: Using Llama-3.1 70b on Groq to create o1-like reasoning chains
MIT License
3.96k stars 357 forks source link

Example of a failed prompt: #16

Closed adamskrodzki closed 2 months ago

adamskrodzki commented 2 months ago

Write game of snake in javaScript and HTML as a single file

this results in model getting stuck without outputing anything.

image

bklieger-groq commented 2 months ago

Thank you for sharing. I will investigate. The issue likely lies with the model not generating proper JSON for a response which includes HTML content. I recommend including in the prompt examples of valid JSON with html content in the response.

bklieger-groq commented 2 months ago

This should be fixed once the changes recommended in #18 are completed. Closing this issue accordingly to prevent duplication.