yspkm commited on
Commit
36460cd
1 Parent(s): aa2c207

Training completed!

Browse files
Files changed (5) hide show
  1. README.md +68 -0
  2. adapter_config.json +23 -0
  3. adapter_model.bin +3 -0
  4. model.safetensors +3 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: gemma
3
+ base_model: google/gemma-2b-it
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: gemma-2b-it-lora-math
8
+ results: []
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
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/yspkm/PrunePath-LoRA/runs/6lawxgox)
15
+ # gemma-2b-it-lora-math
16
+
17
+ This model is a fine-tuned version of [google/gemma-2b-it](https://huggingface.co/google/gemma-2b-it) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.4824
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 0.0001
39
+ - train_batch_size: 8
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - distributed_type: multi-GPU
43
+ - num_devices: 4
44
+ - gradient_accumulation_steps: 4
45
+ - total_train_batch_size: 128
46
+ - total_eval_batch_size: 32
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: cosine
49
+ - lr_scheduler_warmup_steps: 100
50
+ - num_epochs: 3
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss |
55
+ |:-------------:|:------:|:----:|:---------------:|
56
+ | 0.5108 | 0.5131 | 200 | 0.5543 |
57
+ | 0.4467 | 1.0263 | 400 | 0.5035 |
58
+ | 0.4167 | 1.5394 | 600 | 0.4929 |
59
+ | 0.3823 | 2.0526 | 800 | 0.4840 |
60
+ | 0.379 | 2.5657 | 1000 | 0.4824 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.42.3
66
+ - Pytorch 2.3.1+cu121
67
+ - Datasets 2.20.0
68
+ - Tokenizers 0.19.1
adapter_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "base_model_name_or_path": "google/gemma-2b-it",
3
+ "bias": "none",
4
+ "enable_lora": null,
5
+ "fan_in_fan_out": false,
6
+ "inference_mode": true,
7
+ "lora_alpha": 64,
8
+ "lora_dropout": 0.5,
9
+ "merge_weights": false,
10
+ "modules_to_save": null,
11
+ "peft_type": "LORA",
12
+ "r": 32,
13
+ "target_modules": [
14
+ "q_proj",
15
+ "k_proj",
16
+ "v_proj",
17
+ "o_proj",
18
+ "gate_proj",
19
+ "up_proj",
20
+ "down_proj"
21
+ ],
22
+ "task_type": "CAUSAL_LM"
23
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71a88fa008a2e49131842c7ba977ad3a12888181db63a879a22eddbda3e58ede
3
+ size 156984186
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:790de93e5e3181b381aec91ff9896b1e9b154e90fe14712ded6d2619ff49ad86
3
+ size 156926880
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11c489483b2bcbbc9c83d593ea3e988c763ca9f653ebf4b9b5efc09fef258930
3
+ size 5240