Views
No views yet
0.4.01base_model: premai-io/prem-1B-chat
2model_type: LlamaForCausalLM
3tokenizer_type: AutoTokenizer
4
5load_in_8bit: false
6load_in_4bit: false
7strict: false
8
9datasets:
10 - path: argilla/distilabel-capybara-dpo-7k-binarized
11 type: orpo.chat_template
12dataset_prepared_path: last_run_prepared
13val_set_size: 0.001
14output_dir: ./prem-1B-chat-32k
15save_safetensors: true
16sequence_len: 8192
17sample_packing: false
18pad_to_sequence_len: false
19use_pose: true
20pose_max_context_len: 262144
21min_sample_len: 6144
22pose_num_chunks: 16
23curriculum_sampling: true
24
25overrides_of_model_config:
26 rope_theta: 500000.0
27 max_position_embeddings: 262144
28
29 # peft_use_dora: true
30adapter: lora
31peft_use_rslora: true
32lora_model_dir:
33lora_r: 1024
34lora_alpha: 1024
35lora_dropout: 0.1
36lora_target_modules:
37 - q_proj
38 - k_proj
39 - v_proj
40 - o_proj
41lora_modules_to_save:
42 - embed_tokens
43 - lm_head
44
45wandb_project:
46wandb_entity:
47wandb_watch:
48wandb_name:
49wandb_log_model:
50
51gradient_accumulation_steps: 8
52micro_batch_size: 1
53num_epochs: 20
54optimizer: adamw_bnb_8bit
55lr_scheduler: cosine
56learning_rate: 0.00001
57max_grad_norm: 1.0
58adam_beta2: 0.95
59
60train_on_inputs: false
61group_by_length: false
62bf16: true
63fp16:
64tf32: false
65
66gradient_checkpointing: true
67gradient_checkpointing_kwargs:
68 use_reentrant: true
69early_stopping_patience:
70resume_from_checkpoint:
71local_rank:
72logging_steps: 1
73xformers_attention:
74flash_attention: true
75sdp_attention:
76s2_attention:
77
78warmup_steps: 10
79evals_per_epoch: 8
80saves_per_epoch: 8
81debug:
82deepspeed:
83weight_decay: 0.0
84fsdp:
85fsdp_config:
86special_tokens:
87 pad_token: <|end_of_text|>
88
89
90| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.5389 | 1.0 | 1 | 6.3469 |
| 0.5389 | 2.0 | 2 | 6.2533 |
| 0.5017 | 3.0 | 3 | 6.2101 |
| 0.4689 | 4.0 | 4 | 6.3163 |
| 0.3604 | 5.0 | 5 | 6.4144 |
| 0.3107 | 6.0 | 6 | 6.4127 |
| 0.2698 | 7.0 | 7 | 6.8089 |
| 0.317 | 8.0 | 8 | 7.3388 |
| 0.2228 | 9.0 | 9 | 6.5063 |
| 0.1798 | 10.0 | 10 | 5.7073 |
| 0.1436 | 11.0 | 11 | 5.1185 |
| 0.1183 | 12.0 | 12 | 4.8994 |
| 0.1002 | 13.0 | 13 | 4.8033 |
| 0.0865 | 14.0 | 14 | 5.1707 |
| 0.0758 | 15.0 | 15 | 5.7089 |
| 0.0663 | 16.0 | 16 | 6.4052 |
| 0.0601 | 17.0 | 17 | 6.7814 |
| 0.0545 | 18.0 | 18 | 6.9586 |
| 0.0505 | 19.0 | 19 | 6.9766 |
| 0.0482 | 20.0 | 20 | 6.9843 |