update readme 5c4c40a
youngsheen commited on
How to use DAMO-NLP-SG/DiGIT with Fairseq:
from fairseq.checkpoint_utils import load_model_ensemble_and_task_from_hf_hub
models, cfg, task = load_model_ensemble_and_task_from_hf_hub(
"DAMO-NLP-SG/DiGIT"
)