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 3, 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:51d797ff01f1fd3309ceb5fc8260f2ecf04aedbbeb1a79ee7fe2bb07661397a3
|
| 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:dc64b9b0d3c14bceb03ffc28596bf3b9b531e18554fd42268cf9f632e6f41a4a
|
| 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:443b873fa0b8ac2f8ed37dd9058b435b4499662fdb680f826154879e6d39e07b
|
| 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:892ebb3c022962376ff6204813305ef50eeeaf887a8e7724c977df8a91a627b6
|
| 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:8339cf9263254706ceb68449b256ba0478aa77f160333d61186b08aa24621c61
|
| 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,
|
|
@@ -45,6 +45,21 @@
|
|
| 45 |
"eval_samples_per_second": 53.767,
|
| 46 |
"eval_steps_per_second": 1.682,
|
| 47 |
"step": 1564
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
}
|
| 49 |
],
|
| 50 |
"logging_steps": 500,
|
|
@@ -64,7 +79,7 @@
|
|
| 64 |
"attributes": {}
|
| 65 |
}
|
| 66 |
},
|
| 67 |
-
"total_flos": 1.
|
| 68 |
"train_batch_size": 32,
|
| 69 |
"trial_name": null,
|
| 70 |
"trial_params": null
|
|
|
|
| 1 |
{
|
| 2 |
+
"best_global_step": 2346,
|
| 3 |
+
"best_metric": 0.38437092304229736,
|
| 4 |
+
"best_model_checkpoint": "./bert-imdb-cp/checkpoint-2346",
|
| 5 |
+
"epoch": 3.0,
|
| 6 |
"eval_steps": 500,
|
| 7 |
+
"global_step": 2346,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 45 |
"eval_samples_per_second": 53.767,
|
| 46 |
"eval_steps_per_second": 1.682,
|
| 47 |
"step": 1564
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"epoch": 2.557544757033248,
|
| 51 |
+
"grad_norm": 8.241482734680176,
|
| 52 |
+
"learning_rate": 9.774936061381075e-06,
|
| 53 |
+
"loss": 0.4035787048339844,
|
| 54 |
+
"step": 2000
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"epoch": 3.0,
|
| 58 |
+
"eval_loss": 0.38437092304229736,
|
| 59 |
+
"eval_runtime": 464.6093,
|
| 60 |
+
"eval_samples_per_second": 53.809,
|
| 61 |
+
"eval_steps_per_second": 1.683,
|
| 62 |
+
"step": 2346
|
| 63 |
}
|
| 64 |
],
|
| 65 |
"logging_steps": 500,
|
|
|
|
| 79 |
"attributes": {}
|
| 80 |
}
|
| 81 |
},
|
| 82 |
+
"total_flos": 1.972536593146512e+16,
|
| 83 |
"train_batch_size": 32,
|
| 84 |
"trial_name": null,
|
| 85 |
"trial_params": null
|