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 1600, 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:b782ebafc8e6cb19061ffbb1ec2c151143b04565b732b565ee41a92e72970680
|
| 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 235551418
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:54a5ec68391a2c2245b99e71a3c650e63ab98afc0d65cfcb47ac4bedfc8d7ecb
|
| 3 |
size 235551418
|
last-checkpoint/rng_state.pth
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 14244
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dac0c3eff3d96bde71b282d0f80a8ed4922a9e27c5d07f40926a2bfa602e369c
|
| 3 |
size 14244
|
last-checkpoint/scheduler.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1064
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13135b3f5a7f2b2436338dfbd6dbf57bc1066083149923dd94d90d01f9763110
|
| 3 |
size 1064
|
last-checkpoint/trainer_state.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
{
|
| 2 |
-
"best_metric": 0.
|
| 3 |
-
"best_model_checkpoint": "./results/gemma2-mentalchat16k/checkpoint-
|
| 4 |
-
"epoch": 1.
|
| 5 |
"eval_steps": 100,
|
| 6 |
-
"global_step":
|
| 7 |
"is_hyper_param_search": false,
|
| 8 |
"is_local_process_zero": true,
|
| 9 |
"is_world_process_zero": true,
|
|
@@ -322,6 +322,50 @@
|
|
| 322 |
"eval_samples_per_second": 12.791,
|
| 323 |
"eval_steps_per_second": 4.282,
|
| 324 |
"step": 1400
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 325 |
}
|
| 326 |
],
|
| 327 |
"logging_steps": 50,
|
|
@@ -350,7 +394,7 @@
|
|
| 350 |
"attributes": {}
|
| 351 |
}
|
| 352 |
},
|
| 353 |
-
"total_flos":
|
| 354 |
"train_batch_size": 3,
|
| 355 |
"trial_name": null,
|
| 356 |
"trial_params": null
|
|
|
|
| 1 |
{
|
| 2 |
+
"best_metric": 0.807109534740448,
|
| 3 |
+
"best_model_checkpoint": "./results/gemma2-mentalchat16k/checkpoint-1600",
|
| 4 |
+
"epoch": 1.7947279865395402,
|
| 5 |
"eval_steps": 100,
|
| 6 |
+
"global_step": 1600,
|
| 7 |
"is_hyper_param_search": false,
|
| 8 |
"is_local_process_zero": true,
|
| 9 |
"is_world_process_zero": true,
|
|
|
|
| 322 |
"eval_samples_per_second": 12.791,
|
| 323 |
"eval_steps_per_second": 4.282,
|
| 324 |
"step": 1400
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"epoch": 1.6264722378014582,
|
| 328 |
+
"grad_norm": 0.7774291634559631,
|
| 329 |
+
"learning_rate": 0.0001343205922805666,
|
| 330 |
+
"loss": 0.7136,
|
| 331 |
+
"step": 1450
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"epoch": 1.682557487380819,
|
| 335 |
+
"grad_norm": 0.7396852970123291,
|
| 336 |
+
"learning_rate": 0.00013001881413137985,
|
| 337 |
+
"loss": 0.7117,
|
| 338 |
+
"step": 1500
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"epoch": 1.682557487380819,
|
| 342 |
+
"eval_loss": 0.8104116320610046,
|
| 343 |
+
"eval_runtime": 36.9104,
|
| 344 |
+
"eval_samples_per_second": 12.788,
|
| 345 |
+
"eval_steps_per_second": 4.281,
|
| 346 |
+
"step": 1500
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"epoch": 1.7386427369601796,
|
| 350 |
+
"grad_norm": 0.6300919651985168,
|
| 351 |
+
"learning_rate": 0.0001256550690773589,
|
| 352 |
+
"loss": 0.6938,
|
| 353 |
+
"step": 1550
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"epoch": 1.7947279865395402,
|
| 357 |
+
"grad_norm": 0.6599781513214111,
|
| 358 |
+
"learning_rate": 0.00012123836506176553,
|
| 359 |
+
"loss": 0.6887,
|
| 360 |
+
"step": 1600
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"epoch": 1.7947279865395402,
|
| 364 |
+
"eval_loss": 0.807109534740448,
|
| 365 |
+
"eval_runtime": 36.8962,
|
| 366 |
+
"eval_samples_per_second": 12.793,
|
| 367 |
+
"eval_steps_per_second": 4.282,
|
| 368 |
+
"step": 1600
|
| 369 |
}
|
| 370 |
],
|
| 371 |
"logging_steps": 50,
|
|
|
|
| 394 |
"attributes": {}
|
| 395 |
}
|
| 396 |
},
|
| 397 |
+
"total_flos": 5.466022218870374e+16,
|
| 398 |
"train_batch_size": 3,
|
| 399 |
"trial_name": null,
|
| 400 |
"trial_params": null
|