| | --- |
| | library_name: transformers |
| | license: cc-by-sa-4.0 |
| | base_model: nlpaueb/legal-bert-base-uncased |
| | tags: |
| | - generated_from_trainer |
| | metrics: |
| | - f1 |
| | model-index: |
| | - name: bert-phishing-classifier_teacher |
| | results: [] |
| | --- |
| | |
| | <!-- This model card has been generated automatically according to the information the Trainer had access to. You |
| | should probably proofread and complete it, then remove this comment. --> |
| |
|
| | # bert-phishing-classifier_teacher |
| | |
| | This model is a fine-tuned version of [nlpaueb/legal-bert-base-uncased](https://huggingface.co/nlpaueb/legal-bert-base-uncased) on an unknown dataset. |
| | It achieves the following results on the evaluation set: |
| | - Loss: 1.0221 |
| | - Exact Match: 26.0102 |
| | - F1: 50.5247 |
| | |
| | ## 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: 64 |
| | - eval_batch_size: 64 |
| | - 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: 3 |
| | |
| | ### Training results |
| | |
| | | Training Loss | Epoch | Step | Validation Loss | Exact Match | F1 | |
| | |:-------------:|:-----:|:----:|:---------------:|:-----------:|:-------:| |
| | | 0.9394 | 1.0 | 831 | 0.9914 | 28.1008 | 53.5948 | |
| | | 0.8083 | 2.0 | 1662 | 1.0049 | 25.1142 | 51.8722 | |
| | | 0.728 | 3.0 | 2493 | 1.0221 | 26.0102 | 50.5247 | |
| | |
| | |
| | ### Framework versions |
| | |
| | - Transformers 4.51.1 |
| | - Pytorch 2.5.1+cu124 |
| | - Datasets 3.5.0 |
| | - Tokenizers 0.21.0 |
| | |