Closed aaronysl closed 1 year ago
The download_path
is for the model data, but resources.json
is different data - it checks if the model or anything has been updated. So it's normal that download_path
doesn't change that behavior.
When I use load_pipeline
, I get a message like this:
INFO: Checking for updates to resources.json in case models have been updated. Note: this behavior can be turned off with download_method=None or download_method=DownloadMethod.REUSE_RESOURCES
Do you not get a message like that? Have you tried specifying download_method
?
Closing due to lack of response, but if you have more information please feel free to follow up.
Hi all, I am using this line to load zh from mylocal path, but it still need to download resource.json from server:
Downloading https://raw.githubusercontent.com/stanfordnlp/stanza-resources/main/resources_1.4.1.json: 193kB [00:00, 444kB/s]
How to make it (resources_1.4.1.json)downloaded from my local path?