Run this model with HF Jobs
Run jlpan/starcoder-c2py-testsnippet on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/jlpan/starcoder-c2py-testsnippet. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/jlpan/starcoder-c2py-testsnippet on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use jlpan/starcoder-c2py-testsnippet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use jlpan/starcoder-c2py-testsnippet with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("bigcode/starcoder") model = PeftModel.from_pretrained(base_model, "jlpan/starcoder-c2py-testsnippet") - Notebooks
- Google Colab
- Kaggle
Model save
Browse files71 unmodified lines72737475767771 unmodified lines### Framework versions- PEFT 0.5.0.dev0- PEFT 0.5.0.dev0- Transformers 4.32.0.dev071 unmodified lines727374757677787971 unmodified lines### Framework versions- PEFT 0.5.0.dev0- PEFT 0.5.0.dev0- PEFT 0.5.0.dev0- PEFT 0.5.0.dev0- Transformers 4.32.0.dev0
README.md+2