bklieger-groq / g1

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

Does the system work to generate source code? #21

Closed willph closed 1 month ago

willph commented 1 month ago

Does the system work to generate source code?

Example: "Create a CRUD of product using the Codeigniter 3 framework" or "php code where to get the person's name and print it in a sweetalert2"

image

From the tests I did here the system did not work for source code generation. Whether it was a simple CRUD or a simple PHP code.

I loved the project, excellent work. Congratulations.

bklieger-groq commented 1 month ago

Thank you for the kind words! Yes, this should be possible, but the model currently struggles to produce HTML code within JSON format. #18 is being worked on to fix this issue. g1 should be able to reliably produce HTML soon (it already can, just not reliably with perfect JSON format at the same time).