pragatheeswaran commited on
Commit
9fa97d1
·
verified ·
1 Parent(s): a03c4a7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -0
README.md CHANGED
@@ -36,7 +36,9 @@ input_ids = input_ids.to(device)
36
 
37
  # Generate summary
38
  output = model.generate(input_ids, max_length=50, num_beams=4, early_stopping=True)
 
39
  generated_summary = tokenizer.decode(output[0], skip_special_tokens=True)
40
 
41
  print(generated_summary)
 
42
  To use this model for text generation:
 
36
 
37
  # Generate summary
38
  output = model.generate(input_ids, max_length=50, num_beams=4, early_stopping=True)
39
+
40
  generated_summary = tokenizer.decode(output[0], skip_special_tokens=True)
41
 
42
  print(generated_summary)
43
+
44
  To use this model for text generation: