Run this model with HF Jobs
Run 2xionger/code-llama-7b-text-to-sql 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/2xionger/code-llama-7b-text-to-sql. 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/2xionger/code-llama-7b-text-to-sql 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 2xionger/code-llama-7b-text-to-sql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use 2xionger/code-llama-7b-text-to-sql with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-7b-hf") model = PeftModel.from_pretrained(base_model, "2xionger/code-llama-7b-text-to-sql") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.model from 2xionger/code-llama-7b-text-to-sql: direct link, hf CLI and curl.
- Browser
- Download file 500 kB
-
https://huggingface.co/2xionger/code-llama-7b-text-to-sql/resolve/main/tokenizer.model
- Command line
-
hf download hf://2xionger/code-llama-7b-text-to-sql/tokenizer.model
-
curl -L -o tokenizer.model https://huggingface.co/2xionger/code-llama-7b-text-to-sql/resolve/main/tokenizer.model
500 kB
- Xet hash:
- f18a3e31af371f514644a07ef51454912e704f2ed7957d0ef5e47bed71aa5f51
- Size of remote file:
- 500 kB
- SHA256:
- 45ccb9c8b6b561889acea59191d66986d314e7cbd6a78abc6e49b139ca91c1e6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.