Text Classification
Transformers
TensorBoard
Safetensors
gpt2
Generated from Trainer
Eval Results (legacy)
Instructions to use varun-v-rao/gpt2-snli-model1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use varun-v-rao/gpt2-snli-model1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="varun-v-rao/gpt2-snli-model1")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("varun-v-rao/gpt2-snli-model1") model = AutoModelForSequenceClassification.from_pretrained("varun-v-rao/gpt2-snli-model1") - Notebooks
- Google Colab
- Kaggle
Ctrl+K