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")# 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
bert-platform-classifier
This model is a fine-tuned version of google-bert/bert-base-uncased on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.0034
- Accuracy: 0.999
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.0002
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 10
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.1228 | 1.0 | 657 | 0.0123 | 0.997 |
| 0.0172 | 2.0 | 1314 | 0.0088 | 0.999 |
| 0.0127 | 3.0 | 1971 | 0.0051 | 0.999 |
| 0.0068 | 4.0 | 2628 | 0.0037 | 0.999 |
| 0.0073 | 5.0 | 3285 | 0.0048 | 0.999 |
| 0.0088 | 6.0 | 3942 | 0.0046 | 0.999 |
| 0.0054 | 7.0 | 4599 | 0.0021 | 0.999 |
| 0.0048 | 8.0 | 5256 | 0.0037 | 0.999 |
| 0.0055 | 9.0 | 5913 | 0.0037 | 0.999 |
| 0.0048 | 10.0 | 6570 | 0.0034 | 0.999 |
Framework versions
- Transformers 4.57.1
- Pytorch 2.8.0+cu126
- Datasets 4.0.0
- Tokenizers 0.22.1
- Downloads last month
- 5
Model tree for cdc-hf/bert-platform-classifier
Base model
google-bert/bert-base-uncased