stanford_alpaca icon indicating copy to clipboard operation
stanford_alpaca copied to clipboard

inference kwargs

Open 1024er opened this issue 1 year ago • 0 comments

Thanks for the great work, I reproduced the training, but at inference time tends to generate shorter text. I am using:

generated = model.generate(batch["input_ids"], max_length=512)

Does the interface on the demo web page adjust other kwargs? Thanks

1024er avatar Mar 15 '23 17:03 1024er