How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="namelessai/sql-small")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("namelessai/sql-small")
model = AutoModelForCausalLM.from_pretrained("namelessai/sql-small", device_map="auto")
Quick Links

This model is trained to generate SQL queries and answer questions about them.

Downloads last month
27
Safetensors
Model size
1B params
Tensor type
F16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for namelessai/sql-small

Finetuned
(8)
this model