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="transformersbook/bert-base-uncased-finetuned-clinc")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("transformersbook/bert-base-uncased-finetuned-clinc")
model = AutoModelForSequenceClassification.from_pretrained("transformersbook/bert-base-uncased-finetuned-clinc", device_map="auto")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Intent Detection with BERT

This model was trained on the CLINC150 dataset for customer intent detection. The dataset can be found on the Hub. The model is used in Chapter 8: Making Transformers Efficient in Production in the NLP with Transformers book. You can find the full code in the accompanying Github repository.

Downloads last month
293
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Paper for transformersbook/bert-base-uncased-finetuned-clinc