pytorch-chatbot icon indicating copy to clipboard operation
pytorch-chatbot copied to clipboard

how can i solve this TT

Open hamhamcheeseO opened this issue 3 years ago • 1 comments

RuntimeError: mat1 and mat2 shapes cannot be multiplied (8x8 and 54x8)

hamhamcheeseO avatar Nov 08 '21 13:11 hamhamcheeseO

change hidden_size in train.py to 54.

You see this is a simple matrix multiplication issue. The row of second matrix should match the column of the first matrix.

mayamalkoti-ashmar avatar Jun 29 '22 05:06 mayamalkoti-ashmar