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

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

Federated Learning using Hugging Face and Flower

AI 导读

Hugging Face 发布教程,演示如何用 Flower 框架在多个客户端上联邦微调 distilBERT 模型,完成 IMDB 影评情感分类任务。教程使用 datasets、evaluate、flwr、torch、transformers 等库,并提供了在 Google Colab 中通过 Flower 模拟功能复现联邦训练的 notebook。

来源:Hugging Face Blog · huggingface.co