Run this model with HF Jobs

Run ansumanpandey/codgen-finetuned-SQLQueryGeneration 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 and TRL to fine-tune https://huggingface.co/ansumanpandey/codgen-finetuned-SQLQueryGeneration. 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/ansumanpandey/codgen-finetuned-SQLQueryGeneration 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.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/ansumanpandey/codgen-finetuned-SQLQueryGeneration. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/ansumanpandey/codgen-finetuned-SQLQueryGeneration. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Finetuned CodeGen for SQL Query Generation

Model Description

This model is a fine-tuned version of the Salesforce CodeGen model with 350M parameters, specialized in generating SQL queries from plain English text descriptions. It leverages the power of large language models to understand natural language and convert it into executable SQL, making it easier for analysts, developers, and data enthusiasts to interact with databases without deep SQL expertise.

Intended Use

This model is intended for the automatic generation of SQL queries from descriptions in English. It can be used to:

  • Quickly generate sample SQL queries for database analysis and reporting.
  • Assist in educational environments for learning SQL syntax.
  • Provide non-technical users with the ability to know how to retrieve data from databases using natural language.

How to Use

This model can be used with the Hugging Face Transformers library. Here is a quick example:


The link: https://huggingface.co/ansumanpandey/codgen-finetuned-SQLQueryGeneration/blob/main/The%20SQL%20Generation%20Code


Downloads last month
45
Safetensors
Model size
0.4B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support