Instructions to use aieng-lab/gpt2-large_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-large_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-large_comment-type-java")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("aieng-lab/gpt2-large_comment-type-java") model = AutoModelForSequenceClassification.from_pretrained("aieng-lab/gpt2-large_comment-type-java") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
25bf279 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:6f2d1adb81a26690a7bc483331136a21c0ea00a37f27282104ccc9628b7c59e7
size 1548123856
|