facebookresearch / SONAR

SONAR, a new multilingual and multimodal fixed-size sentence embedding space, with a full suite of speech and text encoders and decoders.
Other
310 stars 33 forks source link

AssetError #38

Open ekcr opened 3 weeks ago

ekcr commented 3 weeks ago

I use the script below to convert text to embeddings vec2text_model = EmbeddingToTextModelPipeline(decoder="text_sonar_basic_decoder", tokenizer="text_sonar_basic_encoder") But ı get a error message like this; fairseq2.assets.error.AssetError: The checkpoint of text_sonar_basic_decoder cannot be loaded. See nested exception for details.

avidale commented 2 weeks ago

Hi @ekcr! What are the versions of fairseq2 and sonar packages that you are using? Could you please attach the nested trace of the exception?