metadata
pipeline_tag: text-classification
BERT Text Classification Model
This is a simple demo model for text classification using BERT.
Usage
To use the model, you can call the classify_text function with a text input, and it will return the predicted class label.
text = "This is a positive review."
predicted_class = classify_text(text)
print("Predicted class:", predicted_class)