vasudevgupta commited on
Commit
8237f42
1 Parent(s): 2b48be8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -38,7 +38,7 @@ model = BigBirdPegasusForConditionalGeneration.from_pretrained("google/bigbird-p
38
 
39
  text = "Replace me by any text you'd like."
40
  inputs = tokenizer(text, return_tensors='pt')
41
- prediction = model.generate(input_ids=input_ids)
42
  prediction = tokenizer.batch_decode(prediction)
43
  ```
44
 
 
38
 
39
  text = "Replace me by any text you'd like."
40
  inputs = tokenizer(text, return_tensors='pt')
41
+ prediction = model.generate(**inputs)
42
  prediction = tokenizer.batch_decode(prediction)
43
  ```
44