saattrupdan
commited on
Commit
•
4575f3d
1
Parent(s):
e92caaf
Update README.md
Browse files
README.md
CHANGED
@@ -27,7 +27,7 @@ You can use the model simply by running the following:
|
|
27 |
|
28 |
```python
|
29 |
>>> from transformers import pipeline
|
30 |
-
>>> offensive_text_pipeline = pipeline(model="
|
31 |
>>> offensive_text_pipeline("Din store idiot")
|
32 |
[{'label': 'Offensive', 'score': 0.9997463822364807}]
|
33 |
```
|
|
|
27 |
|
28 |
```python
|
29 |
>>> from transformers import pipeline
|
30 |
+
>>> offensive_text_pipeline = pipeline(model="alexandrainst/danoff-base")
|
31 |
>>> offensive_text_pipeline("Din store idiot")
|
32 |
[{'label': 'Offensive', 'score': 0.9997463822364807}]
|
33 |
```
|