小白lan

Results 3 comments of 小白lan

cache_folder olny cached "easynmt.json" , you should modify this json file and specified your local model path like this: { "model_class": "easynmt.models.AutoModel.AutoModel", "model_args": { "model_name": "/content/drive/MyDrive/Kaggle/modelcache/m2m100_418M", "tokenizer_args": {"model_max_length": 1024} },...

> When calling EasyNMT, you can pass a `cache_folder` parameter that sets you cache folder. cache_folder not work. but we can load local model like this: https://github.com/UKPLab/EasyNMT/issues/44#issuecomment-908285722