Text Generation
PyTorch
Safetensors
English
gpt2

Add `library_name: transformers` metadata tag

#2
by nielsr HF Staff - opened

This PR improves the model card by adding the library_name: transformers metadata tag. This addition is based on the config.json and tokenizer_config.json files, which indicate the model's compatibility with the Hugging Face Transformers library (e.g., GPT2LMHeadModel, GPT2Tokenizer, transformers_version).

Adding this tag will enable the automated "How to use" widget on the model page, providing users with a convenient and predefined code snippet for loading and utilizing the model with the πŸ€— Transformers library.

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

Sign up or log in to comment