mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-13 07:08:19 +00:00
refactoring the download_model
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
This commit is contained in:
@@ -50,10 +50,10 @@ vlm_conversion_options = pixtral_vlm_conversion_options
|
||||
"""
|
||||
|
||||
pixtral_vlm_conversion_options = HuggingFaceVlmOptions(
|
||||
repo_id="mistral-community/pixtral-12b",
|
||||
prompt="OCR this image and export it in MarkDown.",
|
||||
response_format=ResponseFormat.MARKDOWN,
|
||||
inference_framework=InferenceFramework.TRANSFORMERS_LlavaForConditionalGeneration,
|
||||
repo_id="mistral-community/pixtral-12b",
|
||||
prompt="OCR this image and export it in MarkDown.",
|
||||
response_format=ResponseFormat.MARKDOWN,
|
||||
inference_framework=InferenceFramework.TRANSFORMERS_LlavaForConditionalGeneration,
|
||||
)
|
||||
vlm_conversion_options = pixtral_vlm_conversion_options
|
||||
|
||||
|
||||
Reference in New Issue
Block a user