from datasets import load_dataset,Features,Value
context_feat = Features({'text': Value(dtype='string', id=None)})
dataset = load_dataset(
path="text",
data_dir=path.data_dir,
data_files="input.fm.plus.fc.txt",
split="train",
features=context_feat
)
[linux] ValueError: Please pass `features` or at least one example when writing data
猜你喜欢
转载自blog.csdn.net/Trance95/article/details/131923819
今日推荐
周排行