Views
No views yet
0.8.0.dev01base_model: bigcode/starcoder2-15b
2# Automatically upload checkpoint and final model to HF
3# hub_model_id: username/custom_model_name
4
5load_in_8bit: false
6load_in_4bit: true
7strict: false
8
9datasets:
10 - path: kevinwsbr/vulnfixes-web
11 type: alpaca
12
13
14dataset_prepared_path:
15val_set_size: 0.05
16output_dir: ./outputs/starcoder-vulnfixes-web
17
18adapter: qlora
19lora_model_dir:
20
21sequence_len: 4096
22sample_packing: true
23pad_to_sequence_len: true
24
25lora_r: 32
26lora_alpha: 16
27lora_dropout: 0.05
28lora_target_modules:
29lora_target_linear: true
30lora_fan_in_fan_out:
31
32wandb_project: starcoder
33wandb_entity:
34wandb_watch:
35wandb_run_id:
36wandb_log_model:
37
38gradient_accumulation_steps: 8
39micro_batch_size: 2
40num_epochs: 3
41optimizer: adamw_bnb_8bit
42lr_scheduler: cosine
43learning_rate: 2e-5
44
45train_on_inputs: false
46group_by_length: false
47bf16: auto
48fp16: false
49tf32: false
50
51gradient_checkpointing: true
52early_stopping_patience:
53resume_from_checkpoint:
54local_rank:
55logging_steps: 1
56xformers_attention:
57flash_attention: true
58
59warmup_steps: 20
60evals_per_epoch: 4
61eval_steps:
62eval_table_size:
63saves_per_epoch: 4
64save_steps:
65save_total_limit: 2
66debug:
67deepspeed:
68weight_decay:
69fsdp:
70fsdp_config:
71special_tokens:
72 pad_token: "<|endoftext|>"
73 eos_token: "<|endoftext|>"
74| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.1499 | 0.0092 | 1 | 0.0645 |
| 0.1554 | 0.2569 | 28 | 0.0622 |
| 0.0745 | 0.5138 | 56 | 0.0571 |
| 0.0616 | 0.7706 | 84 | 0.0559 |
| 0.0645 | 1.0275 | 112 | 0.0547 |
| 0.0601 | 1.2844 | 140 | 0.0542 |
| 0.0688 | 1.5413 | 168 | 0.0537 |
| 0.0424 | 1.7982 | 196 | 0.0534 |
| 0.086 | 2.0550 | 224 | 0.0532 |
| 0.0759 | 2.3119 | 252 | 0.0530 |
| 0.0583 | 2.5688 | 280 | 0.0529 |
| 0.1087 | 2.8257 | 308 | 0.0529 |