Ask HN: How do GPT models generate variable length outputs??
Traditional ML models generally make predictions with a fixed length output , e.g. text of 100 characters. But gpt models can generate a yes/or no and sometimes they generate longer answers. How is it generated?