Downloads · 30 days
10
2% of all-time downloads
DunnBC22/bert-base-uncased-News_About_Gold
bert-base-uncased-News_About_Gold is a text classification model from DunnBC22. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tuned version of bert-base-uncased. It achieves the following results on the evaluation set: - Loss: 0.2995 - Accuracy: 0.9139 - Weighted f1: 0.9133 - Micro f1: 0.9139 - Macro f1: 0.8758 - Weighte…
Downloads · 30 days
10
2% of all-time downloads
All-time downloads
434
Public
Repo size
2.6 GB
Likes
1
Public
Click a slice to open those files.
.bin438 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of bert-base-uncased. It achieves the following results on the evaluation set:
For more information on how it was created, check out the following link: https://github.com/DunnBC22/NLP_Projects/blob/main/Sentiment%20Analysis/Sentiment%20Analysis%20of%20Commodity%20News%20-%20Gold%20(Transformer%20Comparison)/News%20About%20Gold%20-%20Sentiment%20Analysis%20-%20Bert-Base%20with%20W%26B.ipynb
This project is part of a comparison of seven (7) transformers. Here is the README page for the comparison: https://github.com/DunnBC22/NLP_Projects/tree/main/Sentiment%20Analysis/Sentiment%20Analysis%20of%20Commodity%20News%20-%20Gold%20(Transformer%20Comparison)
This model is intended to demonstrate my ability to solve a complex problem using technology.
Dataset Source: https://www.kaggle.com/datasets/ankurzing/sentiment-analysis-in-commodity-market-gold
Input Word Length:
/Images/Input%20Word%20Length.png)
Class Distribution:
/Images/Class%20Distribution.png)
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Weighted f1 | Micro f1 | Macro f1 | Weighted recall | Micro recall | Macro recall | Weighted precision | Micro precision | Macro precision |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.6809 | 1.0 | 133 | 0.3347 | 0.8974 | 0.8928 | 0.8974 | 0.8043 | 0.8974 | 0.8974 | 0.7710 | 0.8966 | 0.8974 | 0.8800 |
| 0.2778 | 2.0 | 266 | 0.2844 | 0.9144 | 0.9145 | 0.9144 | 0.8668 | 0.9144 | 0.9144 | 0.8689 | 0.9150 | 0.9144 | 0.8650 |
| 0.2022 | 3.0 | 399 | 0.2823 | 0.9172 | 0.9166 | 0.9172 | 0.8820 | 0.9172 | 0.9172 | 0.8691 | 0.9165 | 0.9172 | 0.8968 |
| 0.1496 | 4.0 | 532 | 0.2856 | 0.9167 | 0.9164 | 0.9167 | 0.8838 | 0.9167 | 0.9167 | 0.8686 | 0.9167 | 0.9167 | 0.9027 |
| 0.1196 | 5.0 | 665 | 0.2995 | 0.9139 | 0.9133 | 0.9139 | 0.8758 | 0.9139 | 0.9139 | 0.8647 | 0.9131 | 0.9139 | 0.8885 |
This model is a fine-tuned derivative of a pretrained model. Users must comply with the original model license.
This model was fine-tuned on third-party datasets which may have separate licenses or usage restrictions.