LightFury9
commited on
Commit
•
7519ef3
1
Parent(s):
31aed68
End of training
Browse files- README.md +159 -0
- adapter_model.bin +3 -0
- adapter_model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- axolotl
|
6 |
+
- generated_from_trainer
|
7 |
+
base_model: mistralai/Mistral-7B-v0.1
|
8 |
+
model-index:
|
9 |
+
- name: mistral-tenglish-april5_2
|
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.0`
|
20 |
+
```yaml
|
21 |
+
base_model: mistralai/Mistral-7B-v0.1
|
22 |
+
base_model_config: mistralai/Mistral-7B-v0.1
|
23 |
+
model_type: MistralForCausalLM
|
24 |
+
tokenizer_type: LlamaTokenizer
|
25 |
+
is_mistral_derived_model: true
|
26 |
+
|
27 |
+
load_in_8bit: true
|
28 |
+
load_in_4bit: false
|
29 |
+
|
30 |
+
bf16: true
|
31 |
+
fp16: false
|
32 |
+
tf32: false
|
33 |
+
|
34 |
+
bfloat16: true
|
35 |
+
|
36 |
+
datasets:
|
37 |
+
- path: indiehackers/telugu_romanized_2048_mistral
|
38 |
+
type: completion
|
39 |
+
field: text
|
40 |
+
|
41 |
+
#dataset_prepared_path: ./dataset_tt23
|
42 |
+
|
43 |
+
hub_model_id: indiehackers/mistral-tenglish-april5_2
|
44 |
+
hf_use_auth_token: true
|
45 |
+
val_set_size: 0.0
|
46 |
+
|
47 |
+
sequence_len: 2048
|
48 |
+
pad_to_sequence_len: true
|
49 |
+
sample_packing: true
|
50 |
+
# eval_sample_packing: false
|
51 |
+
|
52 |
+
adapter: lora
|
53 |
+
lora_r: 128
|
54 |
+
lora_alpha: 256
|
55 |
+
lora_dropout: 0.05
|
56 |
+
lora_target_linear: true
|
57 |
+
|
58 |
+
wandb_project: mistral-tenglish
|
59 |
+
wandb_entity: team-nik
|
60 |
+
#wandb_log_model: end
|
61 |
+
|
62 |
+
output_dir: ./mistral-tenglish-out
|
63 |
+
|
64 |
+
# Training hyperparameters
|
65 |
+
gradient_accumulation_steps: 2
|
66 |
+
micro_batch_size: 7
|
67 |
+
warmup_steps: 50
|
68 |
+
learning_rate: 0.00002
|
69 |
+
logging_steps: 1
|
70 |
+
evals_per_epoch:
|
71 |
+
save_strategy: steps
|
72 |
+
save_steps: 100
|
73 |
+
save_total_limit: 10
|
74 |
+
num_epochs: 1
|
75 |
+
#max_steps: 162945
|
76 |
+
# eval_table_size:
|
77 |
+
# eval_max_new_tokens: 128
|
78 |
+
|
79 |
+
train_on_inputs: false
|
80 |
+
group_by_length: false
|
81 |
+
|
82 |
+
gradient_checkpointing: true
|
83 |
+
early_stopping_patience:
|
84 |
+
|
85 |
+
lr_scheduler: linear
|
86 |
+
|
87 |
+
optimizer: adamw_bnb_8bit
|
88 |
+
|
89 |
+
weight_decay: 0.01
|
90 |
+
|
91 |
+
xformers_attention:
|
92 |
+
flash_attention: true
|
93 |
+
resume_from_checkpoint:
|
94 |
+
auto_resume_from_checkpoints: true
|
95 |
+
|
96 |
+
local_rank:
|
97 |
+
|
98 |
+
fsdp:
|
99 |
+
fsdp_config:
|
100 |
+
|
101 |
+
deepspeed:
|
102 |
+
|
103 |
+
debug:
|
104 |
+
|
105 |
+
strict: false
|
106 |
+
|
107 |
+
# load_best_model_at_end: True
|
108 |
+
max_grad_norm: 0.3
|
109 |
+
|
110 |
+
```
|
111 |
+
|
112 |
+
</details><br>
|
113 |
+
|
114 |
+
# mistral-tenglish-april5_2
|
115 |
+
|
116 |
+
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.
|
117 |
+
|
118 |
+
## Model description
|
119 |
+
|
120 |
+
More information needed
|
121 |
+
|
122 |
+
## Intended uses & limitations
|
123 |
+
|
124 |
+
More information needed
|
125 |
+
|
126 |
+
## Training and evaluation data
|
127 |
+
|
128 |
+
More information needed
|
129 |
+
|
130 |
+
## Training procedure
|
131 |
+
|
132 |
+
### Training hyperparameters
|
133 |
+
|
134 |
+
The following hyperparameters were used during training:
|
135 |
+
- learning_rate: 2e-05
|
136 |
+
- train_batch_size: 7
|
137 |
+
- eval_batch_size: 7
|
138 |
+
- seed: 42
|
139 |
+
- distributed_type: multi-GPU
|
140 |
+
- num_devices: 4
|
141 |
+
- gradient_accumulation_steps: 2
|
142 |
+
- total_train_batch_size: 56
|
143 |
+
- total_eval_batch_size: 28
|
144 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
145 |
+
- lr_scheduler_type: linear
|
146 |
+
- lr_scheduler_warmup_steps: 50
|
147 |
+
- num_epochs: 1
|
148 |
+
|
149 |
+
### Training results
|
150 |
+
|
151 |
+
|
152 |
+
|
153 |
+
### Framework versions
|
154 |
+
|
155 |
+
- PEFT 0.10.0
|
156 |
+
- Transformers 4.40.0.dev0
|
157 |
+
- Pytorch 2.2.0+cu121
|
158 |
+
- Datasets 2.18.0
|
159 |
+
- Tokenizers 0.15.0
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1289c6d76941a03b2dfaba7680cc057c868a88d0e074e3feaf5edcab1d7ebc8f
|
3 |
+
size 671159674
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 671150064
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8db89b9913879a4f16167e329cfee7141d9104459f47cfb8ab4e6e23f7fd63fe
|
3 |
size 671150064
|