Update README.md
Browse files
README.md
CHANGED
@@ -20,4 +20,13 @@ widget:
|
|
20 |
3. face_on_keyboard - текст абсолютно не имеет смысла.
|
21 |
|
22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
Blogpost: [link](https://t.me/den4ikresearch/9)
|
|
|
20 |
3. face_on_keyboard - текст абсолютно не имеет смысла.
|
21 |
|
22 |
|
23 |
+
Пример кода инференса:
|
24 |
+
```python
|
25 |
+
from transformers import pipeline
|
26 |
+
classifier = pipeline("text-classification", model="Den4ikAI/nonsense_gibberish_detector")
|
27 |
+
while 1:
|
28 |
+
print(classifier(input(":> ")))
|
29 |
+
```
|
30 |
+
|
31 |
+
|
32 |
Blogpost: [link](https://t.me/den4ikresearch/9)
|