{"id":20435253,"url":"https://github.com/timelesshc/codellama-nl2sql","last_synced_at":"2025-12-01T18:02:40.522Z","repository":{"id":256724032,"uuid":"856142826","full_name":"timelesshc/codellama-NL2SQL","owner":"timelesshc","description":"Fine tune codellama-7b-hf to achieve natural language to SQL ability","archived":false,"fork":false,"pushed_at":"2024-09-13T09:01:44.000Z","size":4152,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-15T19:34:35.413Z","etag":null,"topics":["codellama","deepspeed","fine-tuning","lora","nl2sql","python","text2sql"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timelesshc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-12T04:13:43.000Z","updated_at":"2024-09-13T08:59:17.000Z","dependencies_parsed_at":"2024-09-16T00:31:06.116Z","dependency_job_id":null,"html_url":"https://github.com/timelesshc/codellama-NL2SQL","commit_stats":null,"previous_names":["timelesshc/codellama-nl2sql"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timelesshc%2Fcodellama-NL2SQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timelesshc%2Fcodellama-NL2SQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timelesshc%2Fcodellama-NL2SQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timelesshc%2Fcodellama-NL2SQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timelesshc","download_url":"https://codeload.github.com/timelesshc/codellama-NL2SQL/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241978059,"owners_count":20051919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codellama","deepspeed","fine-tuning","lora","nl2sql","python","text2sql"],"created_at":"2024-11-15T08:32:40.334Z","updated_at":"2025-12-01T18:02:40.413Z","avatar_url":"https://github.com/timelesshc.png","language":"Python","readme":"# Text2SQL on CodeLlama 7B\nUse LoRA to fine tune codellama-7b-hf to achieve natural language to SQL ability. Deepspeed is also used in this project. \n## Technologies Used\n- LoRA\n- DeepSpeed\n\n## Run the Code\nDownload codellama-7b model and save to `codellama-7b-hf` folder.\n\nRun command:\n```\ndeepspeed code_llama_finetune.py\n```\n## Test Result\nRun command:\n```\npython final_test.py\n```\n## Result\nThe final SQL execution accuracy is \u003e70%\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimelesshc%2Fcodellama-nl2sql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimelesshc%2Fcodellama-nl2sql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimelesshc%2Fcodellama-nl2sql/lists"}