Instructions to use StonyBrookNLP/StarCoder2-SFT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use StonyBrookNLP/StarCoder2-SFT with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("bigcode/starcoder2-7b") model = PeftModel.from_pretrained(base_model, "StonyBrookNLP/StarCoder2-SFT") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from StonyBrookNLP/StarCoder2-SFT: direct link, hf CLI and curl.
- Browser
- Download file 2.06 MB
-
https://huggingface.co/StonyBrookNLP/StarCoder2-SFT/resolve/refs%2Fpr%2F1/tokenizer.json
- Command line
-
hf download hf://StonyBrookNLP/StarCoder2-SFT@refs/pr/1/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/StonyBrookNLP/StarCoder2-SFT/resolve/refs%2Fpr%2F1/tokenizer.json
2.06 MB
File too large to display, you can check the raw version instead.