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