Update README.md
Browse files
README.md
CHANGED
|
@@ -31,7 +31,8 @@ model.to(device)
|
|
| 31 |
|
| 32 |
sentiment_task = pipeline("sentiment-analysis",
|
| 33 |
model=model,
|
| 34 |
-
tokenizer=tokenizer
|
|
|
|
| 35 |
|
| 36 |
print(sentiment_task("Michigan Wolverines are Champions, Go Blue!"))
|
| 37 |
```
|
|
|
|
| 31 |
|
| 32 |
sentiment_task = pipeline("sentiment-analysis",
|
| 33 |
model=model,
|
| 34 |
+
tokenizer=tokenizer,
|
| 35 |
+
device =device)
|
| 36 |
|
| 37 |
print(sentiment_task("Michigan Wolverines are Champions, Go Blue!"))
|
| 38 |
```
|