Hugging Face Blog·· 2020-11-09AI 评分43
利用预训练语言模型 Checkpoint 构建 Encoder-Decoder 模型
Leveraging Pre-trained Language Model Checkpoints for Encoder-Decoder Models
AI 导读
Hugging Face 详解了利用 BERT、GPT2 等预训练语言模型 checkpoint 热启动 Encoder-Decoder 模型的方法,以跳过高昂的预训练阶段。该方案能在多种序列到序列任务上以极小的训练成本取得媲美 T5 和 Pegasus 的表现。开发者可通过 Transformers 库中的 EncoderDecoderModel 框架直接完成构建与微调。
来源:Hugging Face Blog · huggingface.co