Instructions to use advy/gemma2-mentalchat16k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use advy/gemma2-mentalchat16k with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/gemma-2b") model = PeftModel.from_pretrained(base_model, "advy/gemma2-mentalchat16k") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 1200, checkpoint
Browse files
last-checkpoint/adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 117703472
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:38a57c35f7811a3b45e090565c52581b427a5ed26fba5ed232a5be3636ab694f
|
| 3 |
size 117703472
|
last-checkpoint/optimizer.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 235551883
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a8a9e5b5edd5b1d8d8c16ffa52ea94fd3f9a83b284025714d6e292416d622f0
|
| 3 |
size 235551883
|
last-checkpoint/rng_state.pth
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 14645
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5de473b4fffbef6f92b24cdab54f1ff2eded2201547cf61abdd5fe284ee3e6be
|
| 3 |
size 14645
|
last-checkpoint/scaler.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1383
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18783150ac09b6b81cea5af47876a10bfe5f36c3d76aca4ffce5382bdfaf7b28
|
| 3 |
size 1383
|
last-checkpoint/scheduler.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1465
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a3a14a661f8ab41b44f9cde9fbcb28fba24f6a3d63fd51db740ba4a5a38164a
|
| 3 |
size 1465
|
last-checkpoint/trainer_state.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
{
|
| 2 |
-
"best_global_step":
|
| 3 |
-
"best_metric": 0.
|
| 4 |
-
"best_model_checkpoint": "./results/gemma2-mentalchat16k/checkpoint-
|
| 5 |
-
"epoch": 1.
|
| 6 |
"eval_steps": 100,
|
| 7 |
-
"global_step":
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
@@ -235,6 +235,50 @@
|
|
| 235 |
"eval_samples_per_second": 12.996,
|
| 236 |
"eval_steps_per_second": 4.35,
|
| 237 |
"step": 1000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 238 |
}
|
| 239 |
],
|
| 240 |
"logging_steps": 50,
|
|
@@ -249,7 +293,7 @@
|
|
| 249 |
"early_stopping_threshold": 0.001
|
| 250 |
},
|
| 251 |
"attributes": {
|
| 252 |
-
"early_stopping_patience_counter":
|
| 253 |
}
|
| 254 |
},
|
| 255 |
"TrainerControl": {
|
|
@@ -263,7 +307,7 @@
|
|
| 263 |
"attributes": {}
|
| 264 |
}
|
| 265 |
},
|
| 266 |
-
"total_flos":
|
| 267 |
"train_batch_size": 3,
|
| 268 |
"trial_name": null,
|
| 269 |
"trial_params": null
|
|
|
|
| 1 |
{
|
| 2 |
+
"best_global_step": 1200,
|
| 3 |
+
"best_metric": 0.8273283243179321,
|
| 4 |
+
"best_model_checkpoint": "./results/gemma2-mentalchat16k/checkpoint-1200",
|
| 5 |
+
"epoch": 1.3454851374088614,
|
| 6 |
"eval_steps": 100,
|
| 7 |
+
"global_step": 1200,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 235 |
"eval_samples_per_second": 12.996,
|
| 236 |
"eval_steps_per_second": 4.35,
|
| 237 |
"step": 1000
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"epoch": 1.1772293886707796,
|
| 241 |
+
"grad_norm": 0.8245181441307068,
|
| 242 |
+
"learning_rate": 0.00016566679328009748,
|
| 243 |
+
"loss": 0.7237,
|
| 244 |
+
"step": 1050
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"epoch": 1.2333146382501403,
|
| 248 |
+
"grad_norm": 0.6625129580497742,
|
| 249 |
+
"learning_rate": 0.00016217642852566256,
|
| 250 |
+
"loss": 0.7422,
|
| 251 |
+
"step": 1100
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"epoch": 1.2333146382501403,
|
| 255 |
+
"eval_loss": 0.8332210183143616,
|
| 256 |
+
"eval_runtime": 36.3249,
|
| 257 |
+
"eval_samples_per_second": 12.994,
|
| 258 |
+
"eval_steps_per_second": 4.35,
|
| 259 |
+
"step": 1100
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"epoch": 1.2893998878295008,
|
| 263 |
+
"grad_norm": 0.7258989810943604,
|
| 264 |
+
"learning_rate": 0.0001585579373382544,
|
| 265 |
+
"loss": 0.7206,
|
| 266 |
+
"step": 1150
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"epoch": 1.3454851374088614,
|
| 270 |
+
"grad_norm": 0.6795271039009094,
|
| 271 |
+
"learning_rate": 0.0001548187763116269,
|
| 272 |
+
"loss": 0.6964,
|
| 273 |
+
"step": 1200
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"epoch": 1.3454851374088614,
|
| 277 |
+
"eval_loss": 0.8273283243179321,
|
| 278 |
+
"eval_runtime": 36.5556,
|
| 279 |
+
"eval_samples_per_second": 12.912,
|
| 280 |
+
"eval_steps_per_second": 4.322,
|
| 281 |
+
"step": 1200
|
| 282 |
}
|
| 283 |
],
|
| 284 |
"logging_steps": 50,
|
|
|
|
| 293 |
"early_stopping_threshold": 0.001
|
| 294 |
},
|
| 295 |
"attributes": {
|
| 296 |
+
"early_stopping_patience_counter": 0
|
| 297 |
}
|
| 298 |
},
|
| 299 |
"TrainerControl": {
|
|
|
|
| 307 |
"attributes": {}
|
| 308 |
}
|
| 309 |
},
|
| 310 |
+
"total_flos": 4.103513221569331e+16,
|
| 311 |
"train_batch_size": 3,
|
| 312 |
"trial_name": null,
|
| 313 |
"trial_params": null
|