Instructions to use cnatale/mistral_7b_instruct_v0_1_txt_2_sql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use cnatale/mistral_7b_instruct_v0_1_txt_2_sql with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.1") model = PeftModel.from_pretrained(base_model, "cnatale/mistral_7b_instruct_v0_1_txt_2_sql") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from cnatale/mistral_7b_instruct_v0_1_txt_2_sql: direct link, hf CLI and curl.
- Browser
- Download file 1.8 MB
-
https://huggingface.co/cnatale/mistral_7b_instruct_v0_1_txt_2_sql/resolve/main/tokenizer.json
- Command line
-
hf download hf://cnatale/mistral_7b_instruct_v0_1_txt_2_sql/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/cnatale/mistral_7b_instruct_v0_1_txt_2_sql/resolve/main/tokenizer.json
1.8 MB
File too large to display, you can check the raw version instead.