Instructions to use Shaer-AI/ARBERT-base-submeter-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Shaer-AI/ARBERT-base-submeter-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Shaer-AI/ARBERT-base-submeter-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Shaer-AI/ARBERT-base-submeter-classifier") model = AutoModelForSequenceClassification.from_pretrained("Shaer-AI/ARBERT-base-submeter-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 3000, 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 651465828
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd2e265c793d5d97135c35fda96708ac8d0a12e4428a42ac61b29a23301ad916
|
| 3 |
size 651465828
|
last-checkpoint/optimizer.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1303053067
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8f7fef778553d645b4eb1349e7d8eb755f0341568762587b35f7728c68f27f4
|
| 3 |
size 1303053067
|
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:0e8ba250a1ab8923f95945e479ace2a792132acdf18e15ed69045fbbe37db523
|
| 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:5ac1c46a2776d12775d23d0f587efc112188137ce2140da35bc15d301c9f620e
|
| 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:103bd8c7f892070840bf85274593feba516ca2e00f4f3e47c97c1b892fc9bcc0
|
| 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": "/kaggle/working/arbert_submeter_training/checkpoints/checkpoint-
|
| 5 |
-
"epoch": 0.
|
| 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,
|
|
@@ -98,6 +98,24 @@
|
|
| 98 |
"eval_steps_per_second": 3.451,
|
| 99 |
"eval_weighted_f1": 0.9356836777939385,
|
| 100 |
"step": 2500
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 101 |
}
|
| 102 |
],
|
| 103 |
"logging_steps": 500,
|
|
@@ -117,7 +135,7 @@
|
|
| 117 |
"attributes": {}
|
| 118 |
}
|
| 119 |
},
|
| 120 |
-
"total_flos": 1.
|
| 121 |
"train_batch_size": 128,
|
| 122 |
"trial_name": null,
|
| 123 |
"trial_params": null
|
|
|
|
| 1 |
{
|
| 2 |
+
"best_global_step": 3000,
|
| 3 |
+
"best_metric": 0.947972972972973,
|
| 4 |
+
"best_model_checkpoint": "/kaggle/working/arbert_submeter_training/checkpoints/checkpoint-3000",
|
| 5 |
+
"epoch": 0.5188964801522097,
|
| 6 |
"eval_steps": 500,
|
| 7 |
+
"global_step": 3000,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 98 |
"eval_steps_per_second": 3.451,
|
| 99 |
"eval_weighted_f1": 0.9356836777939385,
|
| 100 |
"step": 2500
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"epoch": 0.5188964801522097,
|
| 104 |
+
"grad_norm": 7.528863906860352,
|
| 105 |
+
"learning_rate": 4.135535570160268e-05,
|
| 106 |
+
"loss": 0.2168,
|
| 107 |
+
"step": 3000
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"epoch": 0.5188964801522097,
|
| 111 |
+
"eval_accuracy": 0.947972972972973,
|
| 112 |
+
"eval_loss": 0.1820368617773056,
|
| 113 |
+
"eval_macro_f1": 0.5299222018041627,
|
| 114 |
+
"eval_runtime": 418.5666,
|
| 115 |
+
"eval_samples_per_second": 883.969,
|
| 116 |
+
"eval_steps_per_second": 3.455,
|
| 117 |
+
"eval_weighted_f1": 0.9417715175152749,
|
| 118 |
+
"step": 3000
|
| 119 |
}
|
| 120 |
],
|
| 121 |
"logging_steps": 500,
|
|
|
|
| 135 |
"attributes": {}
|
| 136 |
}
|
| 137 |
},
|
| 138 |
+
"total_flos": 1.2631938711552e+16,
|
| 139 |
"train_batch_size": 128,
|
| 140 |
"trial_name": null,
|
| 141 |
"trial_params": null
|