tesemnikov-av
commited on
Commit
•
a4b60d0
1
Parent(s):
07d924f
Update README.md
Browse files
README.md
CHANGED
@@ -12,7 +12,11 @@ language: RU
|
|
12 |
```python
|
13 |
!pip install transformers > /dev/null
|
14 |
|
15 |
-
from transformers import
|
|
|
|
|
|
|
|
|
16 |
|
17 |
model = AutoModelForTokenClassification.from_pretrained('tesemnikov-av/rubert-ner-toxicity')
|
18 |
tokenizer = AutoTokenizer.from_pretrained('tesemnikov-av/rubert-ner-toxicity')
|
|
|
12 |
```python
|
13 |
!pip install transformers > /dev/null
|
14 |
|
15 |
+
from transformers import (
|
16 |
+
AutoModelForTokenClassification,
|
17 |
+
AutoTokenizer,
|
18 |
+
pipeline
|
19 |
+
)
|
20 |
|
21 |
model = AutoModelForTokenClassification.from_pretrained('tesemnikov-av/rubert-ner-toxicity')
|
22 |
tokenizer = AutoTokenizer.from_pretrained('tesemnikov-av/rubert-ner-toxicity')
|