gpt-2-cloud-run icon indicating copy to clipboard operation
gpt-2-cloud-run copied to clipboard

Parameter Usage Question

Open impulsecorp opened this issue 5 years ago • 0 comments

I understand the 4 parameters in your jQuery form (prefix, length, temperature, top_k) but in the .app file, there are also these 4 lines: top_p=float(params.get('top_p', 0)), truncate=params.get('truncate', None), include_prefix=str(params.get('include_prefix', True)).lower() == 'true', return_as_list=True

I assume if I don't want to allow the user to write the first n characters of the story, I would change it to:  'include_prefix', False  . But what do these 3 do? top_p, truncate, and return_as_list

impulsecorp avatar Nov 21 '19 15:11 impulsecorp