xlangai/spider
Viewer • Updated • 8.03k • 9.25k • 174
How to use arundhati-c/t5-large-lm-adapt-texttosql with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("arundhati-c/t5-large-lm-adapt-texttosql")
model = AutoModelForSeq2SeqLM.from_pretrained("arundhati-c/t5-large-lm-adapt-texttosql")Base model
google/t5-large-lm-adapt