Iiro/bert_reviews
Browse files- README.md +10 -46
- pytorch_model.bin +1 -1
README.md
CHANGED
|
@@ -1,28 +1,13 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
-
base_model:
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
| 6 |
datasets:
|
| 7 |
- amazon_reviews_multi
|
| 8 |
-
metrics:
|
| 9 |
-
- accuracy
|
| 10 |
model-index:
|
| 11 |
- name: bert_reviews
|
| 12 |
-
results:
|
| 13 |
-
- task:
|
| 14 |
-
name: Text Classification
|
| 15 |
-
type: text-classification
|
| 16 |
-
dataset:
|
| 17 |
-
name: amazon_reviews_multi
|
| 18 |
-
type: amazon_reviews_multi
|
| 19 |
-
config: en
|
| 20 |
-
split: test
|
| 21 |
-
args: en
|
| 22 |
-
metrics:
|
| 23 |
-
- name: Accuracy
|
| 24 |
-
type: accuracy
|
| 25 |
-
value: 0.6062
|
| 26 |
---
|
| 27 |
|
| 28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -30,10 +15,15 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 30 |
|
| 31 |
# bert_reviews
|
| 32 |
|
| 33 |
-
This model is a fine-tuned version of [
|
| 34 |
It achieves the following results on the evaluation set:
|
| 35 |
-
-
|
| 36 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
## Model description
|
| 39 |
|
|
@@ -60,32 +50,6 @@ The following hyperparameters were used during training:
|
|
| 60 |
- lr_scheduler_type: linear
|
| 61 |
- training_steps: 20000
|
| 62 |
|
| 63 |
-
### Training results
|
| 64 |
-
|
| 65 |
-
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 66 |
-
|:-------------:|:-----:|:-----:|:---------------:|:--------:|
|
| 67 |
-
| 0.8812 | 0.04 | 1000 | 0.9970 | 0.5738 |
|
| 68 |
-
| 0.8495 | 0.08 | 2000 | 1.0120 | 0.569 |
|
| 69 |
-
| 0.8067 | 0.12 | 3000 | 1.0442 | 0.5766 |
|
| 70 |
-
| 0.7934 | 0.16 | 4000 | 1.0629 | 0.5772 |
|
| 71 |
-
| 0.7845 | 0.2 | 5000 | 1.0236 | 0.5876 |
|
| 72 |
-
| 0.9033 | 0.24 | 6000 | 0.9822 | 0.5774 |
|
| 73 |
-
| 0.8993 | 0.28 | 7000 | 0.9693 | 0.5816 |
|
| 74 |
-
| 0.9012 | 0.32 | 8000 | 1.0075 | 0.5738 |
|
| 75 |
-
| 0.873 | 0.36 | 9000 | 0.9663 | 0.5886 |
|
| 76 |
-
| 0.9376 | 0.4 | 10000 | 0.9447 | 0.5816 |
|
| 77 |
-
| 0.9398 | 0.44 | 11000 | 0.9509 | 0.5802 |
|
| 78 |
-
| 0.9402 | 0.48 | 12000 | 0.9561 | 0.5916 |
|
| 79 |
-
| 0.9247 | 0.52 | 13000 | 0.9303 | 0.6008 |
|
| 80 |
-
| 0.9247 | 0.56 | 14000 | 0.9241 | 0.5998 |
|
| 81 |
-
| 0.9192 | 0.6 | 15000 | 0.9276 | 0.6104 |
|
| 82 |
-
| 0.907 | 0.64 | 16000 | 0.9251 | 0.603 |
|
| 83 |
-
| 0.9177 | 0.68 | 17000 | 0.9198 | 0.6056 |
|
| 84 |
-
| 0.9129 | 0.72 | 18000 | 0.9167 | 0.6078 |
|
| 85 |
-
| 0.8948 | 0.76 | 19000 | 0.9213 | 0.604 |
|
| 86 |
-
| 0.906 | 0.8 | 20000 | 0.9204 | 0.6062 |
|
| 87 |
-
|
| 88 |
-
|
| 89 |
### Framework versions
|
| 90 |
|
| 91 |
- Transformers 4.34.1
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
base_model: bert-base-cased
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
| 6 |
datasets:
|
| 7 |
- amazon_reviews_multi
|
|
|
|
|
|
|
| 8 |
model-index:
|
| 9 |
- name: bert_reviews
|
| 10 |
+
results: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 15 |
|
| 16 |
# bert_reviews
|
| 17 |
|
| 18 |
+
This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on the amazon_reviews_multi dataset.
|
| 19 |
It achieves the following results on the evaluation set:
|
| 20 |
+
- eval_loss: 0.8063
|
| 21 |
+
- eval_accuracy: 0.647
|
| 22 |
+
- eval_runtime: 38.7598
|
| 23 |
+
- eval_samples_per_second: 129.0
|
| 24 |
+
- eval_steps_per_second: 16.125
|
| 25 |
+
- epoch: 0.52
|
| 26 |
+
- step: 13000
|
| 27 |
|
| 28 |
## Model description
|
| 29 |
|
|
|
|
| 50 |
- lr_scheduler_type: linear
|
| 51 |
- training_steps: 20000
|
| 52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
### Framework versions
|
| 54 |
|
| 55 |
- Transformers 4.34.1
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 433325294
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3ea5ad386bdff62d86aa6b74df64072f65d98cb035d90de3736bef025fcdd51
|
| 3 |
size 433325294
|