
<!-- 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. -->

# Financial_Classifier

This model is a fine-tuned version of [sentence-transformers/all-mpnet-base-v2](https://huggingface.co/sentence-transformers/all-mpnet-base-v2) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 0.8078
- Precision Macro: 0.7310
- Precision Weighted: 0.7348
- Recall Macro: 0.7324
- Recall Weighted: 0.7297
- F1-score: 0.7295
- Accuracy: 0.7297

## 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: 5.467706443900036e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 300.0
- num_epochs: 8

### Training results

| Training Loss | Epoch | Step | Validation Loss | Precision Macro | Precision Weighted | Recall Macro | Recall Weighted | F1-score | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:---------------:|:------------------:|:------------:|:---------------:|:--------:|:--------:|
| No log        | 1.0   | 21   | 0.6930          | 0.4683          | 0.4725             | 0.4721       | 0.4865          | 0.4613   | 0.4865   |
| No log        | 2.0   | 42   | 0.6920          | 0.4314          | 0.4393             | 0.4794       | 0.5135          | 0.3833   | 0.5135   |
| No log        | 3.0   | 63   | 0.6786          | 0.6845          | 0.6898             | 0.6824       | 0.6757          | 0.6754   | 0.6757   |
| No log        | 4.0   | 84   | 0.6422          | 0.7167          | 0.7261             | 0.6912       | 0.6757          | 0.6696   | 0.6757   |
| No log        | 5.0   | 105  | 0.5550          | 0.7167          | 0.7261             | 0.6912       | 0.6757          | 0.6696   | 0.6757   |
| No log        | 6.0   | 126  | 0.5701          | 0.7560          | 0.7564             | 0.7529       | 0.7568          | 0.7539   | 0.7568   |
| No log        | 7.0   | 147  | 0.6126          | 0.7182          | 0.7248             | 0.7118       | 0.7027          | 0.7018   | 0.7027   |
| No log        | 8.0   | 168  | 0.8078          | 0.7310          | 0.7348             | 0.7324       | 0.7297          | 0.7295   | 0.7297   |


### Framework versions

- Transformers 4.35.2
- Pytorch 2.1.0+cu121
- Datasets 2.16.1
- Tokenizers 0.15.1

{"license": "apache-2.0", "tags": ["generated_from_trainer"], "metrics": ["accuracy"], "base_model": "sentence-transformers/all-mpnet-base-v2", "model-index": [{"name": "Financial_Classifier", "results": []}]}
transformers safetensors mpnet text-classification generated_from_trainer base_model:sentence-transformers/all-mpnet-base-v2 license:apache-2.0 autotrain_compatible endpoints_compatible region:us