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: transformersmetadata tag to enable the automated "How to use" widget on the Hugging Face Hub, as evidenced by the model's reliance ontransformers.AutoModelForCausalLMandtokenizerfunctionalities. - 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 importAutoTokenizerfor clarity.
Please review and merge if these improvements align with your expectations.
fuvty
changed pull request status to
closed