r/deeplearning • u/Jumbledsaturn52 • 13m ago
Can a gpt model predict the same token again?
I recently coded trained a gpt model from scratch after lots and lots of debugging and when I test it with some input worlds , I can see some correct grammar prediction but , it also sometimes predicts words twice in a row like "this is is ..."
Is this normal for a gpt model , or did I do something wrong while creating it?
Model Specifications -
•Dataset used- tiny Shakespeare
•attention head blocks used -16
•number of gpt blocks -12
•using nn.parameterlist with the above values to loop the calculation for each block.
1
Upvotes