mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-30 14:04:27 +00:00
Consmetic changes
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
This commit is contained in:
parent
39a949df6e
commit
4c0ff55f0a
@ -73,17 +73,18 @@ the docs.
|
|||||||
|
|
||||||
## CLI
|
## CLI
|
||||||
|
|
||||||
Docling has built-in CLI to run conversions.
|
Docling has a built-in CLI to run conversions.
|
||||||
A simple example would look like this:
|
|
||||||
```bash
|
```bash
|
||||||
docling https://arxiv.org/pdf/2206.01062
|
docling https://arxiv.org/pdf/2206.01062
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also use 🥚[SmolDocling](https://huggingface.co/ds4sd/SmolDocling-256M-preview) via Docling CLI:
|
You can also use 🥚[SmolDocling](https://huggingface.co/ds4sd/SmolDocling-256M-preview) and other VLMs via Docling CLI:
|
||||||
```bash
|
```bash
|
||||||
docling --pipeline vlm --vlm-model smoldocling https://arxiv.org/pdf/2206.01062
|
docling --pipeline vlm --vlm-model smoldocling https://arxiv.org/pdf/2206.01062
|
||||||
```
|
```
|
||||||
This will use MLX acceleration on supported Apple Silicon hardware.
|
This will use MLX acceleration on supported Apple Silicon hardware.
|
||||||
|
|
||||||
Read more [here](https://docling-project.github.io/docling/usage/)
|
Read more [here](https://docling-project.github.io/docling/usage/)
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
@ -26,7 +26,7 @@ Docling simplifies document processing, parsing diverse formats — including ad
|
|||||||
* 🔒 Local execution capabilities for sensitive data and air-gapped environments
|
* 🔒 Local execution capabilities for sensitive data and air-gapped environments
|
||||||
* 🤖 Plug-and-play [integrations][integrations] incl. LangChain, LlamaIndex, Crew AI & Haystack for agentic AI
|
* 🤖 Plug-and-play [integrations][integrations] incl. LangChain, LlamaIndex, Crew AI & Haystack for agentic AI
|
||||||
* 🔍 Extensive OCR support for scanned PDFs and images
|
* 🔍 Extensive OCR support for scanned PDFs and images
|
||||||
* 🥚 Support of Visual Language Models ([SmolDocling](https://huggingface.co/ds4sd/SmolDocling-256M-preview)) 🆕
|
* 🥚 Support of Visual Language Models ([SmolDocling](https://huggingface.co/ds4sd/SmolDocling-256M-preview)) 🆕🔥
|
||||||
* 💻 Simple and convenient CLI
|
* 💻 Simple and convenient CLI
|
||||||
|
|
||||||
### Coming soon
|
### Coming soon
|
||||||
|
@ -17,22 +17,20 @@ print(result.document.export_to_markdown()) # output: "### Docling Technical Re
|
|||||||
|
|
||||||
You can also use Docling directly from your command line to convert individual files —be it local or by URL— or whole directories.
|
You can also use Docling directly from your command line to convert individual files —be it local or by URL— or whole directories.
|
||||||
|
|
||||||
A simple example would look like this:
|
|
||||||
```console
|
```console
|
||||||
docling https://arxiv.org/pdf/2206.01062
|
docling https://arxiv.org/pdf/2206.01062
|
||||||
```
|
```
|
||||||
|
You can also use 🥚[SmolDocling](https://huggingface.co/ds4sd/SmolDocling-256M-preview) and other VLMs via Docling CLI:
|
||||||
To see all available options (export formats etc.) run `docling --help`. More details in the [CLI reference page](../reference/cli.md).
|
|
||||||
|
|
||||||
### Advanced options
|
|
||||||
|
|
||||||
#### SmolDocling via CLI
|
|
||||||
You can also use 🥚[SmolDocling](https://huggingface.co/ds4sd/SmolDocling-256M-preview) via Docling CLI:
|
|
||||||
```bash
|
```bash
|
||||||
docling --pipeline vlm --vlm-model smoldocling https://arxiv.org/pdf/2206.01062
|
docling --pipeline vlm --vlm-model smoldocling https://arxiv.org/pdf/2206.01062
|
||||||
```
|
```
|
||||||
This will use MLX acceleration on supported Apple Silicon hardware.
|
This will use MLX acceleration on supported Apple Silicon hardware.
|
||||||
|
|
||||||
|
|
||||||
|
To see all available options (export formats etc.) run `docling --help`. More details in the [CLI reference page](../reference/cli.md).
|
||||||
|
|
||||||
|
### Advanced options
|
||||||
|
|
||||||
#### Model prefetching and offline usage
|
#### Model prefetching and offline usage
|
||||||
|
|
||||||
By default, models are downloaded automatically upon first usage. If you would prefer
|
By default, models are downloaded automatically upon first usage. If you would prefer
|
||||||
|
Loading…
Reference in New Issue
Block a user