Instructions to use andstor/bigcode-starcoder2-7b-unit-test-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use andstor/bigcode-starcoder2-7b-unit-test-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("bigcode/starcoder2-7b") model = PeftModel.from_pretrained(base_model, "andstor/bigcode-starcoder2-7b-unit-test-lora") - Notebooks
- Google Colab
- Kaggle
Download vocab.json from andstor/bigcode-starcoder2-7b-unit-test-lora: direct link, hf CLI and curl.
- Browser
- Download file 777 kB
-
https://huggingface.co/andstor/bigcode-starcoder2-7b-unit-test-lora/resolve/main/vocab.json
- Command line
-
hf download hf://andstor/bigcode-starcoder2-7b-unit-test-lora/vocab.json
-
curl -L -o vocab.json https://huggingface.co/andstor/bigcode-starcoder2-7b-unit-test-lora/resolve/main/vocab.json
777 kB
File too large to display, you can check the raw version instead.