Run this model with HF Jobs
Run monsterapi/llama2_SQL_Answers_finetuned 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/monsterapi/llama2_SQL_Answers_finetuned. 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/monsterapi/llama2_SQL_Answers_finetuned 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 monsterapi/llama2_SQL_Answers_finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use monsterapi/llama2_SQL_Answers_finetuned with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-hf") model = PeftModel.from_pretrained(base_model, "monsterapi/llama2_SQL_Answers_finetuned") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files15 unmodified lines1617181920212215 unmodified linesThis dataset is an enhanced version of WikiSQL and Spider, focused on providing natural language queries and corresponding SQL CREATE TABLE statements. The dataset contains 78,577 examples and aims to improve the model's grounding in text-to-SQL tasks. The CREATE TABLE statements are particularly useful for limiting token usage and avoiding exposure to sensitive data.The finetuning session took 6 hrs 17 mins and costed us a total of `$18.56`.#### Hyperparameters & Run details:- Model Path: meta-llama/Llama-2-7b15 unmodified lines1617181920212215 unmodified linesThis dataset is an enhanced version of WikiSQL and Spider, focused on providing natural language queries and corresponding SQL CREATE TABLE statements. The dataset contains 78,577 examples and aims to improve the model's grounding in text-to-SQL tasks. The CREATE TABLE statements are particularly useful for limiting token usage and avoiding exposure to sensitive data.The finetuning session took 7hrs and 21 mins and costed us a total of `$15.33`.#### Hyperparameters & Run details:- Model Path: meta-llama/Llama-2-7b
README.md+1-1