defog-ai / sqlcoder

SoTA LLM for converting natural language questions to SQL queries
Apache License 2.0
3.42k stars 218 forks source link

How to generate SQL for MySQL? #11

Closed ricosr closed 1 year ago

ricosr commented 1 year ago

I find it can generate SQL for PostgreSQL exactly, how can I use it to generate SQL for MySQL? Thank you!

rishsriv commented 1 year ago

Hi there, we have not yet open-sourced our MySQL fine-tuned model, but hope to do that in the next month. I'll update you here once that's done!

ricosr commented 1 year ago

Hi there, we have not yet open-sourced our MySQL fine-tuned model, but hope to do that in the next month. I'll update you here once that's done!

Great to hear this message, thanks for your great work!

buddyroo30 commented 1 year ago

Any update on this? When do you think you'll be releasing the model that supports MySQL? Thanks.

rishsriv commented 1 year ago

Hi there, we are hoping to do it this month or early next month – depending on when we find a bit of breathing room to focus on the open-source model. We have a tiny 4-person engineering team, and are prioritizing commercial inbounds at the moment :) But hope to release it in the next 2-6 weeks!

Kshitizkhandel commented 1 year ago

@buddyroo30 @rishsriv @ricosr Do you happen to know how we could convert these Postgres queries to Mariadb Queries? I came across sqlglot that transpiles into different dialects but it doesn't support Mariadb

FaizelK commented 4 months ago

@rishsriv any feedback on this?