Instructions to use dtorber/bert-base-cased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dtorber/bert-base-cased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dtorber/bert-base-cased")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dtorber/bert-base-cased") model = AutoModelForSequenceClassification.from_pretrained("dtorber/bert-base-cased", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model save
Browse files- README.md +16 -16
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -18,15 +18,15 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [google-bert/bert-base-cased](https://huggingface.co/google-bert/bert-base-cased) on the None dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
-
- Loss:
|
| 22 |
-
- F1 Macro: 0.
|
| 23 |
-
- F1: 0.
|
| 24 |
-
- F1 Neg: 0.
|
| 25 |
-
- Acc: 0.
|
| 26 |
-
- Prec: 0.
|
| 27 |
-
- Recall: 0.
|
| 28 |
-
- Mcc: 0.
|
| 29 |
-
- Millor Epoca:
|
| 30 |
|
| 31 |
## Model description
|
| 32 |
|
|
@@ -59,13 +59,13 @@ The following hyperparameters were used during training:
|
|
| 59 |
|
| 60 |
| Training Loss | Epoch | Step | Validation Loss | F1 Macro | F1 | F1 Neg | Acc | Prec | Recall | Mcc | Millor Epoca |
|
| 61 |
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|:------:|:------:|:------:|:------:|:------:|:------------:|
|
| 62 |
-
| 0.
|
| 63 |
-
| 0.
|
| 64 |
-
| 0.
|
| 65 |
-
| 0.
|
| 66 |
-
| 0.
|
| 67 |
-
| 0.
|
| 68 |
-
| 0.
|
| 69 |
|
| 70 |
|
| 71 |
### Framework versions
|
|
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [google-bert/bert-base-cased](https://huggingface.co/google-bert/bert-base-cased) on the None dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 1.1710
|
| 22 |
+
- F1 Macro: 0.8711
|
| 23 |
+
- F1: 0.9094
|
| 24 |
+
- F1 Neg: 0.8327
|
| 25 |
+
- Acc: 0.8825
|
| 26 |
+
- Prec: 0.8872
|
| 27 |
+
- Recall: 0.9328
|
| 28 |
+
- Mcc: 0.7444
|
| 29 |
+
- Millor Epoca: 4
|
| 30 |
|
| 31 |
## Model description
|
| 32 |
|
|
|
|
| 59 |
|
| 60 |
| Training Loss | Epoch | Step | Validation Loss | F1 Macro | F1 | F1 Neg | Acc | Prec | Recall | Mcc | Millor Epoca |
|
| 61 |
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|:------:|:------:|:------:|:------:|:------:|:------------:|
|
| 62 |
+
| 0.3198 | 1.0 | 1741 | 0.6009 | 0.8481 | 0.8948 | 0.8014 | 0.8625 | 0.8667 | 0.9249 | 0.7000 | 1 |
|
| 63 |
+
| 0.1331 | 2.0 | 3482 | 0.8319 | 0.8596 | 0.8929 | 0.8262 | 0.8675 | 0.9132 | 0.8735 | 0.7206 | 2 |
|
| 64 |
+
| 0.049 | 3.0 | 5223 | 1.1924 | 0.8587 | 0.9029 | 0.8145 | 0.8725 | 0.8713 | 0.9368 | 0.7221 | 3 |
|
| 65 |
+
| 0.0192 | 4.0 | 6964 | 1.1710 | 0.8711 | 0.9094 | 0.8327 | 0.8825 | 0.8872 | 0.9328 | 0.7444 | 4 |
|
| 66 |
+
| 0.0141 | 5.0 | 8705 | 1.3624 | 0.8511 | 0.8876 | 0.8146 | 0.86 | 0.9020 | 0.8735 | 0.7029 | 4 |
|
| 67 |
+
| 0.0053 | 6.0 | 10446 | 1.4250 | 0.8494 | 0.8844 | 0.8143 | 0.8575 | 0.9083 | 0.8617 | 0.7007 | 4 |
|
| 68 |
+
| 0.0032 | 7.0 | 12187 | 1.3777 | 0.8602 | 0.8972 | 0.8231 | 0.87 | 0.8972 | 0.8972 | 0.7204 | 4 |
|
| 69 |
|
| 70 |
|
| 71 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 433270768
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:090bad339cf85fcc9450fe8bd06273417dd9936aa1747c6f4d499099174f96c6
|
| 3 |
size 433270768
|