pamparamm commited on
Commit
edefdb1
1 Parent(s): ab34419
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ *.gguf filter=lfs diff=lfs merge=lfs -text
Mistral-7B-wikipedia_ru_pruned-0.1_merged.Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:908f49b9e8af6e31317ca9eb9dcd2c0364a816d519e3b298fd6622ba584fc734
3
+ size 7695857344
README.md CHANGED
@@ -1,3 +1,141 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ pipeline_tag: text-generation
4
+ language:
5
+ - ru
6
+ tags:
7
+ - generated_from_trainer
8
+ base_model: mistralai/Mistral-7B-v0.1
9
+ datasets:
10
+ - danasone/wikipedia_ru
11
+ model-index:
12
+ - name: Mistral-7B-wikipedia_ru_pruned-0.1_merged
13
+ results: []
14
  ---
15
+
16
+
17
+ [<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)
18
+ <details><summary>See axolotl config</summary>
19
+
20
+ axolotl version: `0.4.0`
21
+ ```yaml
22
+ base_model: mistralai/Mistral-7B-v0.1
23
+ model_type: MistralForCausalLM
24
+ tokenizer_type: LlamaTokenizer
25
+ is_mistral_derived_model: true
26
+
27
+ load_in_8bit: false
28
+ load_in_4bit: true
29
+ strict: false
30
+
31
+ datasets:
32
+ - path: ./datasets/ruwiki-pruned
33
+ type: completion
34
+ field: text
35
+ dataset_prepared_path: last_run_prepared
36
+ val_set_size: 0.01
37
+ output_dir: ./models/output
38
+
39
+ adapter: qlora
40
+ lora_model_dir:
41
+
42
+ sequence_len: 1024
43
+ sample_packing: true
44
+ pad_to_sequence_len: true
45
+
46
+ lora_r: 32
47
+ lora_alpha: 16
48
+ lora_dropout: 0.05
49
+ lora_target_linear: true
50
+ lora_fan_in_fan_out:
51
+ lora_target_modules:
52
+ - gate_proj
53
+ - down_proj
54
+ - up_proj
55
+ - q_proj
56
+ - v_proj
57
+ - k_proj
58
+ - o_proj
59
+
60
+ wandb_project:
61
+ wandb_entity:
62
+ wandb_watch:
63
+ wandb_name:
64
+ wandb_log_model:
65
+
66
+ gradient_accumulation_steps: 1
67
+ micro_batch_size: 11
68
+ num_epochs: 1
69
+ optimizer: adamw_bnb_8bit
70
+ lr_scheduler: cosine
71
+ learning_rate: 0.0002
72
+
73
+ train_on_inputs: false
74
+ group_by_length: false
75
+ bf16: auto
76
+ fp16:
77
+ tf32: false
78
+
79
+ gradient_checkpointing: true
80
+ early_stopping_patience:
81
+ resume_from_checkpoint:
82
+ local_rank:
83
+ logging_steps:
84
+ xformers_attention:
85
+ flash_attention: true
86
+
87
+ loss_watchdog_threshold: 5.0
88
+ loss_watchdog_patience: 3
89
+
90
+ warmup_steps: 10
91
+ evals_per_epoch:
92
+ eval_table_size:
93
+ eval_max_new_tokens: 128
94
+ saves_per_epoch: 1
95
+ debug:
96
+ deepspeed:
97
+ weight_decay: 0.0
98
+ fsdp:
99
+ fsdp_config:
100
+ special_tokens:
101
+
102
+ ```
103
+
104
+ </details><br>
105
+
106
+ # Mistral-7B-wikipedia_ru_pruned-0.1_merged
107
+
108
+ This model is a Q8_0 GGUF merge of [WlappaAI/Mistral-7B-v0.1-wikipedia_ru_pruned-0.1](https://huggingface.co/WlappaAI/Mistral-7B-v0.1-wikipedia_ru_pruned-0.1) together with [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1). It's trained on modified [danasone/wikipedia_ru](https://huggingface.co/datasets/danasone/wikipedia_ru) dataset.
109
+ It achieves the following results on the evaluation set:
110
+ - Loss: 1.1876
111
+
112
+ ## Training procedure
113
+
114
+ ### Training hyperparameters
115
+
116
+ The following hyperparameters were used during training:
117
+ - learning_rate: 0.0002
118
+ - train_batch_size: 11
119
+ - eval_batch_size: 11
120
+ - seed: 42
121
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
122
+ - lr_scheduler_type: cosine
123
+ - lr_scheduler_warmup_steps: 10
124
+ - num_epochs: 1
125
+
126
+ ### Training results
127
+
128
+ | Training Loss | Epoch | Step | Validation Loss |
129
+ |:-------------:|:-----:|:----:|:---------------:|
130
+ | 1.5643 | 0.0 | 0 | |
131
+ | 1.012 | 1.0 | 1100 | 1.1876 |
132
+
133
+
134
+ ### Framework versions
135
+
136
+ - PEFT 0.10.0
137
+ - Transformers 4.40.0.dev0
138
+ - Pytorch 2.2.2+cu121
139
+ - Datasets 2.18.0
140
+ - Tokenizers 0.15.0
141
+ - GGUF 0.9.0
config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "model_type": "mistral"
3
+ }