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