File size: 96 Bytes
5fa1a76
 
1
2
tokens = tokenizer(prompt, return_tensors="pt").to("cuda")
use the model to generate new tokens.