Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
This is the detoxification baseline model trained on the [train](https://github.com/skoltech-nlp/russe_detox_2022/blob/main/data/input/train.tsv) part of "RUSSE 2022: Russian Text Detoxification Based on Parallel Corpora" competition. The source sentences are Russian toxic messages from Odnoklassniki, Pikabu, and Twitter platforms. The base model is [ruT5](https://huggingface.co/sberbank-ai/ruT5-base) provided from Sber.
|
2 |
|
3 |
**How to use**
|
@@ -9,13 +16,4 @@ model_name = 'SkolkovoInstitute/ruT5-base-detox'
|
|
9 |
|
10 |
tokenizer = AutoTokenizer.from_pretrained(base_model_name)
|
11 |
model = T5ForConditionalGeneration.from_pretrained(model_name)
|
12 |
-
```
|
13 |
-
|
14 |
-
## Licensing Information
|
15 |
-
|
16 |
-
[Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License][cc-by-nc-sa].
|
17 |
-
|
18 |
-
[![CC BY-NC-SA 4.0][cc-by-nc-sa-image]][cc-by-nc-sa]
|
19 |
-
|
20 |
-
[cc-by-nc-sa]: http://creativecommons.org/licenses/by-nc-sa/4.0/
|
21 |
-
[cc-by-nc-sa-image]: https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png
|
|
|
1 |
+
---
|
2 |
+
license: openrail++
|
3 |
+
language:
|
4 |
+
- ru
|
5 |
+
tags:
|
6 |
+
- text-generation-inference
|
7 |
+
---
|
8 |
This is the detoxification baseline model trained on the [train](https://github.com/skoltech-nlp/russe_detox_2022/blob/main/data/input/train.tsv) part of "RUSSE 2022: Russian Text Detoxification Based on Parallel Corpora" competition. The source sentences are Russian toxic messages from Odnoklassniki, Pikabu, and Twitter platforms. The base model is [ruT5](https://huggingface.co/sberbank-ai/ruT5-base) provided from Sber.
|
9 |
|
10 |
**How to use**
|
|
|
16 |
|
17 |
tokenizer = AutoTokenizer.from_pretrained(base_model_name)
|
18 |
model = T5ForConditionalGeneration.from_pretrained(model_name)
|
19 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|