Submitted by AutoModerator t3_10cn8pw in MachineLearning
zoontechnicon t1_j69b6g5 wrote
Reply to comment by zoontechnicon in [D] Simple Questions Thread by AutoModerator
The solution, as evidenced by code in huggingface/transformers is to force the probability of the end token to -Inf. What a hack...
Viewing a single comment thread. View all comments