PaddlePaddle / Paddle

PArallel Distributed Deep LEarning: Machine Learning Framework from Industrial Practice (『飞桨』核心框架,深度学习&机器学习高性能单机、分布式训练和跨平台部署)
http://www.paddlepaddle.org/
Apache License 2.0
22.07k stars 5.54k forks source link

X2Paddle转hugging face的模型,支持seq2seq的吗 #45114

Open Amy234543 opened 2 years ago

Amy234543 commented 2 years ago

请提出你的问题 Please ask your question

我使用X2Paddle转hugging face的seq2seq模型时,遇到了报错说需要输入decoder的input id,我想问下X2Paddle支持将seq2seq的模型转成paddle吗

paddle-bot[bot] commented 2 years ago

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档常见问题历史IssueAI社区来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the APIFAQGithub Issue and AI community to get the answer.Have a nice day!

qili93 commented 2 years ago

您好,目前X2Paddle支持的模型列表可以参考 https://github.com/PaddlePaddle/X2Paddle/blob/develop/docs/introduction/x2paddle_model_zoo.md

您这里的模型如果不在以上列表中,同时转化失败的话,是否可以提供您这里的模型,我们这里分析一下模型转换失败的原因,谢谢!

Amy234543 commented 2 years ago

@qili93 我用的模型是huggingface上的m2m100_418M模型,报的错误是ValueError: You have to specify either decoder_input_ids or decoder_inputs_embeds

Amy234543 commented 2 years ago

@qili93 你好,我想问下失败的原因是什么,可以支持m2m100模型吗