Text Generation
PyTorch
English
gpt2

Add `library_name` to model card metadata

#2
by nielsr HF Staff - opened

This PR adds the library_name: transformers tag to the model card's metadata.

The model's config.json and tokenizer_config.json files indicate compatibility with the transformers library (e.g., "architectures": ["GPT2LMHeadModel"], "model_type": "gpt2", "tokenizer_class": "GPT2Tokenizer"). Adding this tag will enable the automated display of a "how to use" code snippet on the model page, making it easier for users to interact with the model.

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

Sign up or log in to comment