mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-08 20:58:11 +00:00
docs(vlm): Update SmolDocling to GraniteDocling references (#2315)
Update minimal_vlm_pipeline.py Signed-off-by: Luis <luis.rojas@ibm.com>
This commit is contained in:
4
docs/examples/minimal_vlm_pipeline.py
vendored
4
docs/examples/minimal_vlm_pipeline.py
vendored
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
# What this example does
|
# What this example does
|
||||||
# - Runs the VLM-powered pipeline on a PDF (by URL) and prints Markdown output.
|
# - Runs the VLM-powered pipeline on a PDF (by URL) and prints Markdown output.
|
||||||
# - Shows two setups: default (Transformers/SmolDocling) and macOS MPS/MLX.
|
# - Shows two setups: default (Transformers/GraniteDocling) and macOS MPS/MLX.
|
||||||
#
|
#
|
||||||
# Prerequisites
|
# Prerequisites
|
||||||
# - Install Docling with VLM extras and the appropriate backend (Transformers or MLX).
|
# - Install Docling with VLM extras and the appropriate backend (Transformers or MLX).
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
#
|
#
|
||||||
# Notes
|
# Notes
|
||||||
# - `source` may be a local path or a URL to a PDF.
|
# - `source` may be a local path or a URL to a PDF.
|
||||||
# - The second section demonstrates macOS MPS acceleration via MLX (`vlm_model_specs.SMOLDOCLING_MLX`).
|
# - The second section demonstrates macOS MPS acceleration via MLX (`vlm_model_specs.GRANITEDOCLING_MLX`).
|
||||||
# - For more configurations and model comparisons, see `docs/examples/compare_vlm_models.py`.
|
# - For more configurations and model comparisons, see `docs/examples/compare_vlm_models.py`.
|
||||||
|
|
||||||
# %%
|
# %%
|
||||||
|
|||||||
Reference in New Issue
Block a user