Run this model with HF Jobs

Run NumbersStation/nsql-llama-2-7B 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/NumbersStation/nsql-llama-2-7B. 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/NumbersStation/nsql-llama-2-7B 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/NumbersStation/nsql-llama-2-7B. 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/NumbersStation/nsql-llama-2-7B. 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.

training script

#5
by gchoueiter - opened

Hi. Thank you for sharing this.

  1. Is it possible for you to share how you trained the model with the data prepared here
    https://github.com/NumbersStationAI/NSQL/tree/main/data_prep
  2. Is it the same as this? https://github.com/NumbersStationAI/NSQL/blob/main/examples/finetune.ipynb
  3. What resources did you use and how much time did it take?

thanks again.
G

NumbersStation org

Hi @gchoueiter ,

Thanks for your interest in our work!

You can find our training receipt here. The notebook is a simple example of how to further fine-tune the model based on your use case and for our model training we use 8*A100 80G machines for about 2 weeks.

Hi Senwu

Would you be willing to share the training code (the training & fine-tuning)?

Thank you

Hi Senwu

Would you be willing to share the training code (the training & fine-tuning)?

Thank you

Have you found any code for this?

Sign up or log in to comment