Closed qjxjy123 closed 1 year ago
你好,我测试过HF的源代码,结果是一致的哈。该模型对数字支持确实不是很好,可以尝试换成mbart-large-50-many-to-many-mmt
或者做些后处理。
This issue is stale because it has been open for 60 days with no activity. 当前issue 60天内无活动,被标记为stale。
This issue was closed because it has been inactive for 14 days since being marked as stale. 当前issue 被标记为stale已有14天,即将关闭。
https://github.com/PaddlePaddle/PaddleNLP/blob/develop/faster_generation/samples/mbart_sample.py 在paddlenlp机器翻译内置权重的使用过程中,当输入纯数字进行英译中的时候,会出现一些异常情况:在预测结果前面加入『小行星』、『號』等文字,在demo里将输入的英文改为纯数字即可复现结果。