Instructions to use qubing/text2sql_retrieval with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use qubing/text2sql_retrieval with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="qubing/text2sql_retrieval")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("qubing/text2sql_retrieval") model = AutoModelForSequenceClassification.from_pretrained("qubing/text2sql_retrieval", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
14a69ed | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:3a419fdfbaa942a5f3eae4ad8749f6beb6c8eeb32ecdd61f2b9d8bb55b8791ba
size 1421577265
|