Add `library_name` and sample usage to model card

#1
by nielsr HF Staff - opened

This PR enhances the model card by:

  • Adding the library_name: transformers metadata tag to enable the automated "How to use" widget on the Hugging Face Hub, as evidenced by the model's reliance on transformers.AutoModelForCausalLM and tokenizer functionalities.
  • Including a "Sample Usage" section with a Python code snippet directly from the official GitHub repository's README.md, making it easier for users to get started with the model. The snippet has been slightly adjusted to explicitly import AutoTokenizer for clarity.

Please review and merge if these improvements align with your expectations.

fuvty changed pull request status to closed

Sign up or log in to comment