Open huberemanuel opened 2 years ago
We use different data processing pipeline (and model code) as fairseq. you cannot use our ckp in official fairseq.
we had released dict.txt
with model checkpoint: https://guolinke.blob.core.windows.net/tupe/tupe_ckp.tar.gz
Thank you for the response! I am using this repo modified version of fairseq. I was able to load the model altering where fairseq looks for dict.txt
in that way:
from fairseq import checkpoint_utils
checkpoint_utils.load_model_ensemble("tupe_ckp/model.pt", {"data": "tupe_ckp"})
Concerning the pre-processing, can I run the scripts already provided to perform it and use the model as I loaded it, or would it be wrong?
I guess load_model_ensemble
will load args
part saved in checkpoint. maybe you can try to reset args
in tupe_ckp/model.pt
.
Following the official documentation from fairseq, I tried to load the model with the following command:
And, got the following error:
This file
pt-data-0508/dict.txt
is different from the already provideddict.txt
file?