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 4, 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:eb9f3adbb63e4b1613228aa2800c702792b9b21d38a7979ad5b70fd70f479b66
|
| 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 4741923
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c551079af7c958cae003e73c0e71a7c5d3a7c28257cd110921e81ef7cf52e1c
|
| 3 |
size 4741923
|
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:d2d553173fafc1568aba563e8b2ebc65b521fc7ac5272baf9b3276c61a1b3955
|
| 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:0635f5ee8287266c95252541d63a4925053f9e404f1dbe420921c5ed9e5141ff
|
| 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:92fc37e37e0b888ef62e0325f1183d633f1932258d154ae97aef1f17c6ac55b8
|
| 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,
|
|
@@ -60,6 +60,28 @@
|
|
| 60 |
"eval_samples_per_second": 59.846,
|
| 61 |
"eval_steps_per_second": 1.872,
|
| 62 |
"step": 2346
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
}
|
| 64 |
],
|
| 65 |
"logging_steps": 500,
|
|
@@ -79,7 +101,7 @@
|
|
| 79 |
"attributes": {}
|
| 80 |
}
|
| 81 |
},
|
| 82 |
-
"total_flos":
|
| 83 |
"train_batch_size": 32,
|
| 84 |
"trial_name": null,
|
| 85 |
"trial_params": null
|
|
|
|
| 1 |
{
|
| 2 |
+
"best_global_step": 3128,
|
| 3 |
+
"best_metric": 0.6839827299118042,
|
| 4 |
+
"best_model_checkpoint": "./bert-imdb-cp/checkpoint-3128",
|
| 5 |
+
"epoch": 4.0,
|
| 6 |
"eval_steps": 500,
|
| 7 |
+
"global_step": 3128,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 60 |
"eval_samples_per_second": 59.846,
|
| 61 |
"eval_steps_per_second": 1.872,
|
| 62 |
"step": 2346
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"epoch": 3.1969309462915603,
|
| 66 |
+
"grad_norm": 3.621079683303833,
|
| 67 |
+
"learning_rate": 7.217391304347827e-06,
|
| 68 |
+
"loss": 0.735134765625,
|
| 69 |
+
"step": 2500
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"epoch": 3.836317135549872,
|
| 73 |
+
"grad_norm": 3.455075979232788,
|
| 74 |
+
"learning_rate": 4.659846547314578e-06,
|
| 75 |
+
"loss": 0.7347869262695312,
|
| 76 |
+
"step": 3000
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"epoch": 4.0,
|
| 80 |
+
"eval_loss": 0.6839827299118042,
|
| 81 |
+
"eval_runtime": 417.6818,
|
| 82 |
+
"eval_samples_per_second": 59.854,
|
| 83 |
+
"eval_steps_per_second": 1.872,
|
| 84 |
+
"step": 3128
|
| 85 |
}
|
| 86 |
],
|
| 87 |
"logging_steps": 500,
|
|
|
|
| 101 |
"attributes": {}
|
| 102 |
}
|
| 103 |
},
|
| 104 |
+
"total_flos": 2.63008072048488e+16,
|
| 105 |
"train_batch_size": 32,
|
| 106 |
"trial_name": null,
|
| 107 |
"trial_params": null
|