ridhimamlds
commited on
Commit
•
e6e340a
1
Parent(s):
287df48
End of training
Browse files- README.md +69 -0
- adapter_config.json +213 -0
- adapter_model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: google/gemma-2-2b
|
3 |
+
library_name: peft
|
4 |
+
license: gemma
|
5 |
+
metrics:
|
6 |
+
- accuracy
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
+
- f1
|
10 |
+
tags:
|
11 |
+
- generated_from_trainer
|
12 |
+
model-index:
|
13 |
+
- name: seqcls-hate-4
|
14 |
+
results: []
|
15 |
+
---
|
16 |
+
|
17 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
18 |
+
should probably proofread and complete it, then remove this comment. -->
|
19 |
+
|
20 |
+
# seqcls-hate-4
|
21 |
+
|
22 |
+
This model is a fine-tuned version of [google/gemma-2-2b](https://huggingface.co/google/gemma-2-2b) on an unknown dataset.
|
23 |
+
It achieves the following results on the evaluation set:
|
24 |
+
- Loss: nan
|
25 |
+
- Accuracy: 0.25
|
26 |
+
- Precision: 0.0625
|
27 |
+
- Recall: 0.25
|
28 |
+
- F1: 0.1
|
29 |
+
|
30 |
+
## Model description
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Intended uses & limitations
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training and evaluation data
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Training procedure
|
43 |
+
|
44 |
+
### Training hyperparameters
|
45 |
+
|
46 |
+
The following hyperparameters were used during training:
|
47 |
+
- learning_rate: 5e-05
|
48 |
+
- train_batch_size: 4
|
49 |
+
- eval_batch_size: 4
|
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: 500
|
54 |
+
- num_epochs: 1
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
59 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:---:|
|
60 |
+
| 0.0 | 1.0 | 5375 | nan | 0.25 | 0.0625 | 0.25 | 0.1 |
|
61 |
+
|
62 |
+
|
63 |
+
### Framework versions
|
64 |
+
|
65 |
+
- PEFT 0.12.0
|
66 |
+
- Transformers 4.44.0
|
67 |
+
- Pytorch 2.4.0
|
68 |
+
- Datasets 2.21.0
|
69 |
+
- Tokenizers 0.19.1
|
adapter_config.json
ADDED
@@ -0,0 +1,213 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "google/gemma-2-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.21.self_attn.q_proj",
|
27 |
+
"model.layers.13.self_attn.v_proj",
|
28 |
+
"model.layers.18.mlp.down_proj",
|
29 |
+
"model.layers.10.mlp.down_proj",
|
30 |
+
"model.layers.14.self_attn.q_proj",
|
31 |
+
"model.layers.19.self_attn.v_proj",
|
32 |
+
"model.layers.7.mlp.up_proj",
|
33 |
+
"model.layers.25.mlp.up_proj",
|
34 |
+
"model.layers.16.self_attn.k_proj",
|
35 |
+
"model.layers.7.mlp.down_proj",
|
36 |
+
"model.layers.12.mlp.down_proj",
|
37 |
+
"model.layers.15.self_attn.q_proj",
|
38 |
+
"model.layers.6.mlp.up_proj",
|
39 |
+
"model.layers.15.self_attn.v_proj",
|
40 |
+
"model.layers.20.self_attn.v_proj",
|
41 |
+
"model.layers.5.self_attn.q_proj",
|
42 |
+
"model.layers.0.mlp.down_proj",
|
43 |
+
"model.layers.12.self_attn.v_proj",
|
44 |
+
"model.layers.3.self_attn.o_proj",
|
45 |
+
"model.layers.1.self_attn.q_proj",
|
46 |
+
"model.layers.25.self_attn.q_proj",
|
47 |
+
"model.layers.1.self_attn.v_proj",
|
48 |
+
"model.layers.2.self_attn.q_proj",
|
49 |
+
"model.layers.12.self_attn.q_proj",
|
50 |
+
"model.layers.3.self_attn.k_proj",
|
51 |
+
"model.layers.25.self_attn.o_proj",
|
52 |
+
"model.layers.10.self_attn.v_proj",
|
53 |
+
"model.layers.4.self_attn.v_proj",
|
54 |
+
"model.layers.22.mlp.down_proj",
|
55 |
+
"model.layers.2.mlp.gate_proj",
|
56 |
+
"model.layers.20.mlp.up_proj",
|
57 |
+
"model.layers.23.mlp.gate_proj",
|
58 |
+
"model.layers.24.mlp.down_proj",
|
59 |
+
"model.layers.10.self_attn.q_proj",
|
60 |
+
"model.layers.7.self_attn.k_proj",
|
61 |
+
"model.layers.5.mlp.gate_proj",
|
62 |
+
"model.layers.6.mlp.gate_proj",
|
63 |
+
"model.layers.16.self_attn.o_proj",
|
64 |
+
"model.layers.24.mlp.gate_proj",
|
65 |
+
"model.layers.7.self_attn.v_proj",
|
66 |
+
"model.layers.17.self_attn.q_proj",
|
67 |
+
"model.layers.18.self_attn.o_proj",
|
68 |
+
"model.layers.21.mlp.up_proj",
|
69 |
+
"model.layers.20.self_attn.o_proj",
|
70 |
+
"model.layers.17.self_attn.k_proj",
|
71 |
+
"model.layers.8.mlp.gate_proj",
|
72 |
+
"model.layers.2.self_attn.v_proj",
|
73 |
+
"model.layers.2.self_attn.o_proj",
|
74 |
+
"model.layers.19.self_attn.k_proj",
|
75 |
+
"model.layers.3.self_attn.v_proj",
|
76 |
+
"model.layers.0.self_attn.o_proj",
|
77 |
+
"model.layers.23.mlp.up_proj",
|
78 |
+
"model.layers.14.mlp.gate_proj",
|
79 |
+
"model.layers.20.self_attn.k_proj",
|
80 |
+
"model.layers.15.mlp.gate_proj",
|
81 |
+
"model.layers.11.self_attn.k_proj",
|
82 |
+
"model.layers.24.self_attn.o_proj",
|
83 |
+
"model.layers.6.self_attn.q_proj",
|
84 |
+
"model.layers.12.mlp.gate_proj",
|
85 |
+
"model.layers.13.mlp.up_proj",
|
86 |
+
"model.layers.24.self_attn.q_proj",
|
87 |
+
"model.layers.21.self_attn.v_proj",
|
88 |
+
"model.layers.8.self_attn.v_proj",
|
89 |
+
"model.layers.0.self_attn.q_proj",
|
90 |
+
"model.layers.19.self_attn.o_proj",
|
91 |
+
"model.layers.25.mlp.gate_proj",
|
92 |
+
"model.layers.13.self_attn.k_proj",
|
93 |
+
"model.layers.18.mlp.gate_proj",
|
94 |
+
"model.layers.1.mlp.down_proj",
|
95 |
+
"model.layers.1.self_attn.k_proj",
|
96 |
+
"model.layers.19.mlp.gate_proj",
|
97 |
+
"model.layers.4.self_attn.k_proj",
|
98 |
+
"model.layers.16.mlp.down_proj",
|
99 |
+
"model.layers.11.mlp.up_proj",
|
100 |
+
"model.layers.21.mlp.down_proj",
|
101 |
+
"model.layers.11.mlp.gate_proj",
|
102 |
+
"model.layers.18.self_attn.k_proj",
|
103 |
+
"model.layers.21.mlp.gate_proj",
|
104 |
+
"model.layers.5.mlp.up_proj",
|
105 |
+
"model.layers.17.mlp.down_proj",
|
106 |
+
"score",
|
107 |
+
"model.layers.0.self_attn.k_proj",
|
108 |
+
"model.layers.15.mlp.down_proj",
|
109 |
+
"model.layers.19.mlp.up_proj",
|
110 |
+
"model.layers.5.self_attn.o_proj",
|
111 |
+
"model.layers.22.mlp.up_proj",
|
112 |
+
"model.layers.7.self_attn.o_proj",
|
113 |
+
"model.layers.6.self_attn.k_proj",
|
114 |
+
"model.layers.14.mlp.down_proj",
|
115 |
+
"model.layers.14.self_attn.v_proj",
|
116 |
+
"model.layers.10.self_attn.o_proj",
|
117 |
+
"model.layers.9.self_attn.k_proj",
|
118 |
+
"model.layers.17.self_attn.v_proj",
|
119 |
+
"model.layers.8.self_attn.o_proj",
|
120 |
+
"model.layers.4.mlp.gate_proj",
|
121 |
+
"model.layers.4.mlp.up_proj",
|
122 |
+
"model.layers.20.self_attn.q_proj",
|
123 |
+
"model.layers.25.mlp.down_proj",
|
124 |
+
"model.layers.3.self_attn.q_proj",
|
125 |
+
"model.layers.6.mlp.down_proj",
|
126 |
+
"model.layers.1.mlp.gate_proj",
|
127 |
+
"model.layers.8.mlp.up_proj",
|
128 |
+
"model.layers.16.mlp.up_proj",
|
129 |
+
"model.layers.10.mlp.up_proj",
|
130 |
+
"model.layers.14.self_attn.o_proj",
|
131 |
+
"model.layers.23.self_attn.v_proj",
|
132 |
+
"model.layers.0.mlp.up_proj",
|
133 |
+
"model.layers.4.self_attn.o_proj",
|
134 |
+
"model.layers.3.mlp.up_proj",
|
135 |
+
"model.layers.12.mlp.up_proj",
|
136 |
+
"model.layers.24.mlp.up_proj",
|
137 |
+
"model.layers.3.mlp.down_proj",
|
138 |
+
"model.layers.1.mlp.up_proj",
|
139 |
+
"model.layers.16.mlp.gate_proj",
|
140 |
+
"model.layers.22.self_attn.v_proj",
|
141 |
+
"model.layers.8.self_attn.k_proj",
|
142 |
+
"model.layers.9.self_attn.q_proj",
|
143 |
+
"model.layers.1.self_attn.o_proj",
|
144 |
+
"model.layers.16.self_attn.q_proj",
|
145 |
+
"model.layers.20.mlp.down_proj",
|
146 |
+
"model.layers.5.self_attn.v_proj",
|
147 |
+
"model.layers.7.self_attn.q_proj",
|
148 |
+
"model.layers.14.self_attn.k_proj",
|
149 |
+
"model.layers.22.mlp.gate_proj",
|
150 |
+
"model.layers.9.self_attn.o_proj",
|
151 |
+
"model.layers.0.mlp.gate_proj",
|
152 |
+
"model.layers.7.mlp.gate_proj",
|
153 |
+
"model.layers.13.mlp.gate_proj",
|
154 |
+
"model.layers.12.self_attn.o_proj",
|
155 |
+
"model.layers.17.mlp.gate_proj",
|
156 |
+
"model.layers.15.mlp.up_proj",
|
157 |
+
"model.layers.2.mlp.up_proj",
|
158 |
+
"model.layers.2.self_attn.k_proj",
|
159 |
+
"model.layers.20.mlp.gate_proj",
|
160 |
+
"model.layers.9.mlp.down_proj",
|
161 |
+
"model.layers.21.self_attn.k_proj",
|
162 |
+
"model.layers.16.self_attn.v_proj",
|
163 |
+
"model.layers.18.self_attn.q_proj",
|
164 |
+
"model.layers.15.self_attn.o_proj",
|
165 |
+
"model.layers.9.mlp.up_proj",
|
166 |
+
"model.layers.8.self_attn.q_proj",
|
167 |
+
"model.layers.4.mlp.down_proj",
|
168 |
+
"model.layers.8.mlp.down_proj",
|
169 |
+
"model.layers.15.self_attn.k_proj",
|
170 |
+
"model.layers.23.self_attn.q_proj",
|
171 |
+
"model.layers.25.self_attn.v_proj",
|
172 |
+
"model.layers.9.self_attn.v_proj",
|
173 |
+
"model.layers.22.self_attn.k_proj",
|
174 |
+
"model.layers.21.self_attn.o_proj",
|
175 |
+
"model.layers.18.mlp.up_proj",
|
176 |
+
"model.layers.18.self_attn.v_proj",
|
177 |
+
"model.layers.11.self_attn.v_proj",
|
178 |
+
"model.layers.3.mlp.gate_proj",
|
179 |
+
"model.layers.6.self_attn.o_proj",
|
180 |
+
"model.layers.25.self_attn.k_proj",
|
181 |
+
"model.layers.0.self_attn.v_proj",
|
182 |
+
"model.layers.2.mlp.down_proj",
|
183 |
+
"model.layers.10.mlp.gate_proj",
|
184 |
+
"model.layers.14.mlp.up_proj",
|
185 |
+
"model.layers.22.self_attn.q_proj",
|
186 |
+
"model.layers.11.self_attn.o_proj",
|
187 |
+
"model.layers.13.self_attn.q_proj",
|
188 |
+
"model.layers.5.mlp.down_proj",
|
189 |
+
"model.layers.13.mlp.down_proj",
|
190 |
+
"model.layers.17.self_attn.o_proj",
|
191 |
+
"model.layers.11.mlp.down_proj",
|
192 |
+
"model.layers.5.self_attn.k_proj",
|
193 |
+
"model.layers.23.self_attn.k_proj",
|
194 |
+
"model.layers.23.self_attn.o_proj",
|
195 |
+
"model.layers.4.self_attn.q_proj",
|
196 |
+
"model.layers.13.self_attn.o_proj",
|
197 |
+
"model.layers.17.mlp.up_proj",
|
198 |
+
"model.layers.9.mlp.gate_proj",
|
199 |
+
"model.layers.22.self_attn.o_proj",
|
200 |
+
"model.layers.10.self_attn.k_proj",
|
201 |
+
"model.layers.12.self_attn.k_proj",
|
202 |
+
"model.layers.11.self_attn.q_proj",
|
203 |
+
"model.layers.19.self_attn.q_proj",
|
204 |
+
"model.layers.23.mlp.down_proj",
|
205 |
+
"model.layers.19.mlp.down_proj",
|
206 |
+
"model.layers.24.self_attn.v_proj",
|
207 |
+
"model.layers.6.self_attn.v_proj",
|
208 |
+
"model.layers.24.self_attn.k_proj"
|
209 |
+
],
|
210 |
+
"task_type": "SEQ_CLS",
|
211 |
+
"use_dora": false,
|
212 |
+
"use_rslora": false
|
213 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e7facd6b9535f88843034d67575f685affb1deb3f9c6be8bb2745e5bfe29e96e
|
3 |
+
size 41840600
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cbc2e2cbc7f94cefd033460e443e9482e298437e1acec13267ab13a779ddae5f
|
3 |
+
size 5176
|