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

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

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
6
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

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