File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 2424 prompt = "Convert this page to docling." ,
2525 response_format = ResponseFormat .DOCTAGS ,
2626 inference_framework = InferenceFramework .MLX ,
27- supported_devices = [AcceleratorDevice .MPS ],
27+ supported_devices = [
28+ AcceleratorDevice .CPU ,
29+ AcceleratorDevice .CUDA ,
30+ ],
2831 scale = 2.0 ,
2932 temperature = 0.0 ,
30- stop_strings = ["</doctag>" , "<end_of_utterance>" ],
33+ max_new_tokens = 8192 ,
34+ stop_strings = ["</doctag>" , "<|end_of_text|>" ],
3135)
3236
3337GRANITEDOCLING_MLX = InlineVlmOptions (
3842 supported_devices = [AcceleratorDevice .MPS ],
3943 scale = 2.0 ,
4044 temperature = 0.0 ,
41- stop_strings = ["</doctag>" , "<end_of_utterance>" ],
45+ max_new_tokens = 8192 ,
46+ stop_strings = ["</doctag>" , "<|end_of_text|>" ],
4247)
4348
4449# SmolDocling
You can’t perform that action at this time.
0 commit comments