Instructions to use ksabeh/context2sql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ksabeh/context2sql 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, "ksabeh/context2sql") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from ksabeh/context2sql: direct link, hf CLI and curl.
- Browser
- Download file 1.84 MB
-
https://huggingface.co/ksabeh/context2sql/resolve/00a349efb4bd8d0204722f7b21d3ccf04f56ed84/tokenizer.json
- Command line
-
hf download hf://ksabeh/context2sql@00a349efb4bd8d0204722f7b21d3ccf04f56ed84/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/ksabeh/context2sql/resolve/00a349efb4bd8d0204722f7b21d3ccf04f56ed84/tokenizer.json
1.84 MB
File too large to display, you can check the raw version instead.