Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pipeline_tag: text-classification
|
| 3 |
+
---
|
| 4 |
+
# BERT Text Classification Model
|
| 5 |
+
|
| 6 |
+
This is a simple demo model for text classification using BERT.
|
| 7 |
+
|
| 8 |
+
## Usage
|
| 9 |
+
|
| 10 |
+
To use the model, you can call the `classify_text` function with a text input, and it will return the predicted class label.
|
| 11 |
+
|
| 12 |
+
```python
|
| 13 |
+
text = "This is a positive review."
|
| 14 |
+
predicted_class = classify_text(text)
|
| 15 |
+
print("Predicted class:", predicted_class)
|