Nvflare Convert Huggingface

Convert existing Hugging Face Transformers Trainer or TRL SFTTrainer training code into an NVFLARE federated job using flare.patch(trainer), local validation, and job export; use when the user names Hugging Face or preliminary source inspection identifies one Hugging Face owner, and not for manual PyTorch loops, Lightning, inference-only pipelines, deployment, or experiment workflows.

NVIDIA Updated 23k repo stars
Two hospitals train models on private local data and send model updates to a federated server, which aggregates them into a global model.

File contents

nvidia/nvflare commit 43aba9a5b1

Frequently asked questions

npx get-skill add nvidia/nvflare-convert-huggingface