Run this model with HF Jobs
Run monsterapi/codellama_7b_DolphinCoder 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/monsterapi/codellama_7b_DolphinCoder. 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/monsterapi/codellama_7b_DolphinCoder 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 monsterapi/codellama_7b_DolphinCoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use monsterapi/codellama_7b_DolphinCoder with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-7b-hf") model = PeftModel.from_pretrained(base_model, "monsterapi/codellama_7b_DolphinCoder") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from monsterapi/codellama_7b_DolphinCoder: direct link, hf CLI and curl.
- Browser
- Download file 1.35 kB
-
https://huggingface.co/monsterapi/codellama_7b_DolphinCoder/resolve/main/README.md
- Command line
-
hf download hf://monsterapi/codellama_7b_DolphinCoder/README.md
-
curl -L -o README.md https://huggingface.co/monsterapi/codellama_7b_DolphinCoder/resolve/main/README.md
1.35 kB
metadata
library_name: peft
tags:
- code
- instruct
- code-llama
datasets:
- cognitivecomputations/dolphin-coder
base_model: codellama/CodeLlama-7b-hf
license: apache-2.0
Finetuning Overview:
Model Used: codellama/CodeLlama-7b-hf
Dataset: cognitivecomputations/dolphin-coder
Dataset Insights:
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's no-code LLM finetuner, this finetuning:
- Was achieved with great cost-effectiveness.
- Completed in a total duration of 15hr 31mins for 1 epochs using an A6000 48GB GPU.
- Costed
$31.31for the entire 1 epoch.
Hyperparameters & Additional Details:
- Epochs: 1
- Total Finetuning Cost: $31.31
- Model Path: codellama/CodeLlama-7b-hf
- Learning Rate: 0.0002
- Data Split: 100% train
- Gradient Accumulation Steps: 128
- lora r: 32
- lora alpha: 64
license: apache-2.0
