Instructions to use akshat57/custom-gpt2-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use akshat57/custom-gpt2-model with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("akshat57/custom-gpt2-model") model = AutoModel.from_pretrained("akshat57/custom-gpt2-model") - Notebooks
- Google Colab
- Kaggle
Ctrl+K