Hi everyone !
I’m trying to deal with a simple binary Text Classification using the text_classifier_learner.
The original full dataset file is named ‘full_dataset.csv’
I already split this dataset into Train, Valid and Test DataFrame.
Each set has 2 columns : Target, Text (Target being the first column in each dataset)
The target is either 0 or 1 and each set has the two values in the target column
I loaded my data as follows:
data_lm = TextLMDataBunch.from_csv(PATH, 'full_dataset.csv') data_clas = TextClasDataBunch.from_df(PATH, df_train, df_valid, df_test, vocab=data_lm.train_ds.vocab, bs=32)
I’m new to both deep learning and fastAI and I don’t know why there is only Category 1 in my
Does anyone has the same problem ?
data_clas.test_ds.x look normal, they all look like what I have in the original sets
Thanks in advance