Run this model with HF Jobs

Run codefuse-ai/CodeFuse-DeepSeek-33B 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/codefuse-ai/CodeFuse-DeepSeek-33B. 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/codefuse-ai/CodeFuse-DeepSeek-33B 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/codefuse-ai/CodeFuse-DeepSeek-33B. 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/codefuse-ai/CodeFuse-DeepSeek-33B. 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.

what is the performance of sql generating?

#3
by waytohou - opened

or this model didn't train on sql data?

CodeFuse AI org

Hello, we haven't tested its performance on SQL generation; we'll test it.
In the fine-tuning training data, we did not use a dedicated SQL generation dataset.

@waytohou Hello,
I have tested the performance of our model in SQL generation. I selected the Spider evaluation dataset as our test set, and after using our model for inference generation, I utilized GPT-4 to determine the semantic equivalence between the predictions and the reference answers, resulting in an accuracy of 66.8% (690/1033). The format I used for inference is as follows:

prompt:

<s>system
You are a MySQL SQL Writer. You must generate clean SQL statements using MySQL Syntax according to the user's requirements.
<s>human
What are the names, countries, and ages for every singer in descending order of age?
singer(singer_id|name|country|song_name|song_release_year|age|is_male)
<s>bot

predict:

SELECT name, country, age
FROM singer
ORDER BY age DESC;

label:

SELECT name ,  country ,  age FROM singer ORDER BY age DESC
twelveand0 changed discussion status to closed

Sign up or log in to comment