BootCamp
Collection
3 items • Updated
How to use XA7/Stock-market-news-classification with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="XA7/Stock-market-news-classification") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("XA7/Stock-market-news-classification")
model = AutoModelForSequenceClassification.from_pretrained("XA7/Stock-market-news-classification")This model is a fine-tuned version of google-bert/bert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.2018 | 1.0 | 673 | 0.1673 | 0.9681 |
| 0.0812 | 2.0 | 1346 | 0.1507 | 0.9710 |
| 0.0262 | 3.0 | 2019 | 0.1517 | 0.9725 |
Base model
google-bert/bert-base-uncased