Run this model with HF Jobs
Run bigcode/starencoder 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/bigcode/starencoder. Ask me which dataset to train on, then push the fine-tuned model to a new private 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/bigcode/starencoder 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 bigcode/starencoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bigcode/starencoder with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("bigcode/starencoder") model = AutoModelForPreTraining.from_pretrained("bigcode/starencoder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Finetuning on AWS Sagemaker
#4
by dshah3 - opened
Hi, I have a set of p4 (A100) instances available through Sagemaker training jobs. I would like to finetune StarEnCoder on two tasks: text classification and code retrieval. Would I be able to use the HuggingFace "Train" SageMaker interface and the Transformers library to run a fine-tuning job? Or would I have to make my own fine-tuning script?