Image-Text-to-Text
PaddleOCR
Safetensors
English
Chinese
multilingual
paddleocr_vl
ERNIE4.5
PaddlePaddle
image-to-text
ocr
document-parse
layout
table
formula
chart
conversational
custom_code
Eval Results
Instructions to use PaddlePaddle/PaddleOCR-VL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PaddleOCR
How to use PaddlePaddle/PaddleOCR-VL with PaddleOCR:
# See https://www.paddleocr.ai/latest/version3.x/pipeline_usage/PaddleOCR-VL.html to installation from paddleocr import PaddleOCRVL pipeline = PaddleOCRVL(pipeline_version="v1") output = pipeline.predict("path/to/document_image.png") for res in output: res.print() res.save_to_json(save_path="output") res.save_to_markdown(save_path="output") - Notebooks
- Google Colab
- Kaggle
add pad_token_id to model’s generation_config.json to fix warning (#57)
Browse files- add pad_token_id to model’s generation_config.json to fix warning (d2990c3278598d9e9f664245be3225fadc81385b)
Co-authored-by: Yue Zhang <xiaohei66@users.noreply.huggingface.co>
- generation_config.json +1 -0
generation_config.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"_from_model_config": true,
|
| 3 |
"eos_token_id": 2,
|
|
|
|
| 4 |
"transformers_version": "4.55.0",
|
| 5 |
"use_cache": false
|
| 6 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"_from_model_config": true,
|
| 3 |
"eos_token_id": 2,
|
| 4 |
+
"pad_token_id": 0,
|
| 5 |
"transformers_version": "4.55.0",
|
| 6 |
"use_cache": false
|
| 7 |
}
|