facebookresearch / seamless_communication

Foundational Models for State-of-the-Art Speech and Text Translation
Other
10.53k stars 1.02k forks source link

How to use local checkpoint for inference? #99

Closed dsp6414 closed 10 months ago

dsp6414 commented 10 months ago

seamless_communication/assets/cards/seamlessM4T_medium.yaml Modified below:

name: seamlessM4T_medium base: unity_nllb-200 model_arch: medium checkpoint: "/home/app/models/multitask_unity_medium.pt"

get error: fairseq2.assets.card.AssetCardError: The value of the field 'checkpoint' of the asset card 'seamlessM4T_medium' must be a valid URI, but is '/home/app/models/multitask_unity_medium.pt' instead.

dsp6414 commented 10 months ago

"file://......" is OK

dsp6414 commented 10 months ago

😊

cherry899 commented 10 months ago

excuse me, what about the utilization of the tokenier.model I downloaded?