- clarifai
- sentiment-analysis
financial-sentiments-analysis-distilRoBERTa
Workflow uses the distilroberta-financial-news-sentiment-v2 Model tailored specifically for financial sentiment analysis.
Notes
Financial sentiments Analysis
This workflow uses the distilroberta-financial-news-sentiment-v2 Model tailored specifically for financial sentiment analysis.
DistilRoberta-financial-sentiment-v2 Model
DistilRoberta-financial-sentiment-v2 model, a fine-tuned version of the DistilRoBERTa model on the financial_phrasebank dataset for sentiment analysis of financial news.
How to use the Financial sentiments Analysis workflow?
Using Clarifai SDK
Export your PAT as an environment variable. Then, import and initialize the API Client.
Find your PAT in your security settings.
export CLARIFAI_PAT={your personal access token}
Prediction with the workflow
from clarifai.client.workflow import Workflow
workflow_url = 'https://clarifai.com/clarifai/sentiment-analysis/workflows/financial-sentiments-analysis-distilRoBERTa'
text = 'The company supports its global customers in developing new technologies and offers a fast route from product development to applications and volume production .'
prediction = Workflow(workflow_url).predict_by_bytes( text.encode(), input_type="text")
# Get workflow results
print(prediction.results[0].outputs[-1].data)
Using Workflow
To utilize the Financial sentiments Analysis workflow, you can input text through the Blue Plus Try your own Input button and it will provide whether the sentiment is positive, negative, or neutral towards a specific financial entity, event, or market trend, helping investors and analysts gauge market sentiment and make informed decisions.
- Workflow IDfinancial-sentiments-analysis-distilRoBERTa
- DescriptionWorkflow uses the distilroberta-financial-news-sentiment-v2 Model tailored specifically for financial sentiment analysis.
- Last UpdatedApr 08, 2024
- PrivacyPUBLIC
- Share