Instructions to use SelmaNajih001/SentimentBasedOnPriceVariation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SelmaNajih001/SentimentBasedOnPriceVariation with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SelmaNajih001/SentimentBasedOnPriceVariation")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SelmaNajih001/SentimentBasedOnPriceVariation") model = AutoModelForSequenceClassification.from_pretrained("SelmaNajih001/SentimentBasedOnPriceVariation") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -18,7 +18,8 @@ It is capable of extracting price movements from the news, making it a useful to
|
|
| 18 |
I also compared it with FinBERT, and the results are quite similar.
|
| 19 |
Interestingly, it can detect the sentiment of financial news, even though it was trained using a different methodology than the one used with FinBERT.
|
| 20 |
Also, as we know, not all stocks react the same way to a specific event. That’s why I created additional models tailored for individual stocks.
|
| 21 |
-
You can find them on my profile, along with the datasets used.
|
|
|
|
| 22 |
This particular model is designed for general news — try it with phrases like “The stock market crashed” or “Tesla’s price dropped.”
|
| 23 |
When evaluating news related to investment opportunities, this general model might provide a neutral score, whereas the stock-specific models can estimate potential price variations that could occur after such events.
|
| 24 |
The predictions are tailored to each individual stock.
|
|
|
|
| 18 |
I also compared it with FinBERT, and the results are quite similar.
|
| 19 |
Interestingly, it can detect the sentiment of financial news, even though it was trained using a different methodology than the one used with FinBERT.
|
| 20 |
Also, as we know, not all stocks react the same way to a specific event. That’s why I created additional models tailored for individual stocks.
|
| 21 |
+
You can find them on my profile, along with the datasets used.
|
| 22 |
+
|
| 23 |
This particular model is designed for general news — try it with phrases like “The stock market crashed” or “Tesla’s price dropped.”
|
| 24 |
When evaluating news related to investment opportunities, this general model might provide a neutral score, whereas the stock-specific models can estimate potential price variations that could occur after such events.
|
| 25 |
The predictions are tailored to each individual stock.
|