Downloads · 30 days
59
11% of all-time downloads
Thrad/thrad-bert-conversation-classifier
thrad-bert-conversation-classifier is a text classification model from Thrad. Use it when you need a label for a piece of text. The card lists the license as apache-2.0.
BERT model for conversation intent classification with hard labels. For additional information about the data preprocessing, training, or evaluation, refer to the public repository for the project [here].
Downloads · 30 days
59
11% of all-time downloads
All-time downloads
543
Public
Parameters
109M
438 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
BERT model for conversation intent classification with hard labels. For additional information about the data preprocessing, training, or evaluation, refer to the public repository for the project [here].
from transformers import AutoTokenizer, AutoModelForSequenceClassification
model = AutoModelForSequenceClassification.from_pretrained("Thrad/thrad-bert-conversation-classifier")
tokenizer = AutoTokenizer.from_pretrained("Thrad/thrad-bert-conversation-classifier")
# Example inference
text = "Your conversation text here"
inputs = tokenizer(text, return_tensors="pt", truncation=True, max_length=512)
outputs = model(**inputs)
predictions = outputs.logits.softmax(dim=-1)