Text Classification
Transformers
TensorBoard
Safetensors
bert
Generated from Trainer
text-embeddings-inference
Instructions to use tybys/bert-base-banking77-pt2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tybys/bert-base-banking77-pt2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tybys/bert-base-banking77-pt2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tybys/bert-base-banking77-pt2") model = AutoModelForSequenceClassification.from_pretrained("tybys/bert-base-banking77-pt2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model save
Browse files
README.md
CHANGED
|
@@ -18,8 +18,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
-
- Loss: 0.
|
| 22 |
-
- F1: 0.
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
@@ -39,7 +39,7 @@ More information needed
|
|
| 39 |
|
| 40 |
The following hyperparameters were used during training:
|
| 41 |
- learning_rate: 5e-05
|
| 42 |
-
- train_batch_size:
|
| 43 |
- eval_batch_size: 8
|
| 44 |
- seed: 42
|
| 45 |
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
|
@@ -50,9 +50,9 @@ The following hyperparameters were used during training:
|
|
| 50 |
|
| 51 |
| Training Loss | Epoch | Step | Validation Loss | F1 |
|
| 52 |
|:-------------:|:-----:|:----:|:---------------:|:------:|
|
| 53 |
-
|
|
| 54 |
-
| 0.
|
| 55 |
-
| 0.
|
| 56 |
|
| 57 |
|
| 58 |
### Framework versions
|
|
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.3128
|
| 22 |
+
- F1: 0.9280
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
|
|
| 39 |
|
| 40 |
The following hyperparameters were used during training:
|
| 41 |
- learning_rate: 5e-05
|
| 42 |
+
- train_batch_size: 16
|
| 43 |
- eval_batch_size: 8
|
| 44 |
- seed: 42
|
| 45 |
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
|
|
|
| 50 |
|
| 51 |
| Training Loss | Epoch | Step | Validation Loss | F1 |
|
| 52 |
|:-------------:|:-----:|:----:|:---------------:|:------:|
|
| 53 |
+
| 1.191 | 1.0 | 626 | 0.8699 | 0.8271 |
|
| 54 |
+
| 0.3913 | 2.0 | 1252 | 0.3949 | 0.9160 |
|
| 55 |
+
| 0.1848 | 3.0 | 1878 | 0.3128 | 0.9280 |
|
| 56 |
|
| 57 |
|
| 58 |
### Framework versions
|