Update README.md
Browse files
README.md
CHANGED
@@ -66,7 +66,7 @@ This model can be used directly with a pipeline for text classification:
|
|
66 |
```python
|
67 |
>>> from transformers import pipeline
|
68 |
>>> tokenizer_kwargs = {'padding':True,'truncation':True,'max_length':512}
|
69 |
-
>>> partypress = pipeline("text-classification", model = "cornelius/partypress-monolingual-
|
70 |
>>> partypress("Your text here.")
|
71 |
```
|
72 |
|
|
|
66 |
```python
|
67 |
>>> from transformers import pipeline
|
68 |
>>> tokenizer_kwargs = {'padding':True,'truncation':True,'max_length':512}
|
69 |
+
>>> partypress = pipeline("text-classification", model = "cornelius/partypress-monolingual-denmark", tokenizer = "cornelius/partypress-monolingual-denmark", **tokenizer_kwargs)
|
70 |
>>> partypress("Your text here.")
|
71 |
```
|
72 |
|