开发者社区 > ModelScope模型即服务 > 正文

微调 ModelScope模型中,以上错误是什么意思啊 ?

"D:\tool\Anaconda\anaconda3\envs\modelscope\python.exe F:\study\graduationProject\vue2_mt5\vue_flask\finetune.py
2024-05-17 16:13:31,093 - modelscope - INFO - PyTorch version 2.1.2 Found.
2024-05-17 16:13:31,095 - modelscope - INFO - TensorFlow version 2.13.0 Found.
2024-05-17 16:13:31,095 - modelscope - INFO - Loading ast index from C:\Users\Lenovo.cache\modelscope\ast_indexer
2024-05-17 16:13:31,294 - modelscope - INFO - Loading done! Current index file version is 1.11.1, with md5 af11052f4809d6d16c4a0aff6b92751f and a total number of 956 components indexed
Traceback (most recent call last):
File ""F:\study\graduationProject\vue2_mt5\vue_flask\finetune.py"", line 8, in
dataset_dict = MsDataset.load('liuyuqing/classify', subset_name='default', split='train')
File ""D:\tool\Anaconda\anaconda3\envs\modelscope\lib\site-packages\modelscope\msdatasets\ms_dataset.py"", line 284, in load
dataset_inst = remote_dataloader_manager.load_dataset(
File ""D:\tool\Anaconda\anaconda3\envs\modelscope\lib\site-packages\modelscope\msdatasets\data_loader\data_loader_manager.py"", line 132, in load_dataset
oss_downloader.process()
File ""D:\tool\Anaconda\anaconda3\envs\modelscope\lib\site-packages\modelscope\msdatasets\data_loader\data_loader.py"", line 82, in process
self._build()
File ""D:\tool\Anaconda\anaconda3\envs\modelscope\lib\site-packages\modelscope\msdatasets\data_loader\data_loader.py"", line 108, in _build
meta_manager.fetch_meta_files()
File ""D:\tool\Anaconda\anaconda3\envs\modelscope\lib\site-packages\modelscope\msdatasets\meta\data_meta_manager.py"", line 72, in fetch_meta_files
dataset_scripts, dataset_formation = self._fetch_meta_from_hub(
File ""D:\tool\Anaconda\anaconda3\envs\modelscope\lib\site-packages\modelscope\msdatasets\meta\data_meta_manager.py"", line 181, in _fetch_meta_from_hub
local_paths, dataset_formation = self.api.get_dataset_meta_files_local_paths(
File ""D:\tool\Anaconda\anaconda3\envs\modelscope\lib\site-packages\modelscope\hub\api.py"", line 643, in get_dataset_meta_files_local_paths
dataset_formation = DatasetFormations(dataset_type)
File ""D:\tool\Anaconda\anaconda3\envs\modelscope\lib\enum.py"", line 339, in call
return cls.new(cls, value)
File ""D:\tool\Anaconda\anaconda3\envs\modelscope\lib\enum.py"", line 663, in new
raise ve_exc
ValueError: 4 is not a valid DatasetFormations

Process finished with exit code 1
damo/nlp_mt5_zero-shot-augment_chinese-base微调 ModelScope模型中,以上错误是什么意思啊 ?"

展开
收起
小小爱吃香菜 2024-05-21 22:04:45 104 0
1 条回答
写回答
取消 提交回答
  • pip install modelscope -U 此回答整理自钉钉群“魔搭ModelScope开发者联盟群 ①”

    2024-05-22 09:20:40
    赞同 展开评论 打赏

ModelScope旨在打造下一代开源的模型即服务共享平台,为泛AI开发者提供灵活、易用、低成本的一站式模型服务产品,让模型应用更简单!欢迎加入技术交流群:微信公众号:魔搭ModelScope社区,钉钉群号:44837352

相关电子书

更多
视觉AI能力的开放现状及ModelScope实战 立即下载
ModelScope助力语音AI模型创新与应用 立即下载
低代码开发师(初级)实战教程 立即下载