nps798 commited on
Commit
393e9cb
1 Parent(s): c5232e0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -78,7 +78,7 @@ prompt= """Below is an instruction that describes a task. Write a response that
78
  Choose three places you would like to visit and explain why.
79
 
80
  ### Response:"""
81
- inputs = tokenizer(prompt, return_tensors="pt", return_attention_mask=False)
82
  outputs = model.generate(**inputs, max_length=500)
83
  text = tokenizer.batch_decode(outputs)[0]
84
  print(text)
 
78
  Choose three places you would like to visit and explain why.
79
 
80
  ### Response:"""
81
+ inputs = tokenizer(prompt, return_tensors="pt", return_attention_mask=False).to('cuda')
82
  outputs = model.generate(**inputs, max_length=500)
83
  text = tokenizer.batch_decode(outputs)[0]
84
  print(text)