Instructions to use aieng-lab/gpt2_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_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_comment-type-java")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("aieng-lab/gpt2_comment-type-java") model = AutoModelForSequenceClassification.from_pretrained("aieng-lab/gpt2_comment-type-java") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
d6d0f59 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:1e66126af3807e07734f1191119a88b7731114bdaceb1c273ad8e14ff1dd7ffd
size 248905488
|