You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parameter for loading transformer & tokenizer with local_files_only
Add local_files_only as a parameter to the FoundationCache, in case that winds up being useful
NONE download_method doesn't download anything, including HF, rather than adding a new mode
logger.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")
215
208
download_resources_json(self.dir,
216
209
resources_url=resources_url,
@@ -219,6 +212,13 @@ def __init__(self,
219
212
resources_filepath=resources_filepath,
220
213
proxies=proxies)
221
214
215
+
# processors can use this to save on the effort of loading
216
+
# large sub-models, such as pretrained embeddings, bert, etc
0 commit comments