Commit
·
086ec26
1
Parent(s):
98fb301
Update README.md
Browse files
README.md
CHANGED
|
@@ -19,16 +19,20 @@ model-index:
|
|
| 19 |
name: TuPyE-Dataset
|
| 20 |
type: Silly-Machine/TuPyE-Dataset
|
| 21 |
metrics:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
- type: f1
|
| 23 |
-
value: 0.
|
| 24 |
name: F1-score
|
| 25 |
verified: true
|
| 26 |
- type: precision
|
| 27 |
-
value: 0.
|
| 28 |
name: Precision
|
| 29 |
verified: true
|
| 30 |
- type: recall
|
| 31 |
-
value: 0.
|
| 32 |
name: Recall
|
| 33 |
verified: true
|
| 34 |
---
|
|
@@ -36,10 +40,9 @@ model-index:
|
|
| 36 |
## Introduction
|
| 37 |
|
| 38 |
|
| 39 |
-
Tupy-BERT-Base-
|
| 40 |
Derived from the [BERTimbau base](https://huggingface.co/neuralmind/bert-base-portuguese-cased),
|
| 41 |
-
TuPy-Base is a refined solution for addressing
|
| 42 |
-
racism, religious intolerance, misogyny, and xenophobia).
|
| 43 |
For more details or specific inquiries, please refer to the [BERTimbau repository](https://github.com/neuralmind-ai/portuguese-bert/).
|
| 44 |
|
| 45 |
The efficacy of Language Models can exhibit notable variations when confronted with a shift in domain between training and test data.
|
|
@@ -85,7 +88,7 @@ def classify_hate_speech(model_name, text):
|
|
| 85 |
print(f"{i + 1}) Label: {label} Score: {score:.4f}")
|
| 86 |
|
| 87 |
# Example usage
|
| 88 |
-
model_name = "Silly-Machine/TuPy-Bert-Base-
|
| 89 |
text = "Bom dia, flor do dia!!"
|
| 90 |
classify_hate_speech(model_name, text)
|
| 91 |
|
|
|
|
| 19 |
name: TuPyE-Dataset
|
| 20 |
type: Silly-Machine/TuPyE-Dataset
|
| 21 |
metrics:
|
| 22 |
+
- type: accuracy
|
| 23 |
+
value: 0.901
|
| 24 |
+
name: Accuracy
|
| 25 |
+
verified: true
|
| 26 |
- type: f1
|
| 27 |
+
value: 0.899
|
| 28 |
name: F1-score
|
| 29 |
verified: true
|
| 30 |
- type: precision
|
| 31 |
+
value: 0.897
|
| 32 |
name: Precision
|
| 33 |
verified: true
|
| 34 |
- type: recall
|
| 35 |
+
value: 0.901
|
| 36 |
name: Recall
|
| 37 |
verified: true
|
| 38 |
---
|
|
|
|
| 40 |
## Introduction
|
| 41 |
|
| 42 |
|
| 43 |
+
Tupy-BERT-Base-Binary is a fine-tuned BERT model designed specifically for binary classification of hate speech in Portuguese.
|
| 44 |
Derived from the [BERTimbau base](https://huggingface.co/neuralmind/bert-base-portuguese-cased),
|
| 45 |
+
TuPy-Base is a refined solution for addressing binary hate speech concerns (hate or not hate).
|
|
|
|
| 46 |
For more details or specific inquiries, please refer to the [BERTimbau repository](https://github.com/neuralmind-ai/portuguese-bert/).
|
| 47 |
|
| 48 |
The efficacy of Language Models can exhibit notable variations when confronted with a shift in domain between training and test data.
|
|
|
|
| 88 |
print(f"{i + 1}) Label: {label} Score: {score:.4f}")
|
| 89 |
|
| 90 |
# Example usage
|
| 91 |
+
model_name = "Silly-Machine/TuPy-Bert-Base-Binary-Classifier"
|
| 92 |
text = "Bom dia, flor do dia!!"
|
| 93 |
classify_hate_speech(model_name, text)
|
| 94 |
|