EngrSamad's picture
Create README.md
42ce853 verified
|
raw
history blame
403 Bytes
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)