Text-to-SQL
Collection
Natural-language to SQL: PostgreSQL/SQL generation models and the schema-aware Text-to-PostgreSQL dataset. • 7 items • Updated
How to use omeryentur/gemma-2-2b-it-sql with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("omeryentur/gemma-2-2b-it-sql", device_map="auto")This gemma2 model was trained 2x faster with Unsloth and Huggingface's TRL library.
Base model
unsloth/gemma-2-2b-it-bnb-4bit