BART是否支持中文?

和BART相关的中文模型,找到https://huggingface.co/facebook/mbart-large-cc25,这是一个翻译模型。

模型名称 模型链接 类型
bart-large-cnn https://huggingface.co/facebook/bart-large-cnn summarization
bart-base https://huggingface.co/facebook/bart-base text-generation
mbart-large-cc25 https://huggingface.co/facebook/mbart-large-cc25 translation

BART可以在摘要任务(CNN-Dailymail )进行微调,https://github.com/pytorch/fairseq/blob/master/examples/bart/README.summarization.md

BART在GLUE任务进行微调,https://github.com/pytorch/fairseq/blob/master/examples/bart/README.glue.md

BART在翻译任务进行微调,https://github.com/pytorch/fairseq/tree/master/examples/translation

BART在故事生成任务进行微调,https://github.com/pytorch/fairseq/tree/master/examples/stories

BART在翻译任务的测试结果:
注意不需要提前下载模型

原文地址:https://www.cnblogs.com/xuehuiping/p/13719583.html