FredZhang7 commited on
Commit
1ceb2e9
1 Parent(s): f2f8e63
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -55,7 +55,7 @@ prompt = r'1girl, genshin'
55
  # generate text using fine-tuned model
56
  nlp = pipeline('text-generation', model=model, tokenizer=tokenizer)
57
 
58
- # generate 10 samples using greedy search
59
  outs = nlp(prompt, max_length=76, num_return_sequences=10, do_sample=True, repetition_penalty=1.2, temperature=0.7, top_k=4, early_stopping=True)
60
 
61
  print('\nInput:\n' + 100 * '-')
 
55
  # generate text using fine-tuned model
56
  nlp = pipeline('text-generation', model=model, tokenizer=tokenizer)
57
 
58
+ # generate 10 samples using contrastive search
59
  outs = nlp(prompt, max_length=76, num_return_sequences=10, do_sample=True, repetition_penalty=1.2, temperature=0.7, top_k=4, early_stopping=True)
60
 
61
  print('\nInput:\n' + 100 * '-')