Downloads · 30 days
9
2% of all-time downloads
DunnBC22/squeezebert-uncased-News_About_Gold
squeezebert-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 squeezebert/squeezebert-uncased. It achieves the following results on the evaluation set: - Loss: 0.2643 - Accuracy: 0.9167 - F1 - Weighted: 0.9166 - Micro: 0.9167 - Macro: 0.8749…
Downloads · 30 days
9
2% of all-time downloads
All-time downloads
448
Public
Repo size
1.2 GB
Likes
1
Public
Click a slice to open those files.
.bin204 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of squeezebert/squeezebert-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-%20SqueezeBERT%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.8756 | 1.0 | 133 | 0.4529 | 0.8699 | 0.8557 | 0.8699 | 0.6560 | 0.8699 | 0.8699 | 0.6727 | 0.8437 | 0.8699 | 0.6414 |
| 0.4097 | 2.0 | 266 | 0.3196 | 0.9026 | 0.8982 | 0.9026 | 0.7826 | 0.9026 | 0.9026 | 0.7635 | 0.9059 | 0.9026 | 0.8743 |
| 0.3147 | 3.0 | 399 | 0.2824 | 0.9115 | 0.9111 | 0.9115 | 0.8470 | 0.9115 | 0.9115 | 0.8319 | 0.9138 | 0.9115 | 0.8751 |
| 0.2685 | 4.0 | 532 | 0.2649 | 0.9186 | 0.9187 | 0.9186 | 0.8681 | 0.9186 | 0.9186 | 0.8602 | 0.9203 | 0.9186 | 0.8797 |
| 0.2479 | 5.0 | 665 | 0.2643 | 0.9167 | 0.9166 | 0.9167 | 0.8749 | 0.9167 | 0.9167 | 0.8684 | 0.9168 | 0.9167 | 0.8822 |
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.