defog-ai / sqlcoder

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

How to finetune with defog/sqlcoder model? #7

Closed gumanchang closed 1 year ago

gumanchang commented 1 year ago

Thank you very much for the open source work and models. Now I have a question, I want to fine-tune my SQL dataset, but the language is Chinese, I don't know whether it is supported, and can the fine-tuning script also be open source?

rishsriv commented 1 year ago

Hi there, you can use the StarCoder finetuning script and instructions here for fine-tuning the dataset. Just replace the model with defog/sqlcoder

oliverbj commented 11 months ago

Hey

Sorry for reopening this issue, and perhaps for a noob question. However, are there any examples on how the training data needs to look like?

LZZJ commented 6 months ago

Hey

Sorry for reopening this issue, and perhaps for a noob question. However, are there any examples on how the training data needs to look like?

I also have the same problem, can you share how to solve it?

aitoehigie commented 5 months ago

@oliverbj Did you eventually get your answer?

oliverbj commented 1 month ago

Unfortunately not :(