Update model card: add `transformers` library, paper metadata, and link to HF paper

#4
by nielsr HF Staff - opened

This PR enhances the model card for Roblox/Llama-3.1-8B-Instruct-RoGuard-1.0 by:

  • Updating the library_name metadata from peft to transformers. This change reflects that the model is primarily intended to be loaded and used via the transformers library, which handles the underlying PEFT adapter. This will enable the automated "how to use" widget on the Hub.
  • Adding the paper metadata tag with the ID 2512.05339 to improve discoverability.
  • Replacing the "ArXiv - Report (coming soon)" badge in the content with a direct link to the official Hugging Face paper page: Taxonomy-Adaptive Moderation Model with Robust Guardrails for Large Language Models.

A sample usage section has not been added, as no direct, copy-pastable Python code snippet for transformers inference was found in the GitHub README, in adherence to the guidelines.

Please review and merge if everything looks good!

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

Sign up or log in to comment