split data elmo
from sklearn.model_selection import train_test_split | |
xtrain, xvalid, ytrain, yvalid = train_test_split(elmo_train_new, | |
train['label'], | |
random_state=42, | |
test_size=0.2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment