Views
No views yet
1base_model: mistralai/Mistral-Nemo-Base-2407
2model_type: AutoModelForCausalLM
3tokenizer_type: AutoTokenizer
4
5load_in_8bit: false
6load_in_4bit: true
7strict: false
8
9datasets:
10 - path: openerotica/mixed-rp
11 type: sharegpt
12 conversation: chatml
13
14chat_template: chatml
15adapter: qlora
16lora_r: 128
17lora_alpha: 256
18lora_modules_to_save: [embed_tokens, lm_head]
19lora_dropout: 0.05
20lora_target_linear: true
21lora_target_modules:
22 - gate_proj
23 - down_proj
24 - up_proj
25 - q_proj
26 - v_proj
27 - k_proj
28 - o_proj
29
30dataset_prepared_path:
31val_set_size: 0.01
32output_dir: /workspace/axolotl/mixed-rp-mistral-nemo
33
34sequence_len: 20000
35sample_packing: true
36pad_to_sequence_len: true
37
38wandb_project: mistral-2
39wandb_watch:
40wandb_run_id:
41wandb_log_model:
42
43gradient_accumulation_steps: 2
44micro_batch_size: 1
45num_epochs: 1
46optimizer: adamw_torch
47lr_scheduler: cosine
48learning_rate: 1e-5
49train_on_inputs: false
50group_by_length: false
51bf16: auto
52fp16:
53tf32: false
54
55gradient_checkpointing: true
56gradient_checkpointing_kwargs:
57 use_reentrant: false
58early_stopping_patience:
59resume_from_checkpoint:
60logging_steps: 1
61xformers_attention:
62flash_attention: true
63
64warmup_steps: 100
65evals_per_epoch: 4
66eval_table_size:
67saves_per_epoch: 1
68save_total_limit: 2
69save_steps:
70debug:
71deepspeed:
72weight_decay: 0.1
73special_tokens:
74 eos_token: "<|im_end|>"
75 pad_token: "<pad>"
76 bos_token: "<s>"
77 unk_token: "<unk>"
78tokens:
79 - "<|im_start|>"
80
81# fsdp:
82# - full_shard
83# - auto_wrap
84# fsdp_config:
85# fsdp_limit_all_gathers: true
86# fsdp_sync_module_states: true
87# fsdp_offload_params: true
88# fsdp_use_orig_params: false
89# fsdp_cpu_ram_efficient_loading: true
90# fsdp_transformer_layer_cls_to_wrap: MixtralSparseMoeBlock
91# fsdp_state_dict_type: FULL_STATE_DICT
92# fsdp_auto_wrap_policy: TRANSFORMER_BASED_WRAP
93# fsdp_sharding_strategy: FULL_SHARD
94# fsdp_forward_prefetch: false
95# fsdp_backward_prefetch: BACKWARD_PRE