Peaky8linders commited on
Commit
c2b1276
1 Parent(s): 0107fca

End of training

Browse files
Files changed (2) hide show
  1. README.md +154 -3
  2. adapter_model.bin +3 -0
README.md CHANGED
@@ -1,3 +1,154 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: mistralai/Mistral-7B-v0.1
3
+ library_name: peft
4
+ license: apache-2.0
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: isafpr-mistral-lora
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ [<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
17
+ <details><summary>See axolotl config</summary>
18
+
19
+ axolotl version: `0.4.1`
20
+ ```yaml
21
+ base_model: mistralai/Mistral-7B-v0.1
22
+ model_type: MistralForCausalLM
23
+ tokenizer_type: LlamaTokenizer
24
+
25
+ load_in_8bit: true
26
+ load_in_4bit: false
27
+ strict: false
28
+
29
+ datasets:
30
+ - path: data/templatefree_isaf_press_releases_ft_train.jsonl
31
+ type: input_output
32
+ dataset_prepared_path: last_run_prepared
33
+ val_set_size: 0.1
34
+ output_dir: ./outputs/lora-out
35
+ hub_model_id: Peaky8linders/isafpr-mistral-lora
36
+
37
+ adapter: lora
38
+ lora_model_dir:
39
+
40
+ sequence_len: 8192
41
+ sample_packing: true
42
+ pad_to_sequence_len: true
43
+
44
+ lora_r: 32
45
+ lora_alpha: 16
46
+ lora_dropout: 0.05
47
+ lora_target_linear: true
48
+ lora_fan_in_fan_out:
49
+ lora_target_modules:
50
+ - gate_proj
51
+ - down_proj
52
+ - up_proj
53
+ - q_proj
54
+ - v_proj
55
+ - k_proj
56
+ - o_proj
57
+
58
+ wandb_project:
59
+ wandb_entity:
60
+ wandb_watch:
61
+ wandb_name:
62
+ wandb_log_model:
63
+
64
+ gradient_accumulation_steps: 4
65
+ micro_batch_size: 2
66
+ num_epochs: 1
67
+ optimizer: adamw_bnb_8bit
68
+ lr_scheduler: cosine
69
+ learning_rate: 0.0002
70
+
71
+ train_on_inputs: false
72
+ group_by_length: false
73
+ bf16: auto
74
+ fp16:
75
+ tf32: false
76
+
77
+ gradient_checkpointing: true
78
+ early_stopping_patience:
79
+ resume_from_checkpoint:
80
+ local_rank:
81
+ logging_steps: 1
82
+ xformers_attention:
83
+ flash_attention: true
84
+
85
+ loss_watchdog_threshold: 5.0
86
+ loss_watchdog_patience: 3
87
+
88
+ warmup_steps: 10
89
+ evals_per_epoch: 4
90
+ eval_table_size:
91
+ eval_max_new_tokens: 128
92
+ saves_per_epoch: 1
93
+ debug:
94
+ deepspeed:
95
+ weight_decay: 0.0
96
+ fsdp:
97
+ fsdp_config:
98
+ special_tokens:
99
+
100
+ ```
101
+
102
+ </details><br>
103
+
104
+ # isafpr-mistral-lora
105
+
106
+ This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the None dataset.
107
+ It achieves the following results on the evaluation set:
108
+ - Loss: 0.0465
109
+
110
+ ## Model description
111
+
112
+ More information needed
113
+
114
+ ## Intended uses & limitations
115
+
116
+ More information needed
117
+
118
+ ## Training and evaluation data
119
+
120
+ More information needed
121
+
122
+ ## Training procedure
123
+
124
+ ### Training hyperparameters
125
+
126
+ The following hyperparameters were used during training:
127
+ - learning_rate: 0.0002
128
+ - train_batch_size: 2
129
+ - eval_batch_size: 2
130
+ - seed: 42
131
+ - gradient_accumulation_steps: 4
132
+ - total_train_batch_size: 8
133
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
134
+ - lr_scheduler_type: cosine
135
+ - lr_scheduler_warmup_steps: 10
136
+ - num_epochs: 1
137
+
138
+ ### Training results
139
+
140
+ | Training Loss | Epoch | Step | Validation Loss |
141
+ |:-------------:|:------:|:----:|:---------------:|
142
+ | 1.3643 | 0.0282 | 1 | 1.3693 |
143
+ | 0.1847 | 0.2535 | 9 | 0.1313 |
144
+ | 0.053 | 0.5070 | 18 | 0.0565 |
145
+ | 0.0479 | 0.7606 | 27 | 0.0465 |
146
+
147
+
148
+ ### Framework versions
149
+
150
+ - PEFT 0.11.1
151
+ - Transformers 4.41.1
152
+ - Pytorch 2.1.2+cu118
153
+ - Datasets 2.19.1
154
+ - Tokenizers 0.19.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcc04740ee38b0bd9d019717b764db801e40faeb09ada42e0e48f66468de8f0a
3
+ size 335706186