Views
No views yet
0.4.11# base_model: deepseek-ai/deepseek-coder-1.3b-instruct
2base_model: Qwen/CodeQwen1.5-7B-Chat
3model_type: AutoModelForCausalLM
4tokenizer_type: AutoTokenizer
5is_mistral_derived_model: false
6
7load_in_8bit: true
8load_in_4bit: false
9strict: false
10
11lora_fan_in_fan_out: false
12data_seed: 49
13seed: 49
14
15datasets:
16 - path: sample_data/alpaca_synth_cypher.jsonl
17 type: sharegpt
18 conversation: alpaca
19dataset_prepared_path: last_run_prepared
20val_set_size: 0.1
21output_dir: ./qlora-alpaca-codeqwen1.5-7b-chat-lora8
22# output_dir: ./qlora-alpaca-out
23
24hub_model_id: jermyn/CodeQwen1.5-7B-Chat-lora8-NLQ2Cypher
25# hub_model_id: jermyn/deepseek-code-1.3b-inst-NLQ2Cypher
26
27adapter: lora # 'qlora' or leave blank for full finetune
28lora_model_dir:
29
30sequence_len: 896
31sample_packing: false
32pad_to_sequence_len: true
33
34lora_r: 32
35lora_alpha: 16
36lora_dropout: 0.05
37lora_target_linear: true
38lora_fan_in_fan_out:
39# lora_target_modules:
40# - gate_proj
41# - down_proj
42# - up_proj
43# - q_proj
44# - v_proj
45# - k_proj
46# - o_proj
47
48# If you added new tokens to the tokenizer, you may need to save some LoRA modules because they need to know the new tokens.
49# For LLaMA and Mistral, you need to save `embed_tokens` and `lm_head`. It may vary for other models.
50# `embed_tokens` converts tokens to embeddings, and `lm_head` converts embeddings to token probabilities.
51# https://github.com/huggingface/peft/issues/334#issuecomment-1561727994
52# lora_modules_to_save:
53# - embed_tokens
54# - lm_head
55
56wandb_project: fine-tune-axolotl
57wandb_entity: jermyn
58
59gradient_accumulation_steps: 2
60micro_batch_size: 8
61eval_batch_size: 8
62num_epochs: 6
63optimizer: adamw_bnb_8bit
64lr_scheduler: cosine
65learning_rate: 0.0005
66max_grad_norm: 1.0
67adam_beta2: 0.95
68adam_epsilon: 0.00001
69
70train_on_inputs: false
71group_by_length: false
72bf16: true
73fp16: false
74tf32: false
75
76gradient_checkpointing: true
77early_stopping_patience:
78resume_from_checkpoint:
79local_rank:
80logging_steps: 1
81xformers_attention:
82flash_attention: true
83
84loss_watchdog_threshold: 5.0
85loss_watchdog_patience: 3
86
87warmup_steps: 10
88evals_per_epoch: 4
89eval_table_size:
90eval_table_max_new_tokens: 128
91# saves_per_epoch: 6
92save_steps: 10
93save_total_limit: 3
94debug:
95weight_decay: 0.0
96fsdp:
97fsdp_config:
98# special_tokens:
99# bos_token: "<s>"
100# eos_token: "</s>"
101# unk_token: "<unk>"
102save_safetensors: true
103| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.1649 | 0.1538 | 1 | 0.9270 |
| 1.1566 | 0.3077 | 2 | 0.9268 |
| 1.0746 | 0.6154 | 4 | 0.8194 |
| 0.6428 | 0.9231 | 6 | 0.4970 |
| 0.2459 | 1.2308 | 8 | 0.4760 |
| 0.3512 | 1.5385 | 10 | 0.5091 |
| 0.1654 | 1.8462 | 12 | 0.4742 |
| 0.1484 | 2.1538 | 14 | 0.4560 |
| 0.137 | 2.4615 | 16 | 0.4105 |
| 0.0746 | 2.7692 | 18 | 0.3736 |
| 0.0539 | 3.0769 | 20 | 0.3412 |
| 0.1147 | 3.3846 | 22 | 0.3307 |
| 0.056 | 3.6923 | 24 | 0.3242 |
| 0.0767 | 4.0 | 26 | 0.3524 |
| 0.0583 | 4.3077 | 28 | 0.3690 |
| 0.0666 | 4.6154 | 30 | 0.3727 |
| 0.0539 | 4.9231 | 32 | 0.3773 |
| 0.0367 | 5.2308 | 34 | 0.3796 |
| 0.0297 | 5.5385 | 36 | 0.3720 |