个人编程助手:训练你自己的编码助手
smangrul, sayakpaul
• • 1How to use smangrul/peft-lora-starcoder15B-v2-personal-copilot-A100-40GB-colab with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("bigcode/starcoder")
model = PeftModel.from_pretrained(base_model, "smangrul/peft-lora-starcoder15B-v2-personal-copilot-A100-40GB-colab")This model is a fine-tuned version of bigcode/starcoder on an unknown dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following bitsandbytes quantization config was used during training:
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.6439 | 0.05 | 100 | 0.5595 |
| 0.6009 | 0.1 | 200 | 0.4901 |
| 0.6335 | 0.15 | 300 | 0.4320 |
| 0.5266 | 0.2 | 400 | 0.4082 |
| 0.4543 | 0.25 | 500 | 0.4012 |
| 0.4808 | 0.3 | 600 | 0.3911 |
| 0.461 | 0.35 | 700 | 0.4364 |
| 0.5246 | 0.4 | 800 | 0.3720 |
| 0.408 | 0.45 | 900 | 0.3655 |
| 0.469 | 0.5 | 1000 | 0.3504 |
| 0.4257 | 0.55 | 1100 | 0.3396 |
| 0.4229 | 0.6 | 1200 | 0.3195 |
| 0.3267 | 0.65 | 1300 | 0.3147 |
| 0.4682 | 0.7 | 1400 | 0.3110 |
| 0.3244 | 0.75 | 1500 | 0.3091 |
| 0.6782 | 0.8 | 1600 | 0.3085 |
| 0.3123 | 0.85 | 1700 | 0.3084 |
| 0.3545 | 0.9 | 1800 | 0.3094 |
| 0.2818 | 0.95 | 1900 | 0.3095 |
| 0.397 | 1.0 | 2000 | 0.3096 |
Base model
bigcode/starcoder