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.
File size: 1,257 Bytes
03a71d9
 
2c5b451
 
03a71d9
2c5b451
03a71d9
 
 
 
2c5b451
 
03a71d9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7c85e3b
b44bdcb
 
7c85e3b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
license: apache-2.0
language:
- en
tags:
- nlp
- code-generation
- sql
- transformers
- finetuned-model
---

  

# 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
***************************