UNQ_C8 error: "list indices must be integers or slices, not str"

As I see that UNQ_C8 errors are often all over the place in the notebook, and you usually ask for lab_id and help out, here is mine :slight_smile: Thank you!
gqzlrwuz

Fixed it! In UNK_C6: DecoderBlock, feed_forward, I had used tl.Dropout(dropout, mode), instead of tl.Dropout(dropout, mode = mode) - thusly giving parameters in the wrong order. Thank you!

7 Likes

This comment helped me save so much time, thanks for sharing! I had mode=mode in most of the Dropout() instances, but apparently not all of them. +1

I had the same error! I appreciate the guidance :+1:

@jaanbi Thank you so much for this comment!