Update README.md
Browse files
README.md
CHANGED
|
@@ -21,11 +21,11 @@ sentiment_model = pipeline(model=aari1995/German_Sentiment)
|
|
| 21 |
to use it:
|
| 22 |
|
| 23 |
```python
|
| 24 |
-
sentence = ["Ich liebe die Bahn. Pünktlich wie immer ... -.-","
|
| 25 |
result = sentiment_model(sentence)
|
| 26 |
print(result)
|
| 27 |
#Output:
|
| 28 |
-
#[{'label': 'negative', 'score': 0.4935680031776428},{'label': 'positive', 'score': 0.
|
| 29 |
```
|
| 30 |
|
| 31 |
Credits / Special Thanks:
|
|
|
|
| 21 |
to use it:
|
| 22 |
|
| 23 |
```python
|
| 24 |
+
sentence = ["Ich liebe die Bahn. Pünktlich wie immer ... -.-","Krasser Service"]
|
| 25 |
result = sentiment_model(sentence)
|
| 26 |
print(result)
|
| 27 |
#Output:
|
| 28 |
+
#[{'label': 'negative', 'score': 0.4935680031776428},{'label': 'positive', 'score': 0.5790663957595825}]
|
| 29 |
```
|
| 30 |
|
| 31 |
Credits / Special Thanks:
|