Update README.md
Browse files
README.md
CHANGED
|
@@ -5,14 +5,15 @@ language:
|
|
| 5 |
---
|
| 6 |
# Toxicity-classifier
|
| 7 |
|
|
|
|
|
|
|
| 8 |
The toxicity classifier is used to differentiate between non-toxic and toxic comments.
|
| 9 |
|
| 10 |
The model was trained with a dataset composed of toxic and non-toxic comments extracted from web forums.
|
| 11 |
|
| 12 |
## Details
|
| 13 |
- **Size:** 4,689,681 parameters
|
| 14 |
-
- **
|
| 15 |
-
- **Language:** English
|
| 16 |
- **Number of Epochs:** 20
|
| 17 |
- **Batch Size:** 16
|
| 18 |
- **Optimizer:** Adam
|
|
@@ -20,7 +21,8 @@ The model was trained with a dataset composed of toxic and non-toxic comments ex
|
|
| 20 |
- **Hardware:** Tesla V4
|
| 21 |
- **Emissions:** Not measured
|
| 22 |
- **Total Energy Consumption:** Not measured
|
| 23 |
-
|
|
|
|
| 24 |
|
| 25 |
⚠️ THE EXAMPLES BELOW CONTAIN TOXIC/OFFENSIVE LANGUAGE ⚠️
|
| 26 |
|
|
@@ -64,18 +66,24 @@ Toxic 🤬 0.99% | Not toxic 😊 99.01
|
|
| 64 |
__________________________________________________
|
| 65 |
```
|
| 66 |
|
| 67 |
-
|
| 68 |
|
| 69 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
@misc{teenytinycastle,
|
| 71 |
doi = {10.5281/zenodo.7112065},
|
| 72 |
-
url = {https://
|
| 73 |
author = {Nicholas Kluge Corr{\^e}a},
|
| 74 |
title = {Teeny-Tiny Castle},
|
| 75 |
-
year = {
|
| 76 |
-
publisher = {
|
| 77 |
-
journal = {
|
| 78 |
}
|
| 79 |
```
|
|
|
|
| 80 |
## License
|
| 81 |
-
|
|
|
|
|
|
| 5 |
---
|
| 6 |
# Toxicity-classifier
|
| 7 |
|
| 8 |
+
## Model Overview
|
| 9 |
+
|
| 10 |
The toxicity classifier is used to differentiate between non-toxic and toxic comments.
|
| 11 |
|
| 12 |
The model was trained with a dataset composed of toxic and non-toxic comments extracted from web forums.
|
| 13 |
|
| 14 |
## Details
|
| 15 |
- **Size:** 4,689,681 parameters
|
| 16 |
+
- **Model type:** Transformer
|
|
|
|
| 17 |
- **Number of Epochs:** 20
|
| 18 |
- **Batch Size:** 16
|
| 19 |
- **Optimizer:** Adam
|
|
|
|
| 21 |
- **Hardware:** Tesla V4
|
| 22 |
- **Emissions:** Not measured
|
| 23 |
- **Total Energy Consumption:** Not measured
|
| 24 |
+
|
| 25 |
+
## How to Use
|
| 26 |
|
| 27 |
⚠️ THE EXAMPLES BELOW CONTAIN TOXIC/OFFENSIVE LANGUAGE ⚠️
|
| 28 |
|
|
|
|
| 66 |
__________________________________________________
|
| 67 |
```
|
| 68 |
|
| 69 |
+
## Training Data
|
| 70 |
|
| 71 |
+
- **Dataset:** [Toxic Comment Classification Challenge Dataset](https://huggingface.co/datasets/AiresPucrs/toxic-comments)
|
| 72 |
+
|
| 73 |
+
## Cite as
|
| 74 |
+
|
| 75 |
+
```latex
|
| 76 |
@misc{teenytinycastle,
|
| 77 |
doi = {10.5281/zenodo.7112065},
|
| 78 |
+
url = {https://github.com/Nkluge-correa/teeny-tiny_castle},
|
| 79 |
author = {Nicholas Kluge Corr{\^e}a},
|
| 80 |
title = {Teeny-Tiny Castle},
|
| 81 |
+
year = {2024},
|
| 82 |
+
publisher = {GitHub},
|
| 83 |
+
journal = {GitHub repository},
|
| 84 |
}
|
| 85 |
```
|
| 86 |
+
|
| 87 |
## License
|
| 88 |
+
|
| 89 |
+
This model is licensed under the Apache License, Version 2.0. See the [LICENSE](LICENSE) file for more details.
|