1

我想使用从 csv 加载自定义数据集huggingfaces-transformers

4

1 回答 1

1

来自https://huggingface.co/docs/datasets/loading_datasets.html#loading-from-local-files

dataset = load_dataset('csv', data_files={'train': "train_set.csv",'test': "test_set.csv"})
于 2021-09-10T21:11:05.573 回答