Update README.md
Browse files
README.md
CHANGED
@@ -3,8 +3,8 @@ license: apache-2.0
|
|
3 |
---
|
4 |
Text Detoxification Task is a process of transforming the text with toxic style into the text with the same meaning but with neutral style
|
5 |
|
6 |
-
```
|
7 |
-
|
8 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
9 |
|
10 |
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
|
|
3 |
---
|
4 |
Text Detoxification Task is a process of transforming the text with toxic style into the text with the same meaning but with neutral style
|
5 |
|
6 |
+
```python
|
7 |
+
import torch
|
8 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
9 |
|
10 |
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|