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: The library_name metadata tag has been updated from dots_ocr to transformers. This change correctly reflects the model's compatibility with the Hugging Face transformers library, as evidenced by the "Usage with transformers" code snippet and the transformers tag 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 title h1 now 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 News section 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.

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment