Update README.md
Browse files
README.md
CHANGED
@@ -2,6 +2,8 @@
|
|
2 |
pipeline_tag: text-classification
|
3 |
metrics:
|
4 |
- accuracy
|
|
|
|
|
5 |
---
|
6 |
# BERT Text Classification Model
|
7 |
|
@@ -34,4 +36,4 @@ def classify_text(text):
|
|
34 |
# Example usage
|
35 |
text = "This is a positive review."
|
36 |
predicted_class = classify_text(text)
|
37 |
-
print("Predicted class:", predicted_class)
|
|
|
2 |
pipeline_tag: text-classification
|
3 |
metrics:
|
4 |
- accuracy
|
5 |
+
license: mit
|
6 |
+
library_name: sklearn
|
7 |
---
|
8 |
# BERT Text Classification Model
|
9 |
|
|
|
36 |
# Example usage
|
37 |
text = "This is a positive review."
|
38 |
predicted_class = classify_text(text)
|
39 |
+
print("Predicted class:", predicted_class)
|