Run this model with HF Jobs
Run aijadugar/qwen2.5-0.5b-sql-lora on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/aijadugar/qwen2.5-0.5b-sql-lora. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/aijadugar/qwen2.5-0.5b-sql-lora on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use aijadugar/qwen2.5-0.5b-sql-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use aijadugar/qwen2.5-0.5b-sql-lora with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Qwen2.5-0.5B-Instruct fine-tuned with a hand-written LoRA (Text-to-SQL)
This model is Qwen/Qwen2.5-0.5B-Instruct fine-tuned on a small slice of
b-mc2/sql-create-context using a LoRA adapter implemented from scratch
in plain PyTorch (no peft library was used for training -- see the
LoRALinear class in the training notebook), then merged back into the
base weights.
Training details
- Base model:
Qwen/Qwen2.5-0.5B-Instruct - Method: LoRA (rank=8, alpha=16), applied to
q_proj, k_proj, v_proj, o_proj - Dataset: 250 examples from
b-mc2/sql-create-context - Hardware: Kaggle, 1x Tesla T4
How to use
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("YOUR_USERNAME/YOUR_REPO_NAME")
tokenizer = AutoTokenizer.from_pretrained("YOUR_USERNAME/YOUR_REPO_NAME")
This model is a learning exercise, not a production system -- expect rough edges.
- Downloads last month
- -
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support