Parameter Usage Question
opened this issue · 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