Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use doanmgd/TCFD-Bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use doanmgd/TCFD-Bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="doanmgd/TCFD-Bert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("doanmgd/TCFD-Bert") model = AutoModelForSequenceClassification.from_pretrained("doanmgd/TCFD-Bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
TCFD-Bert
This model is a fine-tuned version of distilbert-base-uncased on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.6350
- Accuracy: 0.825
- F1: 0.8214
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: 32
- eval_batch_size: 32
- seed: 42
- 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
- num_epochs: 10
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| 1.4062 | 1.0 | 45 | 1.0888 | 0.65 | 0.5877 |
| 0.9397 | 2.0 | 90 | 0.7605 | 0.72 | 0.6675 |
| 0.6364 | 3.0 | 135 | 0.6306 | 0.76 | 0.7407 |
| 0.4503 | 4.0 | 180 | 0.6293 | 0.77 | 0.7724 |
| 0.3122 | 5.0 | 225 | 0.5822 | 0.825 | 0.8192 |
| 0.2167 | 6.0 | 270 | 0.6071 | 0.805 | 0.7946 |
| 0.1638 | 7.0 | 315 | 0.6133 | 0.81 | 0.8049 |
| 0.1167 | 8.0 | 360 | 0.6112 | 0.81 | 0.8087 |
| 0.091 | 9.0 | 405 | 0.6396 | 0.82 | 0.8101 |
| 0.0793 | 10.0 | 450 | 0.6350 | 0.825 | 0.8214 |
Framework versions
- Transformers 4.51.3
- Pytorch 2.6.0+cu124
- Datasets 2.14.4
- Tokenizers 0.21.1
- Downloads last month
- 10
Model tree for doanmgd/TCFD-Bert
Base model
distilbert/distilbert-base-uncased