mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-27 04:24:45 +00:00
Fix repo id
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
This commit is contained in:
parent
6f9f4f4aee
commit
55fa4eb4e3
@ -28,6 +28,8 @@ _log = logging.getLogger(__name__)
|
|||||||
|
|
||||||
class SmolDoclingModel(BasePageModel):
|
class SmolDoclingModel(BasePageModel):
|
||||||
|
|
||||||
|
_repo_id: str = "ds4sd/SmolDocling-256M-preview"
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
accelerator_options: AcceleratorOptions,
|
accelerator_options: AcceleratorOptions,
|
||||||
|
@ -15,7 +15,7 @@ sources = [
|
|||||||
# "tests/data/2305.03393v1-pg9.pdf",
|
# "tests/data/2305.03393v1-pg9.pdf",
|
||||||
]
|
]
|
||||||
|
|
||||||
pipeline_options = VlmPipelineOptions() # artifacts_path="~/local_model_artifacts/")
|
pipeline_options = VlmPipelineOptions() # artifacts_path="~/local_model_artifacts/"
|
||||||
pipeline_options.generate_page_images = True
|
pipeline_options.generate_page_images = True
|
||||||
# If force_backend_text = True, text from backend will be used instead of generated text
|
# If force_backend_text = True, text from backend will be used instead of generated text
|
||||||
pipeline_options.force_backend_text = False
|
pipeline_options.force_backend_text = False
|
||||||
|
Loading…
Reference in New Issue
Block a user