victoriadreis commited on
Commit
10df29f
1 Parent(s): e6756dd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -9
README.md CHANGED
@@ -6,7 +6,7 @@ language:
6
  - pt
7
 
8
  pipeline_tag: text-classification
9
- base_model: neuralmind/bert-base-portuguese-cased
10
  widget:
11
  - text: 'Bom dia, flor do dia!!'
12
 
@@ -20,19 +20,19 @@ model-index:
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,9 +40,9 @@ model-index:
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,7 +88,7 @@ def classify_hate_speech(model_name, text):
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
 
 
6
  - pt
7
 
8
  pipeline_tag: text-classification
9
+ base_model: neuralmind/bert-large-portuguese-cased
10
  widget:
11
  - text: 'Bom dia, flor do dia!!'
12
 
 
20
  type: Silly-Machine/TuPyE-Dataset
21
  metrics:
22
  - type: accuracy
23
+ value: 0.907
24
  name: Accuracy
25
  verified: true
26
  - type: f1
27
+ value: 0.903
28
  name: F1-score
29
  verified: true
30
  - type: precision
31
+ value: 0.901
32
  name: Precision
33
  verified: true
34
  - type: recall
35
+ value: 0.907
36
  name: Recall
37
  verified: true
38
  ---
 
40
  ## Introduction
41
 
42
 
43
+ TuPy-Bert-Large-Binary-Classifier 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-large-portuguese-cased),
45
+ TuPy-Bert-Large-Binary-Classifier 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-Large-Binary-Classifier"
92
  text = "Bom dia, flor do dia!!"
93
  classify_hate_speech(model_name, text)
94