Downloads · 30 days
20
49% of all-time downloads
arpieb/peft-lora-starcoderbase-7b-personal-copilot-elixir
peft-lora-starcoderbase-7b-personal-copilot-elixir is a machine learning model from arpieb. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as bigcode-openrail-m.
First pass at finetuning bigcode/starcoderbase-7b on the Elixir language subset of bigcode/the-stack-dedup
Downloads · 30 days
20
49% of all-time downloads
All-time downloads
41
Public
Repo size
310 MB
Likes
0
Public
Click a slice to open those files.
.bin155 MB · 50%
From the Hugging Face model README
First pass at finetuning bigcode/starcoderbase-7b on the Elixir language subset of bigcode/the-stack-dedup
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
Use the code below to get started with the model.
[More Information Needed]
Based on the finetuning workflow detailed in Personal Copilot: Train Your Own Coding Assistant, specifically the training code found under personal_copilot/training in the repo pacman100/DHS-LLM-Workshop.
Script used to train the model:
python train.py \
--model_path "bigcode/starcoderbase-7b" \
--dataset_name "bigcode/the-stack-dedup" \
--subset "data/elixir" \
--data_column "content" \
--split "train" \
--seq_length 2048 \
--max_steps 2000 \
--batch_size 4 \
--gradient_accumulation_steps 4 \
--learning_rate 5e-4 \
--lr_scheduler_type "cosine" \
--weight_decay 0.01 \
--num_warmup_steps 30 \
--eval_freq 100 \
--save_freq 100 \
--log_freq 25 \
--num_workers 4 \
--bf16 \
--no_fp16 \
--output_dir "peft-lora-starcoderbase-7b-personal-copilot-rtx4090-elixir" \
--push_to_hub "false" \
--fim_rate 0.5 \
--fim_spm_rate 0.5 \
--use_flash_attn \
--use_peft_lora \
--lora_r 32 \
--lora_alpha 64 \
--lora_dropout 0.0 \
--lora_target_modules "c_proj,c_attn,q_attn,c_fc,c_proj" \
--use_4bit_qunatization \
--use_nested_quant \
--bnb_4bit_compute_dtype "bfloat16"
N/A
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
NOTE the RTX-4090 is not available in the above estimator; will update once there is data available.
[More Information Needed]
Local DL rig with the following configuration:
[More Information Needed]
BibTeX:
[More Information Needed]
APA:
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
The following bitsandbytes quantization config was used during training: