Run this model with HF Jobs
Run jlpan/starcoder-tune-cpp2py-program3 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-tune-cpp2py-program3. 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-tune-cpp2py-program3 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-tune-cpp2py-program3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use jlpan/starcoder-tune-cpp2py-program3 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-tune-cpp2py-program3") - Notebooks
- Google Colab
- Kaggle
update model card README.md
Browse files12345678910---library_name: peft---## Training procedure### Framework versions- PEFT 0.5.0.dev0- PEFT 0.5.0.dev0123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869---license: bigcode-openrail-mbase_model: bigcode/starcodertags:- generated_from_trainermodel-index:- name: starcoder-tune-cpp2py-program3results: []---<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. --># starcoder-tune-cpp2py-program3This model is a fine-tuned version of [bigcode/starcoder](https://huggingface.co/bigcode/starcoder) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 0.2668## Model descriptionMore information needed## Intended uses & limitationsMore information needed## Training and evaluation dataMore information needed## Training procedure### Training hyperparametersThe following hyperparameters were used during training:- learning_rate: 4e-06- train_batch_size: 1- eval_batch_size: 1- seed: 42- gradient_accumulation_steps: 16- total_train_batch_size: 16- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: cosine- lr_scheduler_warmup_steps: 50- training_steps: 500### Training results| Training Loss | Epoch | Step | Validation Loss ||:-------------:|:-----:|:----:|:---------------:|| 0.2926 | 0.1 | 50 | 0.2730 || 0.2937 | 0.2 | 100 | 0.2679 || 0.2886 | 0.3 | 150 | 0.2671 || 0.2853 | 0.4 | 200 | 0.2669 || 0.2891 | 0.5 | 250 | 0.2669 || 0.2868 | 0.6 | 300 | 0.2668 || 0.2847 | 0.7 | 350 | 0.2668 || 0.2882 | 0.8 | 400 | 0.2668 || 0.2846 | 0.9 | 450 | 0.2668 || 0.2893 | 1.0 | 500 | 0.2668 |### Framework versions- Transformers 4.32.0.dev0- Pytorch 2.0.1+cu117- Datasets 2.12.0- Tokenizers 0.13.3
README.md+63-4