You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys,
I have been trying the challenge in the Intro to NLP chapter which is training our best model with no validation split. Does that mean, we can split test_df into test sentences and labels and use them as validation data in fitting the model? When I did that the error was like this:
ValueError: Data cardinality is ambiguous:
x sizes: 3263
y sizes: 7613
Make sure all arrays contain the same number of samples.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys,
I have been trying the challenge in the Intro to NLP chapter which is training our best model with no validation split. Does that mean, we can split test_df into test sentences and labels and use them as validation data in fitting the model? When I did that the error was like this:
ValueError: Data cardinality is ambiguous:
x sizes: 3263
y sizes: 7613
Make sure all arrays contain the same number of samples.
can anyone solve this for me?
thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions