Software Development

NVFLARE Convert Huggingface

The Nvflare Convert Huggingface skill converts a Hugging Face Transformers Trainer or TRL SFTTrainer script into an NVFLARE federated job by applying flare.patch, validating locally, and exporting the job. It enables users with a single Hugging Face owner in their code to integrate their existing training pipeline into a federated learning environment without modifying PyTorch loops, Lightning, or inference-only workflows. This seamless conversion expands the reach of Hugging Face models to collaborative, privacy-preserving training scenarios.

Publisher / source
NVIDIA Skills (Verified)
Upstream record
NVIDIA/skills
Version
Version 2
Published
Publication review
Approved for publication
Content fingerprint
54c5e2db60fc64a430193e8031557d768cd249d6b85d65d62ed8e432adaa2fb0