一直做nlu的任务比较多,所以对bart和t5这类生成式模型了解不多,这里收藏一些不错的源码讲解 BART源码剖析(transformers 4.9.0)T5: the Text-To-Text Transfer Transformer - transformers API使用方法(源码解析)