I can’t find where the bug in my code for the “tokenize_labels” function is. The task looks simple but the code output doesn’t match the “expected output”. See below. Any ideas why?
The labels in the np.array should range from 0 to 4 (5 categories). Right? So I should not see values higher than 4.
Never mind! I found the bug