pszemraj commited on
Commit
2424053
1 Parent(s): 6bb97f5

End of training

Browse files
Files changed (2) hide show
  1. README.md +141 -0
  2. generation_config.json +7 -0
README.md ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-sa-4.0
3
+ base_model: pszemraj/stablelm-3b-4e1t-prune10
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: stablelm-4e1t-2b-v0.1
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ [<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)
16
+ <details><summary>See axolotl config</summary>
17
+
18
+ axolotl version: `0.4.0`
19
+ ```yaml
20
+ base_model: pszemraj/stablelm-3b-4e1t-prune10
21
+ model_type: AutoModelForCausalLM
22
+ tokenizer_type: AutoTokenizer
23
+
24
+ strict: false
25
+ seed: 80085
26
+
27
+ # dataset
28
+ datasets:
29
+ - path: BEE-spoke-data/KI-smorgasbord_fw-small
30
+ type: completion # format from earlier
31
+ field: text # Optional[str] default: text, field to use for completion data
32
+ val_set_size: 0.015
33
+
34
+ sequence_len: 4096
35
+ sample_packing: true
36
+ pad_to_sequence_len: false
37
+ train_on_inputs: false
38
+ group_by_length: false
39
+
40
+ # WANDB
41
+ wandb_project: llama3-pruning
42
+ wandb_entity: pszemraj
43
+ wandb_watch: gradients
44
+ wandb_name: stablelm-4e1t-2b-v0.1
45
+ hub_model_id: pszemraj/stablelm-4e1t-2b-v0.1
46
+ hub_strategy: every_save
47
+
48
+ gradient_accumulation_steps: 16
49
+ micro_batch_size: 1
50
+ num_epochs: 2
51
+ optimizer: adamw_torch_fused # paged_adamw_32bit
52
+ weight_decay: 0.05
53
+ lr_scheduler: cosine
54
+ learning_rate: 5e-5
55
+ warmup_ratio: 0.1
56
+
57
+ load_in_8bit: false
58
+ load_in_4bit: false
59
+ bf16: true
60
+ tf32: true
61
+
62
+ flash_attention: true
63
+ torch_compile: true # requires >= torch 2.0, may sometimes cause problems
64
+ torch_compile_backend: inductor # Optional[str]
65
+ gradient_checkpointing: true
66
+ gradient_checkpointing_kwargs:
67
+ use_reentrant: false
68
+
69
+ # hyperparams for freq of evals, saving, etc
70
+ evals_per_epoch: 5
71
+ saves_per_epoch: 3
72
+ save_safetensors: true
73
+ save_total_limit: 1
74
+ output_dir: ./output-axolotl/output-model-2b
75
+ logging_steps: 8
76
+
77
+ deepspeed:
78
+
79
+ special_tokens:
80
+ pad_token: <|end_of_text|>
81
+
82
+ ```
83
+
84
+ </details><br>
85
+
86
+ # stablelm-4e1t-2b-v0.1
87
+
88
+ This model is a fine-tuned version of [pszemraj/stablelm-3b-4e1t-prune10](https://huggingface.co/pszemraj/stablelm-3b-4e1t-prune10) on the None dataset.
89
+ It achieves the following results on the evaluation set:
90
+ - Loss: 2.4769
91
+
92
+ ## Model description
93
+
94
+ More information needed
95
+
96
+ ## Intended uses & limitations
97
+
98
+ More information needed
99
+
100
+ ## Training and evaluation data
101
+
102
+ More information needed
103
+
104
+ ## Training procedure
105
+
106
+ ### Training hyperparameters
107
+
108
+ The following hyperparameters were used during training:
109
+ - learning_rate: 5e-05
110
+ - train_batch_size: 1
111
+ - eval_batch_size: 1
112
+ - seed: 80085
113
+ - gradient_accumulation_steps: 16
114
+ - total_train_batch_size: 16
115
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
116
+ - lr_scheduler_type: cosine
117
+ - lr_scheduler_warmup_steps: 268
118
+ - num_epochs: 2
119
+
120
+ ### Training results
121
+
122
+ | Training Loss | Epoch | Step | Validation Loss |
123
+ |:-------------:|:------:|:----:|:---------------:|
124
+ | No log | 0.0006 | 1 | 4.4344 |
125
+ | 2.6558 | 0.2004 | 332 | 2.7150 |
126
+ | 2.6548 | 0.4007 | 664 | 2.6196 |
127
+ | 2.5435 | 0.6011 | 996 | 2.5981 |
128
+ | 2.5133 | 0.8014 | 1328 | 2.5502 |
129
+ | 2.489 | 1.0018 | 1660 | 2.5106 |
130
+ | 2.2671 | 1.1898 | 1992 | 2.4944 |
131
+ | 2.2038 | 1.3902 | 2324 | 2.4843 |
132
+ | 2.2513 | 1.5905 | 2656 | 2.4761 |
133
+ | 2.1654 | 1.7909 | 2988 | 2.4769 |
134
+
135
+
136
+ ### Framework versions
137
+
138
+ - Transformers 4.40.2
139
+ - Pytorch 2.1.2+cu118
140
+ - Datasets 2.19.1
141
+ - Tokenizers 0.19.1
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "do_sample": true,
5
+ "eos_token_id": 0,
6
+ "transformers_version": "4.40.2"
7
+ }