跳到正文
Hugging Face Blog·· 2023-03-27AI 评分22

使用 Hugging Face 和 Flower 实现联邦学习

Federated Learning using Hugging Face and Flower

AI 导读

Hugging Face 发布教程,演示如何用 Flower 框架在多个客户端上联邦训练语言模型。教程以 distilBERT 为例,在 IMDB 影评数据集上微调做序列分类,判断影评正负情感,并提供了在 Google Colab 中用 Flower 模拟功能模拟联邦环境的 notebook。

来源:Hugging Face Blog · huggingface.co