Instructions to use aieng-lab/starcoder2-3b_comment-type-java with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aieng-lab/starcoder2-3b_comment-type-java with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="aieng-lab/starcoder2-3b_comment-type-java")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("aieng-lab/starcoder2-3b_comment-type-java") model = AutoModelForSequenceClassification.from_pretrained("aieng-lab/starcoder2-3b_comment-type-java", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from aieng-lab/starcoder2-3b_comment-type-java: direct link, hf CLI and curl.
- Browser
- Download file 3.48 MB
-
https://huggingface.co/aieng-lab/starcoder2-3b_comment-type-java/resolve/50bc5408ee52c4e0139f92bca3cbe043199b55ba/tokenizer.json
- Command line
-
hf download hf://aieng-lab/starcoder2-3b_comment-type-java@50bc5408ee52c4e0139f92bca3cbe043199b55ba/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/aieng-lab/starcoder2-3b_comment-type-java/resolve/50bc5408ee52c4e0139f92bca3cbe043199b55ba/tokenizer.json
3.48 MB
File too large to display, you can check the raw version instead.