Instructions to use mariossmrs/greek-bert-fire-detection-binary-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mariossmrs/greek-bert-fire-detection-binary-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mariossmrs/greek-bert-fire-detection-binary-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mariossmrs/greek-bert-fire-detection-binary-classification") model = AutoModelForSequenceClassification.from_pretrained("mariossmrs/greek-bert-fire-detection-binary-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
greek-bert-fire-detection-binary-classification
This model is a fine-tuned version of nlpaueb/bert-base-greek-uncased-v1 on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.2335
- Precision: 0.8297
- Recall: 0.9152
- F1: 0.8703
- F2: 0.8967
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-06
- train_batch_size: 16
- eval_batch_size: 32
- 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
- lr_scheduler_warmup_steps: 0.1
- num_epochs: 4
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | F2 |
|---|---|---|---|---|---|---|---|
| 0.5077 | 1.0 | 144 | 0.3199 | 0.7540 | 0.8545 | 0.8011 | 0.8323 |
| 0.2523 | 2.0 | 288 | 0.2536 | 0.8156 | 0.8848 | 0.8488 | 0.8701 |
| 0.2027 | 3.0 | 432 | 0.2272 | 0.8795 | 0.8848 | 0.8822 | 0.8838 |
| 0.1608 | 4.0 | 576 | 0.2335 | 0.8297 | 0.9152 | 0.8703 | 0.8967 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 6
Model tree for mariossmrs/greek-bert-fire-detection-binary-classification
Base model
nlpaueb/bert-base-greek-uncased-v1