Heralax
commited on
Commit
•
d9b0908
0
Parent(s):
files
Browse files- .gitattributes +3 -0
- Mistral-7B-hf-v0.2-F16.gguf +3 -0
- README.md +133 -0
- added_tokens.json +3 -0
- config.json +3 -0
- generation_config.json +3 -0
- ggml-model-Q8_0.gguf +3 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +3 -0
- tokenizer.json +3 -0
- tokenizer.model +0 -0
- tokenizer_config.json +3 -0
.gitattributes
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
*.gguf filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.json filter=lfs diff=lfs merge=lfs -text
|
Mistral-7B-hf-v0.2-F16.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5447351a1bee44b8de87b868182389452e1443182a50e8a8ff972f5141d9015a
|
3 |
+
size 14484749280
|
README.md
ADDED
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: alpindale/Mistral-7B-v0.2-hf
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: army-pretraining
|
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/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
|
16 |
+
<details><summary>See axolotl config</summary>
|
17 |
+
|
18 |
+
axolotl version: `0.4.1`
|
19 |
+
```yaml
|
20 |
+
base_model: alpindale/Mistral-7B-v0.2-hf
|
21 |
+
tokenizer_type: AutoTokenizer
|
22 |
+
is_mistral_derived_model: true
|
23 |
+
load_in_8bit: false
|
24 |
+
load_in_4bit: false
|
25 |
+
strict: false
|
26 |
+
|
27 |
+
datasets:
|
28 |
+
- path: json
|
29 |
+
data_files: hidden_pretraining_manners.jsonl
|
30 |
+
ds_type: json
|
31 |
+
type: completion
|
32 |
+
|
33 |
+
|
34 |
+
dataset_prepared_path: last_run_prepared
|
35 |
+
output_dir: ./army-pretraining
|
36 |
+
|
37 |
+
sequence_len: 4096
|
38 |
+
sample_packing: false
|
39 |
+
pad_to_sequence_len: true
|
40 |
+
shuffle_merged_datasets: true
|
41 |
+
|
42 |
+
wandb_project: mistral-army
|
43 |
+
wandb_entity:
|
44 |
+
wandb_watch:
|
45 |
+
wandb_run_id:
|
46 |
+
wandb_log_model:
|
47 |
+
|
48 |
+
gradient_accumulation_steps: 6
|
49 |
+
micro_batch_size: 2
|
50 |
+
eval_batch_size: 1
|
51 |
+
num_epochs: 11
|
52 |
+
optimizer: paged_adamw_8bit
|
53 |
+
lr_scheduler: cosine
|
54 |
+
learning_rate: 0.000020
|
55 |
+
weight_decay: 0
|
56 |
+
# Gradient clipping max norm
|
57 |
+
max_grad_norm: 1.0
|
58 |
+
noisy_embedding_alpha: 0
|
59 |
+
train_on_inputs: false
|
60 |
+
group_by_length: false
|
61 |
+
bf16: true
|
62 |
+
fp16: false
|
63 |
+
tf32: false
|
64 |
+
|
65 |
+
gradient_checkpointing: unsloth
|
66 |
+
early_stopping_patience:
|
67 |
+
resume_from_checkpoint:
|
68 |
+
logging_steps: 1
|
69 |
+
xformers_attention:
|
70 |
+
flash_attention: true
|
71 |
+
|
72 |
+
chat_template: chatml
|
73 |
+
|
74 |
+
warmup_ratio: 0.5
|
75 |
+
auto_resume_from_checkpoints: false
|
76 |
+
#warmup_ratio: 0.5
|
77 |
+
eval_steps: 10
|
78 |
+
saves_per_epoch: 1
|
79 |
+
eval_sample_packing: false
|
80 |
+
save_total_limit: 3
|
81 |
+
debug:
|
82 |
+
deepspeed: deepspeed_configs/zero2.json
|
83 |
+
special_tokens:
|
84 |
+
pad_token: "<|end_of_text|>"
|
85 |
+
```
|
86 |
+
|
87 |
+
</details><br>
|
88 |
+
|
89 |
+
# army-pretraining
|
90 |
+
|
91 |
+
This model is a fine-tuned version of [alpindale/Mistral-7B-v0.2-hf](https://huggingface.co/alpindale/Mistral-7B-v0.2-hf) on the None dataset.
|
92 |
+
|
93 |
+
## Model description
|
94 |
+
|
95 |
+
More information needed
|
96 |
+
|
97 |
+
## Intended uses & limitations
|
98 |
+
|
99 |
+
More information needed
|
100 |
+
|
101 |
+
## Training and evaluation data
|
102 |
+
|
103 |
+
More information needed
|
104 |
+
|
105 |
+
## Training procedure
|
106 |
+
|
107 |
+
### Training hyperparameters
|
108 |
+
|
109 |
+
The following hyperparameters were used during training:
|
110 |
+
- learning_rate: 2e-05
|
111 |
+
- train_batch_size: 2
|
112 |
+
- eval_batch_size: 1
|
113 |
+
- seed: 42
|
114 |
+
- distributed_type: multi-GPU
|
115 |
+
- num_devices: 5
|
116 |
+
- gradient_accumulation_steps: 6
|
117 |
+
- total_train_batch_size: 60
|
118 |
+
- total_eval_batch_size: 5
|
119 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
120 |
+
- lr_scheduler_type: cosine
|
121 |
+
- lr_scheduler_warmup_steps: 21
|
122 |
+
- num_epochs: 11
|
123 |
+
|
124 |
+
### Training results
|
125 |
+
|
126 |
+
|
127 |
+
|
128 |
+
### Framework versions
|
129 |
+
|
130 |
+
- Transformers 4.45.1
|
131 |
+
- Pytorch 2.3.1+cu121
|
132 |
+
- Datasets 2.21.0
|
133 |
+
- Tokenizers 0.20.0
|
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a4c860c660d50eda3c33f626cdc7fdc8c38dbdd7ab739e37e5029c2ea0827faf
|
3 |
+
size 31
|
config.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e9f17404fb1b96731f00b18f013a06d15c1fa15c1ca30fc0f86f3a7c52af1f3b
|
3 |
+
size 667
|
generation_config.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2cf5d1c58a0197efb940afcede6654d7d73e54f77fb526907cc665642b9c669a
|
3 |
+
size 132
|
ggml-model-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7941b6ae6f3d8ddbf1169ffb2b4abc0f2df574a31cc4fa2426e1f9a9e5f6739b
|
3 |
+
size 7695867360
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:457f81a068ee2fd09071bcb8b10de18ae79fef01b5faa1138ecd080a1832e0bc
|
3 |
+
size 14483521198
|
special_tokens_map.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a90c00fbd43070d76e8c2f44711050e4b404db539ec9d659741d36558acb2043
|
3 |
+
size 562
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fd3f168005b4faa0a709d51a0e2d622d8f41d845db6406f542e78b7aa0e3b7e0
|
3 |
+
size 3505942
|
tokenizer.model
ADDED
Binary file (493 kB). View file
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5a63ee4d7229c0285017f2a332e32b9c98d15579ce1a66a6a518ca20e19f9b78
|
3 |
+
size 1471
|