Text Generation
PEFT
Safetensors
code
program-repair
vulnerability-repair
lora
synthfix
router
pyrepair
Instructions to use CoderDoge/synthfix-starcoder2-7b-pyrepair with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use CoderDoge/synthfix-starcoder2-7b-pyrepair with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("bigcode/starcoder2-7b") model = PeftModel.from_pretrained(base_model, "CoderDoge/synthfix-starcoder2-7b-pyrepair") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from CoderDoge/synthfix-starcoder2-7b-pyrepair: direct link, hf CLI and curl.
- Browser
- Download file 3.48 MB
-
https://huggingface.co/CoderDoge/synthfix-starcoder2-7b-pyrepair/resolve/main/tokenizer.json
- Command line
-
hf download hf://CoderDoge/synthfix-starcoder2-7b-pyrepair/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/CoderDoge/synthfix-starcoder2-7b-pyrepair/resolve/main/tokenizer.json
3.48 MB
File too large to display, you can check the raw version instead.