CapiJack commited on
Commit
27272fd
·
verified ·
1 Parent(s): bfe94b6

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +149 -0
README.md ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: NousResearch/Nous-Hermes-2-Mistral-7B-DPO
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: workspace/out-mistral-2B
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ [<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)
15
+ <details><summary>See axolotl config</summary>
16
+
17
+ axolotl version: `0.4.0`
18
+ ```yaml
19
+ adapter: null
20
+ base_model: NousResearch/Nous-Hermes-2-Mistral-7B-DPO
21
+ batch_size: 2
22
+ bf16: auto
23
+ dataset_prepared_path: null
24
+ datasets:
25
+ - ds_type: json
26
+ path: /workspace/data.jsonl
27
+ type: context_qa.load_v2
28
+ debug: null
29
+ deepspeed: null
30
+ early_stopping_patience: null
31
+ evals_per_epoch: 4
32
+ flash_attention: null
33
+ fp16: null
34
+ fsdp: null
35
+ fsdp_config: null
36
+ gptq_groupsize: null
37
+ gptq_model_v1: null
38
+ gradient_checkpointing: true
39
+ group_by_length: false
40
+ learning_rate: 1.0e-05
41
+ local_rank: null
42
+ logging_steps: 1
43
+ lora_alpha: 32
44
+ lora_dropout: 0.2
45
+ lora_fan_in_fan_out: null
46
+ lora_model_dir: null
47
+ lora_r: 64
48
+ lora_target_linear: true
49
+ lora_target_modules: null
50
+ lr_scheduler: cosine
51
+ max_packed_sequence_len: null
52
+ micro_batch_size: 1
53
+ model_config:
54
+ output_router_logits: true
55
+ model_type: MistralForCausalLM
56
+ num_epochs: 4
57
+ optimizer: adamw_bnb_8bit
58
+ output_dir: /workspace/out-mistral-2B
59
+ resume_from_checkpoint: null
60
+ saves_per_epoch: 1
61
+ sequence_len: 2048
62
+ special_tokens:
63
+ bos_token: <s>
64
+ eos_token: <|im_end|>
65
+ pad_token: </s>
66
+ tf32: true
67
+ tokenizer_type: LlamaTokenizer
68
+ torchdistx_path: null
69
+ train_on_inputs: false
70
+ trust_remote_code: true
71
+ val_set_size: 0.05
72
+ wandb_entity: null
73
+ wandb_log_model: Nous-Hermes-2-Mistral-7B-DPO
74
+ wandb_name: mistral
75
+ wandb_project: Ultron-llama
76
+ wandb_watch: null
77
+ warmup_steps: 40
78
+ weight_decay: 0.0
79
+ xformers_attention: true
80
+
81
+ ```
82
+
83
+ </details><br>
84
+
85
+ # workspace/out-mistral-2B
86
+
87
+ This model is a fine-tuned version of [NousResearch/Nous-Hermes-2-Mistral-7B-DPO](https://huggingface.co/NousResearch/Nous-Hermes-2-Mistral-7B-DPO) on the None dataset.
88
+ It achieves the following results on the evaluation set:
89
+ - Loss: 0.5036
90
+
91
+ ## Model description
92
+
93
+ More information needed
94
+
95
+ ## Intended uses & limitations
96
+
97
+ More information needed
98
+
99
+ ## Training and evaluation data
100
+
101
+ More information needed
102
+
103
+ ## Training procedure
104
+
105
+ ### Training hyperparameters
106
+
107
+ The following hyperparameters were used during training:
108
+ - learning_rate: 1e-05
109
+ - train_batch_size: 1
110
+ - eval_batch_size: 1
111
+ - seed: 42
112
+ - distributed_type: multi-GPU
113
+ - num_devices: 2
114
+ - gradient_accumulation_steps: 2
115
+ - total_train_batch_size: 4
116
+ - total_eval_batch_size: 2
117
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
118
+ - lr_scheduler_type: cosine
119
+ - lr_scheduler_warmup_steps: 40
120
+ - num_epochs: 4
121
+
122
+ ### Training results
123
+
124
+ | Training Loss | Epoch | Step | Validation Loss |
125
+ |:-------------:|:-----:|:----:|:---------------:|
126
+ | 0.6411 | 0.02 | 1 | 0.4803 |
127
+ | 0.5321 | 0.26 | 11 | 0.3867 |
128
+ | 0.4077 | 0.51 | 22 | 0.3591 |
129
+ | 0.4455 | 0.77 | 33 | 0.3995 |
130
+ | 0.2921 | 1.02 | 44 | 0.4368 |
131
+ | 0.3459 | 1.28 | 55 | 0.4884 |
132
+ | 0.2768 | 1.53 | 66 | 0.4978 |
133
+ | 0.4168 | 1.79 | 77 | 0.4808 |
134
+ | 0.14 | 2.05 | 88 | 0.4547 |
135
+ | 0.1132 | 2.3 | 99 | 0.4856 |
136
+ | 0.1055 | 2.56 | 110 | 0.4916 |
137
+ | 0.1385 | 2.81 | 121 | 0.4783 |
138
+ | 0.0455 | 3.07 | 132 | 0.4677 |
139
+ | 0.0211 | 3.33 | 143 | 0.4892 |
140
+ | 0.0236 | 3.58 | 154 | 0.5016 |
141
+ | 0.009 | 3.84 | 165 | 0.5036 |
142
+
143
+
144
+ ### Framework versions
145
+
146
+ - Transformers 4.39.0.dev0
147
+ - Pytorch 2.1.2+cu121
148
+ - Datasets 2.18.0
149
+ - Tokenizers 0.15.0