Text Classification
Transformers
TensorBoard
Safetensors
bert
Generated from Trainer
text-embeddings-inference
Instructions to use kekunh/financial-twhin-bert-large-3labels-pesudo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kekunh/financial-twhin-bert-large-3labels-pesudo with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="kekunh/financial-twhin-bert-large-3labels-pesudo")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("kekunh/financial-twhin-bert-large-3labels-pesudo") model = AutoModelForSequenceClassification.from_pretrained("kekunh/financial-twhin-bert-large-3labels-pesudo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files
README.md
CHANGED
|
@@ -14,13 +14,13 @@ model-index:
|
|
| 14 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 15 |
should probably proofread and complete it, then remove this comment. -->
|
| 16 |
|
| 17 |
-
# financial-twhin-bert-large-3labels-
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [Twitter/twhin-bert-large](https://huggingface.co/Twitter/twhin-bert-large) on an unknown dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
-
- Loss: 0.
|
| 22 |
-
- Accuracy: 0.
|
| 23 |
-
- F1: 0.
|
| 24 |
|
| 25 |
## Model description
|
| 26 |
|
|
@@ -39,7 +39,7 @@ More information needed
|
|
| 39 |
### Training hyperparameters
|
| 40 |
|
| 41 |
The following hyperparameters were used during training:
|
| 42 |
-
- learning_rate:
|
| 43 |
- train_batch_size: 16
|
| 44 |
- eval_batch_size: 8
|
| 45 |
- seed: 42
|
|
@@ -52,25 +52,9 @@ The following hyperparameters were used during training:
|
|
| 52 |
|
| 53 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 54 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 55 |
-
| 0.
|
| 56 |
-
| 0.
|
| 57 |
-
| 0.
|
| 58 |
-
| 0.5275 | 0.61 | 400 | 0.4322 | 0.8372 | 0.8425 |
|
| 59 |
-
| 0.4899 | 0.76 | 500 | 0.5061 | 0.8249 | 0.8320 |
|
| 60 |
-
| 0.4723 | 0.91 | 600 | 0.3711 | 0.8631 | 0.8577 |
|
| 61 |
-
| 0.4345 | 1.06 | 700 | 0.3421 | 0.8833 | 0.8819 |
|
| 62 |
-
| 0.3524 | 1.21 | 800 | 0.3322 | 0.8811 | 0.8829 |
|
| 63 |
-
| 0.3288 | 1.37 | 900 | 0.4062 | 0.8696 | 0.8724 |
|
| 64 |
-
| 0.3566 | 1.52 | 1000 | 0.3035 | 0.8948 | 0.8932 |
|
| 65 |
-
| 0.3253 | 1.67 | 1100 | 0.3064 | 0.8934 | 0.8938 |
|
| 66 |
-
| 0.2861 | 1.82 | 1200 | 0.3336 | 0.8927 | 0.8932 |
|
| 67 |
-
| 0.2955 | 1.97 | 1300 | 0.3526 | 0.8970 | 0.8959 |
|
| 68 |
-
| 0.1759 | 2.12 | 1400 | 0.4498 | 0.8948 | 0.8942 |
|
| 69 |
-
| 0.171 | 2.28 | 1500 | 0.3863 | 0.8955 | 0.8950 |
|
| 70 |
-
| 0.1636 | 2.43 | 1600 | 0.4361 | 0.8869 | 0.8889 |
|
| 71 |
-
| 0.1431 | 2.58 | 1700 | 0.4124 | 0.8963 | 0.8967 |
|
| 72 |
-
| 0.1661 | 2.73 | 1800 | 0.4062 | 0.8984 | 0.8989 |
|
| 73 |
-
| 0.1549 | 2.88 | 1900 | 0.4041 | 0.8999 | 0.9002 |
|
| 74 |
|
| 75 |
|
| 76 |
### Framework versions
|
|
|
|
| 14 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 15 |
should probably proofread and complete it, then remove this comment. -->
|
| 16 |
|
| 17 |
+
# financial-twhin-bert-large-3labels-pesudo
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [Twitter/twhin-bert-large](https://huggingface.co/Twitter/twhin-bert-large) on an unknown dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.5193
|
| 22 |
+
- Accuracy: 0.8646
|
| 23 |
+
- F1: 0.8689
|
| 24 |
|
| 25 |
## Model description
|
| 26 |
|
|
|
|
| 39 |
### Training hyperparameters
|
| 40 |
|
| 41 |
The following hyperparameters were used during training:
|
| 42 |
+
- learning_rate: 2.6487905492726217e-06
|
| 43 |
- train_batch_size: 16
|
| 44 |
- eval_batch_size: 8
|
| 45 |
- seed: 42
|
|
|
|
| 52 |
|
| 53 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 54 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 55 |
+
| 0.2072 | 1.0 | 2908 | 0.5193 | 0.8646 | 0.8689 |
|
| 56 |
+
| 0.1429 | 2.0 | 5816 | 0.5204 | 0.8890 | 0.8903 |
|
| 57 |
+
| 0.1062 | 3.0 | 8724 | 0.5502 | 0.8862 | 0.8881 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
|
| 59 |
|
| 60 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2245906124
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a65e77fec15543d5a94a78d763e159b1d0fb0e1b72d259bf33fbccd6d588b812
|
| 3 |
size 2245906124
|
runs/Feb22_02-47-46_3a0d63f95e62/events.out.tfevents.1708571941.3a0d63f95e62.965.7
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:83f7edfa5aa340837f668cbac733ad98ad8d3fa14b614cf90d5e42defcf5935a
|
| 3 |
+
size 457
|