Updating model card
Browse files
README.md
CHANGED
|
@@ -5,6 +5,10 @@ language:
|
|
| 5 |
- en
|
| 6 |
base_model:
|
| 7 |
- FacebookAI/roberta-base
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
# Model Card for Model ID
|
| 10 |
|
|
@@ -20,9 +24,8 @@ This modelcard aims to be a base template for new models. It has been generated
|
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
-
- **Developed by:**
|
| 24 |
-
- **
|
| 25 |
-
- **Shared by [optional]:** [More Information Needed]
|
| 26 |
- **Model type:** [More Information Needed]
|
| 27 |
- **Language(s) (NLP):** [More Information Needed]
|
| 28 |
- **License:** [More Information Needed]
|
|
@@ -40,6 +43,8 @@ This modelcard aims to be a base template for new models. It has been generated
|
|
| 40 |
|
| 41 |
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 42 |
|
|
|
|
|
|
|
| 43 |
### Direct Use
|
| 44 |
|
| 45 |
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
|
@@ -82,14 +87,21 @@ Use the code below to get started with the model.
|
|
| 82 |
|
| 83 |
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 84 |
|
|
|
|
|
|
|
|
|
|
| 85 |
[More Information Needed]
|
| 86 |
|
| 87 |
### Training Procedure
|
| 88 |
|
| 89 |
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 90 |
|
|
|
|
|
|
|
| 91 |
#### Preprocessing [optional]
|
| 92 |
|
|
|
|
|
|
|
| 93 |
[More Information Needed]
|
| 94 |
|
| 95 |
|
|
@@ -101,6 +113,8 @@ Use the code below to get started with the model.
|
|
| 101 |
|
| 102 |
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 103 |
|
|
|
|
|
|
|
| 104 |
[More Information Needed]
|
| 105 |
|
| 106 |
## Evaluation
|
|
@@ -125,6 +139,8 @@ Use the code below to get started with the model.
|
|
| 125 |
|
| 126 |
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 127 |
|
|
|
|
|
|
|
| 128 |
[More Information Needed]
|
| 129 |
|
| 130 |
### Results
|
|
@@ -147,11 +163,8 @@ Use the code below to get started with the model.
|
|
| 147 |
|
| 148 |
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 149 |
|
| 150 |
-
- **Hardware Type:**
|
| 151 |
-
- **Hours used:**
|
| 152 |
-
- **Cloud Provider:** [More Information Needed]
|
| 153 |
-
- **Compute Region:** [More Information Needed]
|
| 154 |
-
- **Carbon Emitted:** [More Information Needed]
|
| 155 |
|
| 156 |
## Technical Specifications [optional]
|
| 157 |
|
|
@@ -171,6 +184,8 @@ Carbon emissions can be estimated using the [Machine Learning Impact calculator]
|
|
| 171 |
|
| 172 |
[More Information Needed]
|
| 173 |
|
|
|
|
|
|
|
| 174 |
## Citation [optional]
|
| 175 |
|
| 176 |
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
|
|
|
| 5 |
- en
|
| 6 |
base_model:
|
| 7 |
- FacebookAI/roberta-base
|
| 8 |
+
metrics:
|
| 9 |
+
- accuracy
|
| 10 |
+
pipeline_tag: text-classification
|
| 11 |
+
library_name: transformers
|
| 12 |
---
|
| 13 |
# Model Card for Model ID
|
| 14 |
|
|
|
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
+
- **Developed by:** ESIEA Students
|
| 28 |
+
- **Shared by [optional]:** ESIEA Students
|
|
|
|
| 29 |
- **Model type:** [More Information Needed]
|
| 30 |
- **Language(s) (NLP):** [More Information Needed]
|
| 31 |
- **License:** [More Information Needed]
|
|
|
|
| 43 |
|
| 44 |
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 45 |
|
| 46 |
+
The model can be used to classify text based on their toxicities
|
| 47 |
+
|
| 48 |
### Direct Use
|
| 49 |
|
| 50 |
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
|
|
|
| 87 |
|
| 88 |
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 89 |
|
| 90 |
+
We did train the model on the googleJigSaw toxic dataset as mentionned above on the 150k comments
|
| 91 |
+
|
| 92 |
+
|
| 93 |
[More Information Needed]
|
| 94 |
|
| 95 |
### Training Procedure
|
| 96 |
|
| 97 |
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 98 |
|
| 99 |
+
we trained
|
| 100 |
+
|
| 101 |
#### Preprocessing [optional]
|
| 102 |
|
| 103 |
+
we only did some basic data-cleaning
|
| 104 |
+
|
| 105 |
[More Information Needed]
|
| 106 |
|
| 107 |
|
|
|
|
| 113 |
|
| 114 |
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 115 |
|
| 116 |
+
training time 4hours on a gtx 1050TI GPU on 3 epochs
|
| 117 |
+
|
| 118 |
[More Information Needed]
|
| 119 |
|
| 120 |
## Evaluation
|
|
|
|
| 139 |
|
| 140 |
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 141 |
|
| 142 |
+
Accuracy of : **90%**
|
| 143 |
+
|
| 144 |
[More Information Needed]
|
| 145 |
|
| 146 |
### Results
|
|
|
|
| 163 |
|
| 164 |
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 165 |
|
| 166 |
+
- **Hardware Type:** GTX 1050 TI
|
| 167 |
+
- **Hours used:** 4 HOURS
|
|
|
|
|
|
|
|
|
|
| 168 |
|
| 169 |
## Technical Specifications [optional]
|
| 170 |
|
|
|
|
| 184 |
|
| 185 |
[More Information Needed]
|
| 186 |
|
| 187 |
+
We did use torch
|
| 188 |
+
|
| 189 |
## Citation [optional]
|
| 190 |
|
| 191 |
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|