Views
No views yet
0.16.2.dev01base_model: swiss-ai/Apertus-8B-Instruct-2509
2model_type: AutoModelForCausalLM
3tokenizer_type: AutoTokenizer
4trust_remote_code: true
5
6load_in_4bit: true
7bnb_4bit_quant_type: nf4
8bnb_4bit_compute_dtype: bfloat16
9bnb_4bit_use_double_quant: true
10
11datasets:
12 - path: Jackrong/DeepSeek-V4-Distill-8000x
13 type:
14 field_instruction: input
15 field_output: output
16
17 format: |
18 ### Instruction:
19 {instruction}
20
21 ### Response:
22
23 no_input_format: |
24 ### Instruction:
25 {instruction}
26
27 ### Response:
28
29#dataset_prepared_path: /data/prepared/apertus8b_deepseekv4
30
31output_dir: /outputs/apertus-8b-deepseekv4-qlora
32
33val_set_size: 0.05
34
35sequence_len: 8192
36sample_packing: true
37pad_to_sequence_len: true
38
39adapter: qlora
40
41lora_r: 32
42lora_alpha: 64
43lora_dropout: 0.05
44lora_target_linear: true
45
46micro_batch_size: 2
47gradient_accumulation_steps: 8
48
49num_epochs: 3
50
51optimizer: paged_adamw_8bit
52
53learning_rate: 0.00015
54lr_scheduler: cosine
55warmup_ratio: 0.03
56weight_decay: 0.0
57
58bf16: true
59tf32: true
60
61gradient_checkpointing: true
62
63logging_steps: 10
64eval_steps: 100
65save_steps: 100
66save_total_limit: 3
67
68#############################################
69# HUGGING FACE HUB
70#############################################
71
72hub_model_id: laurent-maille/apertus-8b-deepseekv4-fr
73hub_strategy: every_save
74
75
76hf_use_auth_token: true
77
78hub_private_repo: true
79
80save_safetensors: true
81
82#############################################
83# OPTIONAL
84#############################################
85
86#wandb_project: apertus-8b-ft
87#wandb_name: apertus-8b-deepseekv4
88
89special_tokens:
90 pad_token: "<|endoftext|>"| Training Loss | Epoch | Step | Validation Loss | Ppl | Active (gib) | Allocated (gib) | Reserved (gib) |
|---|---|---|---|---|---|---|---|
| No log | 0 | 0 | 4.0401 | 56.8296 | 26.06 | 26.06 | 27.67 |
| 1.2896 | 0.8282 | 100 | 1.2931 | 3.6441 | 26.08 | 26.08 | 43.39 |
| 1.2472 | 1.6625 | 200 | 1.2097 | 3.3524 | 26.08 | 26.08 | 43.84 |
| 1.2004 | 2.4886 | 300 | 1.1893 | 3.2847 | 26.08 | 26.08 | 43.84 |
| 1.1840 | 2.9855 | 360 | 1.1878 | 3.2797 | 26.08 | 26.08 | 43.59 |