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-classification", model="hiwensen/bert_sql_classfication")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("hiwensen/bert_sql_classfication")
model = AutoModelForSequenceClassification.from_pretrained("hiwensen/bert_sql_classfication", device_map="auto")
Quick Links

bert_sql_classfication

This model is a fine-tuned version of distilbert-base-uncased on a dataset based on the spider dataset.

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

Model tree for hiwensen/bert_sql_classfication

Finetuned
(12,855)
this model