Unpacking Error Training Custom NER #12445
Answered
by
kadarakos
vrunm
asked this question in
Help: Coding & Implementations
-
While training the custom NER model I am getting this error:
Is there any way around it? |
Beta Was this translation helpful? Give feedback.
Answered by
kadarakos
Mar 20, 2023
Replies: 1 comment
-
Hey there, It seems like that as you iterate through the elements of your 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) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
adrianeboyd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there,
It seems like that as you iterate through the elements of your
TRAIN_DATA
each element contains more elements than two: