Instructions to use aieng-lab/ModernBERT-base_comment-type-java with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aieng-lab/ModernBERT-base_comment-type-java with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="aieng-lab/ModernBERT-base_comment-type-java")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("aieng-lab/ModernBERT-base_comment-type-java") model = AutoModelForSequenceClassification.from_pretrained("aieng-lab/ModernBERT-base_comment-type-java", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- f8ff9da33a854a2ee5b03644b9ad7fe210acfae36084038c1a020d766578af9a
- Size of remote file:
- 299 MB
- SHA256:
- 8e5e368d47f68c62998b52a2b3bf3c4a8253f86cad7a0ff980325776902383d5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.