I'm trying to work with a dataset for a weighted automata. The dataset structure is
/dataset
/train
ID_Weigth.txt
/test
ID_Weight.txt
So I basically have a .txt-file with a simple string. Before I can try to figure out the details regarding the regression itself to predict the weight of a string based on my data, I need to prepare my data. Currently I'm trying to use the function text_dataset_from_directory but I don't know where to go from there with preparing that data. Any help would be appreciated.