load_data() with text_only or one type of tabular features (without categorical features)
inimah opened this issue · 2 comments
inimah commented
- Why do we need to keep initializing ``cat_cols'' and num_cols'' when we want to inspect how the model performs with text input only?
- When categorical tabular features is not present (text and numerical features only), how do we initialize load_data_from_folder() function?
I checked that the function requires the inputs to have at least one categorical features --> raising an error when discarding categorical initialization.
akashsaravanan-georgian commented
Hi @inimah,
- If you don't have categorical and numerical columns at all, you should use a normal BERT or other model instead of this one. However you can still set no cat or numerical columns in the config before using the model.
- If you have a trained model, the model expects all columns by nature.
- Same as above, you can specify categorical columns as None and it won't be used.
Please let me know if you run into specific errors and I can help debug/fix them!
akashsaravanan-georgian commented
Closing due to inactivity.