Update README.md
Browse files
README.md
CHANGED
@@ -30,6 +30,7 @@ model = AutoModelForSequenceClassification.from_pretrained(checkpoint,
|
|
30 |
|
31 |
sentiment_task = pipeline("sentiment-analysis",
|
32 |
model=model,
|
33 |
-
tokenizer=tokenizer
|
|
|
34 |
|
35 |
print(sentiment_task("Michigan Wolverines are Champions, Go Blue!"))
|
|
|
30 |
|
31 |
sentiment_task = pipeline("sentiment-analysis",
|
32 |
model=model,
|
33 |
+
tokenizer=tokenizer,
|
34 |
+
device='cuda')
|
35 |
|
36 |
print(sentiment_task("Michigan Wolverines are Champions, Go Blue!"))
|