Yichen Yang

Results 4 comments of Yichen Yang

需要改为 for item in data['annotations']

dataset要重写。现在是对有图像的数据集结构进行处理。把图像部分处理和cat去掉,只保留文本部分就行。

You need ice_text.model from [https://huggingface.co/THUDM/chatglm-6b/tree/main](url)

这个是数据集json格式的问题 外面多了一层映射 FewShotDataset内 改为 for item in data['annotations']即可