gokaygokay commited on
Commit
f0b2c31
1 Parent(s): 9f38f29

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -0
README.md CHANGED
@@ -26,6 +26,7 @@ model = AutoModelForSeq2SeqLM.from_pretrained(model_checkpoint)
26
  enhancer = pipeline('text2text-generation',
27
  model=model,
28
  tokenizer=tokenizer,
 
29
  device=device)
30
 
31
  max_target_length = 256
 
26
  enhancer = pipeline('text2text-generation',
27
  model=model,
28
  tokenizer=tokenizer,
29
+ repetition_penalty= 1.2,
30
  device=device)
31
 
32
  max_target_length = 256