0.4.01base_model: croissantllm/CroissantLLMBase
2model_type: LlamaForCausalLM
3tokenizer_type: LlamaTokenizerFast
4is_llama_derived_model: true
5
6special_tokens:
7 bos_token: "<s>"
8 eos_token: "</s>"
9 unk_token: "<unk>"
10
11tokens:
12 - "<|im_start|>"
13 - "<|im_end|>"
14
15load_in_8bit: false
16load_in_4bit: false
17strict: false
18
19datasets:
20 - path: manu/dataset_1
21 split: train
22 type: sharegpt
23
24chat_template: "chatml"
25default_system_message: ""
26
27dataset_prepared_path: new_pii
28val_set_size: 0.05
29output_dir: /gpfs/workdir/fayssema/models/out_translation
30
31sequence_len: 2048
32sample_packing: false
33pad_to_sequence_len: false
34
35adapter:
36lora_model_dir:
37lora_r:
38lora_alpha:
39lora_dropout:
40lora_target_linear:
41lora_fan_in_fan_out:
42
43wandb_project:
44wandb_entity:
45wandb_watch:
46wandb_name:
47wandb_log_model:
48
49gradient_accumulation_steps: 2
50micro_batch_size: 16
51num_epochs: 3
52optimizer: adamw_bnb_8bit
53lr_scheduler: cosine
54learning_rate: 0.00003
55
56train_on_inputs: false
57group_by_length: false
58bf16: auto
59fp16: false
60tf32: true
61
62gradient_checkpointing: true
63early_stopping_patience:
64resume_from_checkpoint:
65local_rank:
66logging_steps: 1
67xformers_attention:
68flash_attention: true
69flash_attn_cross_entropy: false
70flash_attn_rms_norm: true
71flash_attn_fuse_qkv: false
72flash_attn_fuse_mlp: true
73
74warmup_steps: 100
75evals_per_epoch: 4
76eval_table_size:
77saves_per_epoch: 1
78debug:
79deepspeed: #deepspeed_configs/zero2.json # multi-gpu only
80weight_decay: 0.05
81fsdp:
82fsdp_config:
83| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 2.6652 | 0.0 | 1 | 2.0261 |
| 0.2986 | 0.25 | 73 | 0.0199 |
| 0.19 | 0.5 | 146 | 0.0136 |
| 0.3032 | 0.76 | 219 | 0.0158 |
| 0.1343 | 1.01 | 292 | 0.0125 |
| 0.12 | 1.26 | 365 | 0.0117 |
| 0.2266 | 1.51 | 438 | 0.0113 |
| 0.1924 | 1.77 | 511 | 0.0097 |
| 0.1448 | 2.02 | 584 | 0.0095 |
| 0.0718 | 2.27 | 657 | 0.0098 |
| 0.1184 | 2.52 | 730 | 0.0097 |
| 0.1124 | 2.77 | 803 | 0.0098 |