Instructions to use AbdulmalikAdeyemo/peft-starcoder2-3b-300steps with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use AbdulmalikAdeyemo/peft-starcoder2-3b-300steps with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("bigcode/starcoder2-3b") model = PeftModel.from_pretrained(base_model, "AbdulmalikAdeyemo/peft-starcoder2-3b-300steps") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from AbdulmalikAdeyemo/peft-starcoder2-3b-300steps: direct link, hf CLI and curl.
- Browser
- Download file 1.57 kB
-
https://huggingface.co/AbdulmalikAdeyemo/peft-starcoder2-3b-300steps/resolve/main/README.md
- Command line
-
hf download hf://AbdulmalikAdeyemo/peft-starcoder2-3b-300steps/README.md
-
curl -L -o README.md https://huggingface.co/AbdulmalikAdeyemo/peft-starcoder2-3b-300steps/resolve/main/README.md
1.57 kB
| library_name: peft | |
| license: bigcode-openrail-m | |
| base_model: bigcode/starcoder2-3b | |
| tags: | |
| - generated_from_trainer | |
| model-index: | |
| - name: peft-starcoder2-3b-300steps | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # peft-starcoder2-3b-300steps | |
| This model is a fine-tuned version of [bigcode/starcoder2-3b](https://huggingface.co/bigcode/starcoder2-3b) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.5512 | |
| ## Model description | |
| More information needed | |
| ## Intended uses & limitations | |
| More information needed | |
| ## Training and evaluation data | |
| More information needed | |
| ## Training procedure | |
| ### Training hyperparameters | |
| The following hyperparameters were used during training: | |
| - learning_rate: 0.0005 | |
| - train_batch_size: 8 | |
| - eval_batch_size: 8 | |
| - seed: 42 | |
| - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments | |
| - lr_scheduler_type: cosine | |
| - lr_scheduler_warmup_steps: 30 | |
| - training_steps: 300 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | | |
| |:-------------:|:------:|:----:|:---------------:| | |
| | 1.7386 | 0.3333 | 100 | 0.5461 | | |
| | 0.8402 | 0.6667 | 200 | 0.5518 | | |
| | 0.7561 | 1.0 | 300 | 0.5512 | | |
| ### Framework versions | |
| - PEFT 0.14.0 | |
| - Transformers 4.47.1 | |
| - Pytorch 2.5.1+cu121 | |
| - Datasets 3.2.0 | |
| - Tokenizers 0.21.0 |