rajparmar commited on
Commit
f4835e1
1 Parent(s): 96ff5b8

Upload model

Browse files
Files changed (3) hide show
  1. README.md +67 -0
  2. adapter_config.json +30 -0
  3. adapter_model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: ybelkada/Mistral-7B-v0.1-bf16-sharded
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: my_tuned_json_data_model
7
+ results: []
8
+ library_name: peft
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
+ # my_tuned_json_data_model
15
+
16
+ This model is a fine-tuned version of [ybelkada/Mistral-7B-v0.1-bf16-sharded](https://huggingface.co/ybelkada/Mistral-7B-v0.1-bf16-sharded) on the None dataset.
17
+
18
+ ## Model description
19
+
20
+ More information needed
21
+
22
+ ## Intended uses & limitations
23
+
24
+ More information needed
25
+
26
+ ## Training and evaluation data
27
+
28
+ More information needed
29
+
30
+ ## Training procedure
31
+
32
+
33
+ The following `bitsandbytes` quantization config was used during training:
34
+ - quant_method: bitsandbytes
35
+ - load_in_8bit: False
36
+ - load_in_4bit: True
37
+ - llm_int8_threshold: 6.0
38
+ - llm_int8_skip_modules: None
39
+ - llm_int8_enable_fp32_cpu_offload: False
40
+ - llm_int8_has_fp16_weight: False
41
+ - bnb_4bit_quant_type: fp4
42
+ - bnb_4bit_use_double_quant: False
43
+ - bnb_4bit_compute_dtype: float32
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 1e-05
48
+ - train_batch_size: 2
49
+ - eval_batch_size: 8
50
+ - seed: 42
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - lr_scheduler_warmup_steps: 10
54
+ - num_epochs: 2
55
+ - mixed_precision_training: Native AMP
56
+
57
+ ### Training results
58
+
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - PEFT 0.4.0
64
+ - Transformers 4.35.0
65
+ - Pytorch 2.0.0+cu117
66
+ - Datasets 2.13.0
67
+ - Tokenizers 0.14.1
adapter_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": {
3
+ "base_model_class": "MistralForCausalLM",
4
+ "parent_library": "transformers.models.mistral.modeling_mistral"
5
+ },
6
+ "base_model_name_or_path": "ybelkada/Mistral-7B-v0.1-bf16-sharded",
7
+ "bias": "none",
8
+ "fan_in_fan_out": false,
9
+ "inference_mode": true,
10
+ "init_lora_weights": true,
11
+ "layers_pattern": null,
12
+ "layers_to_transform": null,
13
+ "lora_alpha": 32,
14
+ "lora_dropout": 0.05,
15
+ "modules_to_save": null,
16
+ "peft_type": "LORA",
17
+ "r": 32,
18
+ "revision": null,
19
+ "target_modules": [
20
+ "embed_tokens",
21
+ "lm_head",
22
+ "q_proj",
23
+ "v_proj",
24
+ "k_proj",
25
+ "up_proj",
26
+ "down_proj",
27
+ "gate_proj"
28
+ ],
29
+ "task_type": null
30
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2152dcc5c65d8c40088af9cde8e116cd648d4f87b2d595355a34b3774af2a739
3
+ size 311285688