Improve model card: update library_name, add paper, code, project links and citation
#40
by
nielsr
HF Staff
- opened
This PR significantly enhances the dots.ocr model card by:
- Updating
library_name: Thelibrary_namemetadata tag has been updated fromdots_ocrtotransformers. This change correctly reflects the model's compatibility with the Hugging Facetransformerslibrary, as evidenced by the "Usage with transformers" code snippet and thetransformerstag already present. This will enable the automatic "How to use" widget on the model page for improved user experience. - Adding prominent links: Direct links to the Hugging Face paper page (
https://huggingface.co/papers/2512.02498), the GitHub repository (https://github.com/rednote-hilab/dots.ocr), and the project/live demo page (https://dotsocr.xiaohongshu.com) have been added as clear badges at the top of the model card. The main titleh1now also links directly to the paper for better discoverability. - Updating social links: The "X" (formerly Twitter) link (
https://x.com/rednotehilab) from the GitHub README has been added to the quick links section, ensuring consistency with the upstream repository. - Synchronizing news: The
Newssection has been updated to include the latest release information from the GitHub README. - Adding citation: A BibTeX citation entry for the paper has been added, using
[Anonymous Authors]as no specific authors were provided in the paper information.
These updates aim to provide a more comprehensive, accurate, and user-friendly model card.