Instructions to use bstds/text2sql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bstds/text2sql with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("bstds/text2sql") model = AutoModelForSeq2SeqLM.from_pretrained("bstds/text2sql", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from bstds/text2sql: direct link, hf CLI and curl.
- Browser
- Download file 2.42 MB
-
https://huggingface.co/bstds/text2sql/resolve/c4c0bba8ccf76b539c7f74fe2e3e95ac42e7948b/tokenizer.json
- Command line
-
hf download hf://bstds/text2sql@c4c0bba8ccf76b539c7f74fe2e3e95ac42e7948b/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/bstds/text2sql/resolve/c4c0bba8ccf76b539c7f74fe2e3e95ac42e7948b/tokenizer.json
2.42 MB
File too large to display, you can check the raw version instead.