Instructions to use chinmay130000/bert-base-uncased-fulltrain with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use chinmay130000/bert-base-uncased-fulltrain with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="chinmay130000/bert-base-uncased-fulltrain")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("chinmay130000/bert-base-uncased-fulltrain") model = AutoModelForSequenceClassification.from_pretrained("chinmay130000/bert-base-uncased-fulltrain", device_map="auto") - Notebooks
- Google Colab
- Kaggle
bert-base-uncased-fulltrain
This model is a fine-tuned version of google-bert/bert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.4131
- Accuracy: 0.8387
- Precision: 0.8496
- Recall: 0.8173
- F1: 0.8331
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: 5e-05
- train_batch_size: 8
- eval_batch_size: 16
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 16
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_ratio: 0.1
- num_epochs: 4
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|---|---|---|
| 0.564 | 1.0 | 3438 | 0.5360 | 0.8163 | 0.7813 | 0.8706 | 0.8235 |
| 0.4754 | 2.0 | 6876 | 0.4805 | 0.8137 | 0.8284 | 0.7843 | 0.8057 |
| 0.3974 | 3.0 | 10314 | 0.4222 | 0.8413 | 0.8329 | 0.8477 | 0.8403 |
| 0.3334 | 4.0 | 13752 | 0.4131 | 0.8387 | 0.8496 | 0.8173 | 0.8331 |
Framework versions
- Transformers 4.52.4
- Pytorch 2.6.0+cu124
- Datasets 3.6.0
- Tokenizers 0.21.2
- Downloads last month
- 6
Model tree for chinmay130000/bert-base-uncased-fulltrain
Base model
google-bert/bert-base-uncased