Text Classification
Transformers
TensorBoard
Safetensors
bert
Generated from Trainer
text-embeddings-inference
Instructions to use cdc-hf/bert-platform-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cdc-hf/bert-platform-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cdc-hf/bert-platform-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cdc-hf/bert-platform-classifier") model = AutoModelForSequenceClassification.from_pretrained("cdc-hf/bert-platform-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files- README.md +14 -14
- config.json +1 -3
- model.safetensors +2 -2
- runs/Oct29_14-17-12_e7ef80ecc11b/events.out.tfevents.1761747436.e7ef80ecc11b.202.10 +3 -0
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -18,8 +18,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [google-bert/bert-base-uncased](https://huggingface.co/google-bert/bert-base-uncased) on the None dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
-
- Loss: 0.
|
| 22 |
-
- Accuracy:
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
@@ -48,18 +48,18 @@ The following hyperparameters were used during training:
|
|
| 48 |
|
| 49 |
### Training results
|
| 50 |
|
| 51 |
-
| Training Loss | Epoch | Step
|
| 52 |
-
|:-------------:|:-----:|:----
|
| 53 |
-
| 0.
|
| 54 |
-
| 0.
|
| 55 |
-
| 0.
|
| 56 |
-
| 0.
|
| 57 |
-
| 0.
|
| 58 |
-
| 0.
|
| 59 |
-
| 0.
|
| 60 |
-
| 0.
|
| 61 |
-
| 0.
|
| 62 |
-
| 0.
|
| 63 |
|
| 64 |
|
| 65 |
### Framework versions
|
|
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [google-bert/bert-base-uncased](https://huggingface.co/google-bert/bert-base-uncased) on the None dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.0001
|
| 22 |
+
- Accuracy: 1.0
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
|
|
| 48 |
|
| 49 |
### Training results
|
| 50 |
|
| 51 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 52 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 53 |
+
| 0.1348 | 1.0 | 350 | 0.0084 | 0.998 |
|
| 54 |
+
| 0.0214 | 2.0 | 700 | 0.0020 | 1.0 |
|
| 55 |
+
| 0.017 | 3.0 | 1050 | 0.0094 | 0.997 |
|
| 56 |
+
| 0.0117 | 4.0 | 1400 | 0.0005 | 1.0 |
|
| 57 |
+
| 0.0127 | 5.0 | 1750 | 0.0003 | 1.0 |
|
| 58 |
+
| 0.0099 | 6.0 | 2100 | 0.0004 | 1.0 |
|
| 59 |
+
| 0.0079 | 7.0 | 2450 | 0.0002 | 1.0 |
|
| 60 |
+
| 0.0052 | 8.0 | 2800 | 0.0002 | 1.0 |
|
| 61 |
+
| 0.0047 | 9.0 | 3150 | 0.0001 | 1.0 |
|
| 62 |
+
| 0.006 | 10.0 | 3500 | 0.0001 | 1.0 |
|
| 63 |
|
| 64 |
|
| 65 |
### Framework versions
|
config.json
CHANGED
|
@@ -11,13 +11,11 @@
|
|
| 11 |
"hidden_size": 768,
|
| 12 |
"id2label": {
|
| 13 |
"0": "gardening",
|
| 14 |
-
"1": "furniture"
|
| 15 |
-
"2": "e-commerce"
|
| 16 |
},
|
| 17 |
"initializer_range": 0.02,
|
| 18 |
"intermediate_size": 3072,
|
| 19 |
"label2id": {
|
| 20 |
-
"e-commerce": 2,
|
| 21 |
"furniture": 1,
|
| 22 |
"gardening": 0
|
| 23 |
},
|
|
|
|
| 11 |
"hidden_size": 768,
|
| 12 |
"id2label": {
|
| 13 |
"0": "gardening",
|
| 14 |
+
"1": "furniture"
|
|
|
|
| 15 |
},
|
| 16 |
"initializer_range": 0.02,
|
| 17 |
"intermediate_size": 3072,
|
| 18 |
"label2id": {
|
|
|
|
| 19 |
"furniture": 1,
|
| 20 |
"gardening": 0
|
| 21 |
},
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:157625eab85d9bae5ffd73be5a309e9ae4345de2c2a3fbacd493c3bbe34d13ae
|
| 3 |
+
size 437958648
|
runs/Oct29_14-17-12_e7ef80ecc11b/events.out.tfevents.1761747436.e7ef80ecc11b.202.10
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:561d6c3c23e675fdbb99eb316810ce81ee9e1dde905a97afc2345b2d99f4ba6a
|
| 3 |
+
size 10855
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5841
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc746027e3a90ef1974ddb63415f0892d34cd5381ed995f43be94bf9bb160524
|
| 3 |
size 5841
|