Hi everyone!
I have a question on using datablock API. Suppose I have two CSVs, one with train data and one with valid data. It contains text in text
column and labels in label
columns. How do I load this using datablocks API? For now I am using a workaround with preloading dataframes in pandas, adding a train_or_dev
column and using it for splitting, but that defeats the purpose of datablock. Any ideas?
Yeah, for now we don’t have anything better than joining them in a dataframe then splitting on indexes or a new column.
1 Like