Instructions to use huangfe/bert-reflections-badarea-suboptimal-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huangfe/bert-reflections-badarea-suboptimal-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="huangfe/bert-reflections-badarea-suboptimal-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("huangfe/bert-reflections-badarea-suboptimal-classifier") model = AutoModelForSequenceClassification.from_pretrained("huangfe/bert-reflections-badarea-suboptimal-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
bert-reflections-badarea-suboptimal-classifier
This model is a fine-tuned version of bert-base-cased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.0285
- Accuracy: 0.9976
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: 2e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 15
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.0201 | 1.0 | 818 | 0.0132 | 0.9982 |
| 0.0204 | 2.0 | 1636 | 0.0147 | 0.9982 |
| 0.009 | 3.0 | 2454 | 0.0103 | 0.9982 |
| 0.0 | 4.0 | 3272 | 0.0226 | 0.9969 |
| 0.006 | 5.0 | 4090 | 0.0255 | 0.9951 |
| 0.0 | 6.0 | 4908 | 0.0300 | 0.9969 |
| 0.0 | 7.0 | 5726 | 0.0285 | 0.9976 |
Framework versions
- Transformers 4.49.0
- Pytorch 2.2.0
- Datasets 3.4.0
- Tokenizers 0.21.1
- Downloads last month
- 3
Model tree for huangfe/bert-reflections-badarea-suboptimal-classifier
Base model
google-bert/bert-base-cased