tteofili commited on
Commit
b8810af
1 Parent(s): b82202f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +205 -0
README.md CHANGED
@@ -1,3 +1,208 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ datasets:
4
+ - jigsaw_toxicity_pred
5
+ language:
6
+ - en
7
+ metrics:
8
+ - perplexity
9
  ---
10
+ # Model Card for `gminus`
11
+
12
+ This model is a `facebook/bart-large` fine-tuned on non-toxic comments from `jigsaw_toxicity_pred` dataset.
13
+ Only a subset (20%) of the non-toxic comments were used for training this dataset.
14
+
15
+ ## Model Details
16
+
17
+ This model is not intended to be used for plain inference, even though it is unlikely to predict toxic content.
18
+ It is intended to be used as "utility model" for detecting and fixing toxic content as its token probability distributions will likely differ from comparable models trained/fine-tuned over toxic data.
19
+ Its name `gplus` refers to the _G+_ model in [Detoxifying Text with MARCO: Controllable Revision with Experts and Anti-Experts](https://aclanthology.org/2023.acl-short.21.pdf).
20
+
21
+ ### Model Description
22
+
23
+
24
+ - **Developed by:** [tteofili]
25
+ - **Shared by :** [tteofili]
26
+ <!--- **Model type:** [More Information Needed]-->
27
+ <!--- **Language(s) (NLP):** [More Information Needed]-->
28
+ - **License:** [apache-2.0]
29
+ - **Finetuned from model :** [facebook/bart-large](https://huggingface.co/facebook/bart-large)
30
+ <!--
31
+ ### Model Sources [optional]
32
+
33
+ Provide the basic links for the model.
34
+
35
+ - **Repository:** [More Information Needed]
36
+ - **Paper [optional]:** [More Information Needed]
37
+ - **Demo [optional]:** [More Information Needed]
38
+ -->
39
+
40
+ ## Uses
41
+
42
+ <!--
43
+ Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model.
44
+
45
+ ### Direct Use
46
+
47
+ This section is for the model use without fine-tuning or plugging into a larger ecosystem/app.
48
+
49
+ [More Information Needed]
50
+
51
+ ### Downstream Use [optional]
52
+
53
+ This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app
54
+
55
+ [More Information Needed]
56
+
57
+ ### Out-of-Scope Use
58
+
59
+ This section addresses misuse, malicious use, and uses that the model will not work well for.
60
+
61
+ [More Information Needed]
62
+ -->
63
+ ## Bias, Risks, and Limitations
64
+
65
+ This model is fine-tuned over non-toxic comments from `jigsaw_toxicity_pred`, it is unlikely to produce toxic content.
66
+ Nevertheless, this model should only be used in combination with other models for the sake of detecting / fixing toxic content, see for example [Detoxifying Text with MARCO: Controllable Revision with Experts and Anti-Experts](https://aclanthology.org/2023.acl-short.21.pdf).
67
+
68
+ <!--
69
+ This section is meant to convey both technical and sociotechnical limitations.
70
+
71
+ [More Information Needed]
72
+
73
+ ### Recommendations
74
+
75
+ This section is meant to convey recommendations with respect to the bias, risk, and technical limitations.
76
+
77
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
78
+
79
+ ## How to Get Started with the Model
80
+
81
+ Use the code below to get started with the model.
82
+
83
+ [More Information Needed]
84
+
85
+ ## Training Details
86
+
87
+ ### Training Data
88
+
89
+ This should link to a Data 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.
90
+
91
+ [More Information Needed]
92
+
93
+ ### Training Procedure
94
+
95
+ This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure.
96
+
97
+ #### Preprocessing [optional]
98
+
99
+ [More Information Needed]
100
+
101
+
102
+ #### Training Hyperparameters
103
+
104
+ **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision
105
+
106
+ #### Speeds, Sizes, Times [optional]
107
+
108
+ - This section provides information about throughput, start/end time, checkpoint size if relevant, etc.
109
+
110
+ [More Information Needed]
111
+ -->
112
+ ## Evaluation
113
+
114
+ This section describes the evaluation protocols and provides the results.
115
+
116
+ ### Testing Data, Factors & Metrics
117
+
118
+ #### Testing Data
119
+
120
+ This model was tested on `jigsaw_toxic_pred` testset.
121
+
122
+ <!--
123
+ #### Factors
124
+
125
+ These are the things the evaluation is disaggregating by, e.g., subpopulations or domains.
126
+
127
+ [More Information Needed]
128
+ -->
129
+ #### Metrics
130
+
131
+ Model was evaluated using `perplexity` (on the MLM task).
132
+
133
+ ### Results
134
+
135
+ Perplexity: _1.02_
136
+
137
+ <!--
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ - Relevant interpretability work for the model goes here
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly
151
+
152
+ 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).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ - If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section.
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ If relevant, include terms and calculations in this section that can help readers understand the model or model card.
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+
208
+