https://huggingface.co/ridhimamlds
Browse files- README.md +61 -0
- adapter_config.json +157 -0
- adapter_model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: google/gemma-2b
|
| 3 |
+
library_name: peft
|
| 4 |
+
license: gemma
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
model-index:
|
| 8 |
+
- name: results
|
| 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/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/ridhima-mlds-pict/huggingface/runs/1nwxsoo3)
|
| 16 |
+
# results
|
| 17 |
+
|
| 18 |
+
This model is a fine-tuned version of [google/gemma-2b](https://huggingface.co/google/gemma-2b) on an unknown dataset.
|
| 19 |
+
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 0.4103
|
| 21 |
+
|
| 22 |
+
## Model description
|
| 23 |
+
|
| 24 |
+
More information needed
|
| 25 |
+
|
| 26 |
+
## Intended uses & limitations
|
| 27 |
+
|
| 28 |
+
More information needed
|
| 29 |
+
|
| 30 |
+
## Training and evaluation data
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Training procedure
|
| 35 |
+
|
| 36 |
+
### Training hyperparameters
|
| 37 |
+
|
| 38 |
+
The following hyperparameters were used during training:
|
| 39 |
+
- learning_rate: 5e-05
|
| 40 |
+
- train_batch_size: 8
|
| 41 |
+
- eval_batch_size: 8
|
| 42 |
+
- seed: 42
|
| 43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 44 |
+
- lr_scheduler_type: linear
|
| 45 |
+
- lr_scheduler_warmup_steps: 500
|
| 46 |
+
- num_epochs: 1
|
| 47 |
+
|
| 48 |
+
### Training results
|
| 49 |
+
|
| 50 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 51 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
| 52 |
+
| 0.4342 | 1.0 | 1515 | 0.4103 |
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
### Framework versions
|
| 56 |
+
|
| 57 |
+
- PEFT 0.12.0
|
| 58 |
+
- Transformers 4.42.3
|
| 59 |
+
- Pytorch 2.1.2
|
| 60 |
+
- Datasets 2.20.0
|
| 61 |
+
- Tokenizers 0.19.1
|
adapter_config.json
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "google/gemma-2b",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layer_replication": null,
|
| 10 |
+
"layers_pattern": null,
|
| 11 |
+
"layers_to_transform": null,
|
| 12 |
+
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 32,
|
| 14 |
+
"lora_dropout": 0.1,
|
| 15 |
+
"megatron_config": null,
|
| 16 |
+
"megatron_core": "megatron.core",
|
| 17 |
+
"modules_to_save": [
|
| 18 |
+
"classifier",
|
| 19 |
+
"score"
|
| 20 |
+
],
|
| 21 |
+
"peft_type": "LORA",
|
| 22 |
+
"r": 8,
|
| 23 |
+
"rank_pattern": {},
|
| 24 |
+
"revision": null,
|
| 25 |
+
"target_modules": [
|
| 26 |
+
"model.layers.12.mlp.gate_proj",
|
| 27 |
+
"model.layers.17.self_attn.q_proj",
|
| 28 |
+
"model.layers.0.mlp.down_proj",
|
| 29 |
+
"model.layers.6.self_attn.q_proj",
|
| 30 |
+
"model.layers.14.mlp.up_proj",
|
| 31 |
+
"model.layers.12.self_attn.v_proj",
|
| 32 |
+
"model.layers.8.self_attn.q_proj",
|
| 33 |
+
"model.layers.10.self_attn.k_proj",
|
| 34 |
+
"model.layers.10.mlp.up_proj",
|
| 35 |
+
"model.layers.17.self_attn.v_proj",
|
| 36 |
+
"model.layers.10.self_attn.v_proj",
|
| 37 |
+
"model.layers.11.mlp.up_proj",
|
| 38 |
+
"model.layers.9.self_attn.o_proj",
|
| 39 |
+
"model.layers.9.mlp.down_proj",
|
| 40 |
+
"model.layers.17.mlp.up_proj",
|
| 41 |
+
"model.layers.11.self_attn.v_proj",
|
| 42 |
+
"model.layers.15.mlp.gate_proj",
|
| 43 |
+
"model.layers.2.self_attn.k_proj",
|
| 44 |
+
"model.layers.3.mlp.down_proj",
|
| 45 |
+
"model.layers.5.mlp.gate_proj",
|
| 46 |
+
"model.layers.6.self_attn.k_proj",
|
| 47 |
+
"model.layers.14.self_attn.v_proj",
|
| 48 |
+
"model.layers.2.self_attn.v_proj",
|
| 49 |
+
"model.layers.16.mlp.up_proj",
|
| 50 |
+
"model.layers.13.mlp.up_proj",
|
| 51 |
+
"model.layers.7.self_attn.v_proj",
|
| 52 |
+
"model.layers.7.mlp.up_proj",
|
| 53 |
+
"model.layers.13.self_attn.v_proj",
|
| 54 |
+
"model.layers.8.self_attn.o_proj",
|
| 55 |
+
"model.layers.8.self_attn.v_proj",
|
| 56 |
+
"model.layers.10.self_attn.o_proj",
|
| 57 |
+
"model.layers.4.self_attn.o_proj",
|
| 58 |
+
"model.layers.3.self_attn.k_proj",
|
| 59 |
+
"model.layers.14.self_attn.k_proj",
|
| 60 |
+
"model.layers.16.self_attn.o_proj",
|
| 61 |
+
"model.layers.11.self_attn.q_proj",
|
| 62 |
+
"model.layers.9.mlp.up_proj",
|
| 63 |
+
"model.layers.15.self_attn.k_proj",
|
| 64 |
+
"model.layers.14.self_attn.o_proj",
|
| 65 |
+
"model.layers.3.self_attn.q_proj",
|
| 66 |
+
"model.layers.1.self_attn.v_proj",
|
| 67 |
+
"model.layers.7.self_attn.k_proj",
|
| 68 |
+
"model.layers.8.self_attn.k_proj",
|
| 69 |
+
"model.layers.15.mlp.up_proj",
|
| 70 |
+
"model.layers.0.mlp.gate_proj",
|
| 71 |
+
"model.layers.3.mlp.up_proj",
|
| 72 |
+
"model.layers.1.mlp.gate_proj",
|
| 73 |
+
"model.layers.1.self_attn.o_proj",
|
| 74 |
+
"model.layers.3.mlp.gate_proj",
|
| 75 |
+
"model.layers.4.self_attn.v_proj",
|
| 76 |
+
"model.layers.4.mlp.gate_proj",
|
| 77 |
+
"model.layers.5.self_attn.q_proj",
|
| 78 |
+
"model.layers.2.mlp.down_proj",
|
| 79 |
+
"model.layers.15.self_attn.q_proj",
|
| 80 |
+
"model.layers.16.self_attn.v_proj",
|
| 81 |
+
"model.layers.6.mlp.down_proj",
|
| 82 |
+
"model.layers.2.mlp.up_proj",
|
| 83 |
+
"model.layers.14.self_attn.q_proj",
|
| 84 |
+
"model.layers.11.mlp.down_proj",
|
| 85 |
+
"model.layers.16.self_attn.q_proj",
|
| 86 |
+
"model.layers.0.self_attn.k_proj",
|
| 87 |
+
"model.layers.11.mlp.gate_proj",
|
| 88 |
+
"model.layers.1.mlp.up_proj",
|
| 89 |
+
"model.layers.1.self_attn.k_proj",
|
| 90 |
+
"model.layers.5.self_attn.o_proj",
|
| 91 |
+
"model.layers.0.mlp.up_proj",
|
| 92 |
+
"model.layers.4.mlp.down_proj",
|
| 93 |
+
"model.layers.10.self_attn.q_proj",
|
| 94 |
+
"model.layers.13.self_attn.o_proj",
|
| 95 |
+
"model.layers.11.self_attn.o_proj",
|
| 96 |
+
"model.layers.7.self_attn.o_proj",
|
| 97 |
+
"model.layers.5.self_attn.v_proj",
|
| 98 |
+
"model.layers.10.mlp.gate_proj",
|
| 99 |
+
"model.layers.8.mlp.gate_proj",
|
| 100 |
+
"score",
|
| 101 |
+
"model.layers.1.mlp.down_proj",
|
| 102 |
+
"model.layers.2.self_attn.q_proj",
|
| 103 |
+
"model.layers.17.self_attn.o_proj",
|
| 104 |
+
"model.layers.6.self_attn.o_proj",
|
| 105 |
+
"model.layers.3.self_attn.v_proj",
|
| 106 |
+
"model.layers.9.mlp.gate_proj",
|
| 107 |
+
"model.layers.6.mlp.gate_proj",
|
| 108 |
+
"model.layers.5.mlp.down_proj",
|
| 109 |
+
"model.layers.0.self_attn.o_proj",
|
| 110 |
+
"model.layers.14.mlp.gate_proj",
|
| 111 |
+
"model.layers.16.mlp.down_proj",
|
| 112 |
+
"model.layers.8.mlp.down_proj",
|
| 113 |
+
"model.layers.9.self_attn.q_proj",
|
| 114 |
+
"model.layers.13.self_attn.q_proj",
|
| 115 |
+
"model.layers.17.mlp.down_proj",
|
| 116 |
+
"model.layers.9.self_attn.k_proj",
|
| 117 |
+
"model.layers.7.self_attn.q_proj",
|
| 118 |
+
"model.layers.2.self_attn.o_proj",
|
| 119 |
+
"model.layers.13.self_attn.k_proj",
|
| 120 |
+
"model.layers.12.self_attn.o_proj",
|
| 121 |
+
"model.layers.16.mlp.gate_proj",
|
| 122 |
+
"model.layers.12.self_attn.q_proj",
|
| 123 |
+
"model.layers.0.self_attn.q_proj",
|
| 124 |
+
"model.layers.1.self_attn.q_proj",
|
| 125 |
+
"model.layers.12.mlp.down_proj",
|
| 126 |
+
"model.layers.15.mlp.down_proj",
|
| 127 |
+
"model.layers.8.mlp.up_proj",
|
| 128 |
+
"model.layers.11.self_attn.k_proj",
|
| 129 |
+
"model.layers.4.self_attn.k_proj",
|
| 130 |
+
"model.layers.13.mlp.down_proj",
|
| 131 |
+
"model.layers.6.self_attn.v_proj",
|
| 132 |
+
"model.layers.9.self_attn.v_proj",
|
| 133 |
+
"model.layers.10.mlp.down_proj",
|
| 134 |
+
"model.layers.13.mlp.gate_proj",
|
| 135 |
+
"model.layers.12.mlp.up_proj",
|
| 136 |
+
"model.layers.5.self_attn.k_proj",
|
| 137 |
+
"model.layers.2.mlp.gate_proj",
|
| 138 |
+
"model.layers.6.mlp.up_proj",
|
| 139 |
+
"model.layers.7.mlp.down_proj",
|
| 140 |
+
"model.layers.7.mlp.gate_proj",
|
| 141 |
+
"model.layers.4.mlp.up_proj",
|
| 142 |
+
"model.layers.15.self_attn.o_proj",
|
| 143 |
+
"model.layers.5.mlp.up_proj",
|
| 144 |
+
"model.layers.0.self_attn.v_proj",
|
| 145 |
+
"model.layers.17.self_attn.k_proj",
|
| 146 |
+
"model.layers.16.self_attn.k_proj",
|
| 147 |
+
"model.layers.12.self_attn.k_proj",
|
| 148 |
+
"model.layers.4.self_attn.q_proj",
|
| 149 |
+
"model.layers.14.mlp.down_proj",
|
| 150 |
+
"model.layers.15.self_attn.v_proj",
|
| 151 |
+
"model.layers.3.self_attn.o_proj",
|
| 152 |
+
"model.layers.17.mlp.gate_proj"
|
| 153 |
+
],
|
| 154 |
+
"task_type": "SEQ_CLS",
|
| 155 |
+
"use_dora": false,
|
| 156 |
+
"use_rslora": false
|
| 157 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cf067ad33222468c4c5ef876aca06a3588578d10f95fc20e821ddb1a3a8cfd0a
|
| 3 |
+
size 39478736
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e1c164c89089695ab54ef55ef58a4e259d58fc127a955cb596c54916d5d7db32
|
| 3 |
+
size 5112
|