--- library_name: peft tags: - text-to-sql - spider - 'text2sql' --- ## Introduce This folder is a text-to-sql weights directory, containing weight files fine-tuned based on the LoRA with the CodeLlama-13b-Instruct-hf model through the [DB-GPT-Hub](https://github.com/eosphoros-ai/DB-GPT-Hub/tree/main) project. The training data used is from the Spider training set. This weights files achieving an execution accuracy of approximately 0.742 on the Spider evaluation set which use the github linked database. Merge the weights with [CodeLlama-13b-Instruct-hf](https://huggingface.co/codellama/CodeLlama-13b-Instruct-hf/tree/main) and this folder weigths, you can refer the [DB-GPT-Hub](https://github.com/eosphoros-ai/DB-GPT-Hub/tree/main) ,in `dbgpt_hub/scripts/export_merge.sh`. If you find our weight files or the DB-GPT-Hub project helpful for your work, give a star on our github project [DB-GPT-Hub](https://github.com/eosphoros-ai/DB-GPT-Hub/tree/main) will be a great encouragement for us to release more weight files. ### Framework versions - PEFT 0.4.0