
<!-- 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-finetuned-PII

This model is a fine-tuned version of [bert-base-multilingual-cased](https://huggingface.co/bert-base-multilingual-cased) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 0.0017
- Recall: 0.8875
- Precision: 0.8458
- F1: 0.8858

## 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: 1e-05
- train_batch_size: 4
- eval_batch_size: 4
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: cosine
- num_epochs: 10
- mixed_precision_training: Native AMP

### Training results

| Training Loss | Epoch | Step  | Validation Loss | Recall | Precision | F1     |
|:-------------:|:-----:|:-----:|:---------------:|:------:|:---------:|:------:|
| 0.0012        | 1.0   | 1362  | 0.0017          | 0.6543 | 0.9138    | 0.6615 |
| 0.0009        | 2.0   | 2724  | 0.0014          | 0.8615 | 0.8231    | 0.8599 |
| 0.0004        | 3.0   | 4086  | 0.0024          | 0.8477 | 0.5830    | 0.8332 |
| 0.0003        | 4.0   | 5448  | 0.0015          | 0.8217 | 0.8594    | 0.8231 |
| 0.0002        | 5.0   | 6810  | 0.0014          | 0.8519 | 0.9106    | 0.8540 |
| 0.0001        | 6.0   | 8172  | 0.0019          | 0.7572 | 0.9185    | 0.7623 |
| 0.0001        | 7.0   | 9534  | 0.0019          | 0.8916 | 0.8115    | 0.8883 |
| 0.0001        | 8.0   | 10896 | 0.0017          | 0.8861 | 0.8467    | 0.8846 |
| 0.0001        | 9.0   | 12258 | 0.0017          | 0.8848 | 0.8476    | 0.8833 |
| 0.0           | 10.0  | 13620 | 0.0017          | 0.8875 | 0.8458    | 0.8858 |


### Framework versions

- Transformers 4.35.2
- Pytorch 2.1.0+cu121
- Datasets 2.17.0
- Tokenizers 0.15.2

{"license": "apache-2.0", "tags": ["generated_from_trainer"], "metrics": ["recall", "precision", "f1"], "base_model": "bert-base-multilingual-cased", "model-index": [{"name": "Bert-finetuned-PII", "results": []}]}
transformers safetensors bert token-classification generated_from_trainer base_model:bert-base-multilingual-cased license:apache-2.0 autotrain_compatible endpoints_compatible region:us