Team Ai
Modelpublic

rish37u/text-to-sql-sft-adapter

sourceHugging Faceupdated 1mo agoView on Hugging Face
1likes15downloads
Model Card

basemodel: unsloth/Qwen2.5-Coder-7B libraryname: peft pipeline_tag: text-generation ---

Text-to-SQL SFT Adapter

This repository contains a LoRA/PEFT adapter fine-tuned for Text-to-SQL generation.

The adapter is based on Qwen2.5-Coder-7B and was trained using Supervised Fine-Tuning (SFT).

Important

This repository contains only the SFT LoRA adapter.

The full base model is not included. You must load the base model and then attach this adapter.

Model Details

  • —Base model: unsloth/Qwen2.5-Coder-7B
  • —Task: Text-to-SQL
  • —Training method: Supervised Fine-Tuning (SFT)
  • —Fine-tuning method: LoRA / PEFT
  • —Model type: SFT adapter

Loading the Adapter

Install the required packages:

bash
pip install torch transformers peft