Instructions to use monsterapi/falcon_7b_DolphinCoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use monsterapi/falcon_7b_DolphinCoder with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("tiiuae/falcon-7b") model = PeftModel.from_pretrained(base_model, "monsterapi/falcon_7b_DolphinCoder") - Notebooks
- Google Colab
- Kaggle
File size: 1,316 Bytes
45ca0e8 72558e0 446defd 72558e0 446defd d15f16b 45ca0e8 72558e0 45ca0e8 446defd 45ca0e8 446defd 72558e0 be9b464 72558e0 446defd 72558e0 446defd 72558e0 446defd 72558e0 be9b464 72558e0 15a07f5 446defd 72558e0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | ---
library_name: peft
tags:
- code
- instruct
- mistral
datasets:
- cognitivecomputations/dolphin-coder
base_model: tiiuae/falcon-7b
license: apache-2.0
---
### Finetuning Overview:
**Model Used:** tiiuae/falcon-7b
**Dataset:** cognitivecomputations/dolphin-coder
#### Dataset Insights:
[Dolphin-Coder](https://huggingface.co/datasets/cognitivecomputations/dolphin-coder) dataset – a high-quality collection of 100,000+ coding questions and responses. It's perfect for supervised fine-tuning (SFT), and teaching language models to improve on coding-based tasks.
#### Finetuning Details:
With the utilization of [MonsterAPI](https://monsterapi.ai)'s [no-code LLM finetuner](https://monsterapi.ai/finetuning), this finetuning:
- Was achieved with great cost-effectiveness.
- Completed in a total duration of 14hr 10mins for 1 epochs using an A6000 48GB GPU.
- Costed `$28.48` for the entire 1 epoch.
#### Hyperparameters & Additional Details:
- **Epochs:** 1
- **Cost Per Epoch:** $31.51
- **Model Path:** tiiuae/falcon-7b
- **Learning Rate:** 0.0002
- **Data Split:** 100% train
- **Gradient Accumulation Steps:** 128
- **lora r:** 32
- **lora alpha:** 64

---
license: apache-2.0 |