Offline Reference of Model "HuggingFaceTB--SmolVLM-256M-Instruct" from local artifacts path is not working. #924
-
When using below code by specifying local artifacts path, the following error encountered -
Couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like HuggingFaceTB/SmolVLM-256M-Instruct is not the path to a directory containing a file named config.json. While below models works from local artifacts path -
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Can you please check which version of Docling you are using? We also have an updated documentation page for it: https://ds4sd.github.io/docling/usage/#model-prefetching-and-offline-usage |
Beta Was this translation helpful? Give feedback.
That method should have triggered a deprecation warning. We suggest the new method moving forward.
Note that we also have a function doing the same as the SDK, see
from docling.utils.model_downloader import download_models
.