File size: 384 Bytes
17530a7 |
1 2 3 4 5 6 7 8 9 10 11 12 |
## Example to download fastspeech2 from fairseq
Weights are downloaded from:
We still need to git clone this repo first before being able to download it.
Having `cd`'ed into the repo we can do the following:
```python
from fairseq.checkpoint_utils import load_model_ensemble_and_task_from_hf
model = load_model_ensemble_and_task_from_hf("patrickvonplaten/fairseq-fastspeech2")
``` |