Update README.md
Browse files
README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
---
|
2 |
pipeline_tag: text-classification
|
|
|
|
|
3 |
---
|
4 |
# BERT Text Classification Model
|
5 |
|
@@ -12,4 +14,6 @@ To use the model, you can call the `classify_text` function with a text input, a
|
|
12 |
```python
|
13 |
text = "This is a positive review."
|
14 |
predicted_class = classify_text(text)
|
15 |
-
print("Predicted class:", predicted_class)
|
|
|
|
|
|
1 |
---
|
2 |
pipeline_tag: text-classification
|
3 |
+
metrics:
|
4 |
+
- accuracy
|
5 |
---
|
6 |
# BERT Text Classification Model
|
7 |
|
|
|
14 |
```python
|
15 |
text = "This is a positive review."
|
16 |
predicted_class = classify_text(text)
|
17 |
+
print("Predicted class:", predicted_class)
|
18 |
+
|
19 |
+
Devlin, J., Chang, M. W., Lee, K., & Toutanova, K. (2018). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. arXiv preprint arXiv:1810.04805.
|