In this video, we'll see 3 different methods to perform sentiment analysis of financial news in python:
A dictionary.-based approach using the Loughran and McDonald dictionary
FinBert, a Bert model fine-tuned for sentiment analysis of financial text using the transformers library from Hugging Face
Using large langage models with the langchain library.
The code is available here: https://github.com/Vincent-Codes-Fina...
A written version of the tutorial is available here: https://vincent.codes.finance/posts/s...
👍 Please like if you found this video helpful, and subscribe to stay updated with my latest tutorials. 🔔
❤️ You can support this channel by buying me a ☕: https://buymeacoffee.com/codesfinance
🔖 Chapters:
00:00 Intro
00:36 Text Data
02:51 Dictionary-Based Approach
10:40 FinBert
17:24 Large Language Models
29:40 End results
🍺 Homebrew installation commands:
brew install ollama
⚙ Other commands
ollama pull mixtral
ollama pull llama2
🔗 Video links:
Loughran-McDonald Dictionary: https://sraf.nd.edu/loughranmcdonald-...
FinBert: https://huggingface.co/ProsusAI/finbert
Bert: https://huggingface.co/docs/transform...
Transformers: https://huggingface.co/docs/transform...
Ollama: https://ollama.com/
LangChain: https://python.langchain.com/docs/get...
NLTK: https://www.nltk.org/
📝 Papers:
FinBert: https://arxiv.org/abs/1908.10063
Bert: https://arxiv.org/abs/1810.04805
Loughran and McDonald: https://papers.ssrn.com/sol3/papers.c...
🐍 More Vincent Codes Finance:
✍🏻 Blog: https://vincent.codes.finance
🐦 X: / codesfinance
🧵 Threads: https://www.threads.net/@codesfinance
😺 GitHub: https://github.com/Vincent-Codes-Finance
📘 Facebook: / 61559283113665
👨💼 LinkedIn: / vincent-codes-finance
🎓 Academic website: https://www.vincentgregoire.com/
#sentimentanalysis #huggingface #langchain #nlp #naturallanguageprocessing #finbert #transformers #llm #largelanguagemodels #ollama #python #javascript #programming #code #gpt #opensource #opensourceai #llama2 #mistral #bigdata #research #researchtips #vscode #professor #datascience #dataanalytics #dataanalysis #finance #financialnews #financialanalysis
Смотрите видео Sentiment Analysis of Financial News in Python - 3 Ways using Dictionary, FinBert and LLMs онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Vincent Codes Finance 12 Апрель 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,069 раз и оно понравилось 52 людям.