Instructions to use aieng-lab/gpt2-medium_comment-type-java with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aieng-lab/gpt2-medium_comment-type-java with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="aieng-lab/gpt2-medium_comment-type-java")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("aieng-lab/gpt2-medium_comment-type-java") model = AutoModelForSequenceClassification.from_pretrained("aieng-lab/gpt2-medium_comment-type-java") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
df83f35 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:67e94c44302b869a736c779dd65fdebbf9dd9b8c7e6bfa990ddd766c7d6344c7
size 709691080
|