kumo24 commited on
Commit
e321e23
·
verified ·
1 Parent(s): f7c8989

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
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!"))