gradio/docs
Viewer • Updated • 1.73k • 292 • 2
How to use EllieKini/Herta 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(
"EllieKini/Herta"
)
from fairseq.checkpoint_utils import load_model_ensemble_and_task_from_hf_hub models, cfg, task = load_model_ensemble_and_task_from_hf_hub( "EllieKini/Herta" )