Instructions to use torphix/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 torphix/code-llama-7b-text-to-sql with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("stabilityai/stablelm-2-zephyr-1_6b") model = PeftModel.from_pretrained(base_model, "torphix/code-llama-7b-text-to-sql") - Notebooks
- Google Colab
- Kaggle
Download arcade100k.tiktoken from torphix/code-llama-7b-text-to-sql: direct link, hf CLI and curl.
- Browser
- Download file 1.68 MB
-
https://huggingface.co/torphix/code-llama-7b-text-to-sql/resolve/main/arcade100k.tiktoken
- Command line
-
hf download hf://torphix/code-llama-7b-text-to-sql/arcade100k.tiktoken
-
curl -L -o arcade100k.tiktoken https://huggingface.co/torphix/code-llama-7b-text-to-sql/resolve/main/arcade100k.tiktoken
1.68 MB
File too large to display, you can check the raw version instead.