Skip to content
Discussion options

You must be logged in to vote

Hey there,

It seems like that as you iterate through the elements of your TRAIN_DATA each element contains more elements than two:

In [1]: a, b = [1, 2]

In [2]: a, b = [1, 2, 3]
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[2], line 1
----> 1 a, b = [1, 2, 3]

ValueError: too many values to unpack (expected 2)

In [3]: a, b = [1]
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[3], line 1
----> 1 a, b = [1]

ValueError: not enough values to unpack (expected 2, got 1)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by adrianeboyd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / training Feature: Training utils, Example, Corpus and converters
2 participants