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在翻譯任務的測試結果:
注意不需要提前下載模型


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM