docling-project / docling-project/docling
No CLI or docling-serve option to set truncation for tokenizer; warning cannot be suppressed
Open
question
triage/close-stale
- Dominant language
- Python
- Stars
- 66.4k
- Forks
- 4.8k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 84
Description
### Question
When running docling --from pdf --to text --pipeline vlm --output . CSCEC_01059.pdf, I get the following warning:
Truncation was not explicitly activated but `max_length` is provided a specific value, please use `truncation=True` to explicitly truncate examples to max length. Defaulting to 'longest_first' truncation strategy. ...
There appears to be no CLI parameter to set or suppress truncation, and passing --truncation returns an error about an unknown parameter. Please add a CLI option to control truncation or suppress this warning.
is there a way around the warning and completing the task?
Contributor guide
Assessment
This issue has not been assessed yet.