ChengCui commited on
Commit
909ba29
·
verified ·
1 Parent(s): 46bbdf1

Correct ONNX model library metadata to PaddleOCR

Browse files

This ONNX repository declares library_name: transformers, while its documented loading path uses PaddleOCR with ONNX Runtime. It contains inference.onnx and inference.yml rather than a Transformers model package.

Change library_name to PaddleOCR so the Hub uses the matching library integration and download-counting rule, which explicitly includes the root inference.onnx file. All other metadata and model card content are preserved.

References:
- https://huggingface.co/docs/hub/model-cards#specifying-a-library
- https://huggingface.co/docs/hub/models-download-stats
- https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/src/model-libraries.ts

This PR is left open for maintainer review.

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -12,7 +12,7 @@ language:
12
  - en
13
  - zh
14
  - multilingual
15
- library_name: transformers
16
  base_model:
17
  - PaddlePaddle/PP-DocLayoutV3
18
  ---
 
12
  - en
13
  - zh
14
  - multilingual
15
+ library_name: PaddleOCR
16
  base_model:
17
  - PaddlePaddle/PP-DocLayoutV3
18
  ---