Skill
nvflare-convert-huggingface
Created by nvidia
Version 392ab8ab2587345a9d86240967f666bd59ac82ca
Overview
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.