Instructions to use harsith05/imdb_practice with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use harsith05/imdb_practice with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="harsith05/imdb_practice")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("harsith05/imdb_practice") model = AutoModelForSequenceClassification.from_pretrained("harsith05/imdb_practice", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 2, checkpoint
Browse files
last-checkpoint/model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 437958624
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c17889f4429a43a5a0a4d569909ac577582a885c693d0236337e042289408a8a
|
| 3 |
size 437958624
|
last-checkpoint/optimizer.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 113448011
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69b1649f3264bda47e5bbbe75576d81db33ff4754130670de728c70f06143143
|
| 3 |
size 113448011
|
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:32d162a27fed25729344a2bcfc01d466b3fce9828a651acf58597c5f5fce3339
|
| 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:55a14f50074c8ada78f60d77af81976ea4a319a828807b0fe7148cf20eea9f51
|
| 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:c14d00f72886e8ec8d937b16720d48c02e9423351bcc4d3bf797290ffccd4584
|
| 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": "./bert-imdb-cp/checkpoint-
|
| 5 |
-
"epoch":
|
| 6 |
"eval_steps": 500,
|
| 7 |
-
"global_step":
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
@@ -23,6 +23,28 @@
|
|
| 23 |
"eval_samples_per_second": 53.71,
|
| 24 |
"eval_steps_per_second": 1.68,
|
| 25 |
"step": 782
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
}
|
| 27 |
],
|
| 28 |
"logging_steps": 500,
|
|
@@ -42,7 +64,7 @@
|
|
| 42 |
"attributes": {}
|
| 43 |
}
|
| 44 |
},
|
| 45 |
-
"total_flos":
|
| 46 |
"train_batch_size": 32,
|
| 47 |
"trial_name": null,
|
| 48 |
"trial_params": null
|
|
|
|
| 1 |
{
|
| 2 |
+
"best_global_step": 1564,
|
| 3 |
+
"best_metric": 0.39844831824302673,
|
| 4 |
+
"best_model_checkpoint": "./bert-imdb-cp/checkpoint-1564",
|
| 5 |
+
"epoch": 2.0,
|
| 6 |
"eval_steps": 500,
|
| 7 |
+
"global_step": 1564,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 23 |
"eval_samples_per_second": 53.71,
|
| 24 |
"eval_steps_per_second": 1.68,
|
| 25 |
"step": 782
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"epoch": 1.278772378516624,
|
| 29 |
+
"grad_norm": 2.6754071712493896,
|
| 30 |
+
"learning_rate": 1.489002557544757e-05,
|
| 31 |
+
"loss": 0.4587330322265625,
|
| 32 |
+
"step": 1000
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"epoch": 1.918158567774936,
|
| 36 |
+
"grad_norm": 5.257985591888428,
|
| 37 |
+
"learning_rate": 1.2332480818414323e-05,
|
| 38 |
+
"loss": 0.42192544555664063,
|
| 39 |
+
"step": 1500
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"epoch": 2.0,
|
| 43 |
+
"eval_loss": 0.39844831824302673,
|
| 44 |
+
"eval_runtime": 464.9715,
|
| 45 |
+
"eval_samples_per_second": 53.767,
|
| 46 |
+
"eval_steps_per_second": 1.682,
|
| 47 |
+
"step": 1564
|
| 48 |
}
|
| 49 |
],
|
| 50 |
"logging_steps": 500,
|
|
|
|
| 64 |
"attributes": {}
|
| 65 |
}
|
| 66 |
},
|
| 67 |
+
"total_flos": 1.314943543596288e+16,
|
| 68 |
"train_batch_size": 32,
|
| 69 |
"trial_name": null,
|
| 70 |
"trial_params": null
|