Instructions to use date3k2/gpt2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use date3k2/gpt2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="date3k2/gpt2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("date3k2/gpt2") model = AutoModelForSequenceClassification.from_pretrained("date3k2/gpt2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- ad166058f4548f52fbb8b556d22742c177e55090d4740ac10159606679c4ac20
- Size of remote file:
- 5.05 kB
- SHA256:
- 2dd9d8cbde99e65c322ebd2ec62d437f6d2c5e0507a85473bcb5b37f62faf017
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.