Are you a real human? I have NEVER seen an author on youtube cover so much incredible knowledge in such a short video. This is absolutely AMAZING!!! Thank you
@martingrillo69567 ай бұрын
Her being an AGI would make perfectly sense
@whatifi-scenarios8 ай бұрын
This is great. We're in the process of integrating LLMs into our "what if" scenario modelling platform and this gave me a few ideas on next steps. Sharing this video with my dev team!
@johndoughto3 ай бұрын
Awesome structure to convey a "simple" idea, without getting down into the weeds with how truly complicated it is. Thanks!
@noahchristie52679 ай бұрын
Incredible intro video for the semi technical about how chat gpt and similar models will be used in daily life to improve the mundane tasks, with a side of cautions about incorrect answers and computational limitations! Great balance, I’m already sharing it around our team 😊
@Thuvu59 ай бұрын
Thanks a lot for your comment and for sharing it around! Really appreciate it 🤩🙌
@etutorshop6 ай бұрын
OMG this is inspiring I always wanted a 3rd party view about my expenses without loosing control of my data and this video hits the nail on the head.
@Thuvu56 ай бұрын
So glad to hear! Good luck with your project 🤗
@AshishRanjan-jn7re9 ай бұрын
Great video... My 2 cents: we can force LLMs to respond only in json format by stating it in system prompt, so you get consistent parsable response always (I've tried with gpt4), also you can provide list of possible expense categories to avoid grouping them together later (like 'Food & Beverage' and 'Food/Beverage')
@martinmoder59009 ай бұрын
Yeah, it is very powerful! However, is llama2 also providing this?
@NicolasCerveaux8 ай бұрын
@@martinmoder5900 llama2 and even gemma:2b does that too, but when I tried it still generated "new" categories, and the json answers would be "odd" like sometime it would modify the name of the expense.
@siliconhawkАй бұрын
@@martinmoder5900 llama 3.1 (the new one) is pretty powerful so it should be able to do it for you. given enough compute power
@SamFigueroa9 ай бұрын
I've noticed that most LLM understand that you would like a CSV formatted output and you use that to get more consistent output.
@jteichma7 ай бұрын
Thanks for the great overview of using aa local LLM Thuy! Very useful and informative.
@Codad9 ай бұрын
This is such a great video. Thank you for making it. I had no idea this sort of thing was possible and I'm finding all sorts of ways to take advantage of it now.
@SebastianSastre9 ай бұрын
Thank you for sharing this dear! You covered the basics and shown the path to a great first goal with your own custom on premise and well licensed LLM. Huge!
@Thuvu59 ай бұрын
You are so welcome! Glad it was helpful 🙌
@bimoariosuryandaru3256 ай бұрын
This is great! I was recently experimenting on a personal finance tracker dashboard and connect it to a chatting apps, so the user could easily input their financial activity by only typing it. On the process, i try to use chat gpt to simplify and generalise the format so we can input the data faster, never have i thought that it could be done by a local LLM. Looking forward for your next video.
@kevinmanalang91829 ай бұрын
Hi Thu! Last year I had referenced your panel dashboard video to build my personal finance dashboard. I like seeing how you built yours. Your content is very useful. Thank you!
@Arsenik23 ай бұрын
As a data scientist, I am blown away by your video's theme. You successfully managed to keep it simple to attract the interest of the majority and mention about technical details that is beneficial for more technical people watching this video. Best wishes!
@icemelt7ful8 ай бұрын
As a Javascript coder, this was a mindblowing video, I had no idea Python was this powerful.
@roberthuff31229 ай бұрын
🎯 Key Takeaways for quick navigation: 00:00 💲 *Reviewing Income and Expense Breakdown* - Explained the process of analyzing financial transactions. - Talked about classification of expenses into categories. - Spoke about using low-tech ways and an AI assistant for classification. 02:16 💻 *Running a Large Language Model Locally* - Discussed different ways to run an open-source language model locally. - Listed various popular frameworks to run models on personal devices. - Explained why these frameworks are needed, emphasizing the size of the model and memory efficiency. 04:18 📚 *Installing and Understanding Language Models * - Demonstrated how to install a language model through the terminal. - Showed the interaction with the language model through queries in the terminal. - Assessed the model's math capabilities, showing a failed example. 06:48 🎯 *Evaluating Expense Classification of Language Models* - Checked if the language models can categorize expenses properly through the terminal. - Demonstrated how to switch models, correctly installing another model. - Showed the differences between the models and preferred one due to answer formatting. 08:24 🛠️ *Creating Custom Language Models* - Explained how to specify base models and set parameters for language models. - Demonstrated how to create a custom model through the terminal. - Discussed viewing the list of models available and building a custom blueprint to meet specific requirements. 11:46 🔄 *Creating For Loop to Classify Expenses * - Discussed forming a for loop to classify multiple expenses. - Detailed how to chunk long lists of transactions to avoid token limit in the language model. - Mentioned the unpredictability of language models and potential need for multiple queries. 14:32 🔍 *Analyzing and Categorizing Expenses* - Demonstrated how to analyze and categorize transactions. - Showed how to group transactions together, clean up the dataframe, and merge it with the main transaction dataframe. 15:14 📊 *Creating Personal Finance Dashboard * - Detailed the creation of a personal finance dashboard, that includes income and expenses breakdown for two years. - Introduced useful visualization tools such as Plotly Express and Panel, giving a short tutorial on how to use them. - Demonstrated the assembling of a data dashboard from charts and supplementing it with custom text. 17:02 📈 *Visualizing Financial Behavior Over Time* - Demonstrated the use of the finance dashboard, drawing observations. - Concluded with a note on importance of incorporating assets into financial management. - Highlighted the value of running large language models on personal devices for tasks like these. Made with HARPA AI
@borismeinardus8 ай бұрын
Love the video! The beginning sets up the project perjectly and the tutorial is very easy to follow!
@LukeBarousse9 ай бұрын
"Although, as you can see I can't retire anytime soon" 😂😳 Thu, this was a pretty ingenious way to label data; one of the biggest part of our time is data cleanup and this helps speed it up
@LukeBarousse9 ай бұрын
out of curiousity, why did you choose ollama? (vice something like LM studio)
@Thuvu59 ай бұрын
Haha, yeah I thought I'd saved much more.. 😂 Definitely, I hope to explore more analysis use cases for local LLMs. I heard about LM studio but somehow I just like the setup with Ollama better. I guess they are very much the same in the backend.
@FaruqAtilola9 ай бұрын
Trust me, clicking the video and scrolling through the comments, I was anticipating your comment to be at the very top😅
@PauloLeiteBR8 ай бұрын
Excellent video, I used the concepts to enhance a project that I had already started in R and it worked fine, but so slow in my computer (like 5 min to analyse 10 registers). Now I know the concepts and I`ll keep experimenting with other LLM models. Thank you!
@tolandmike5 ай бұрын
You just earned a new subscriber, Thu. I mean, wow. Very inspirational to see what you built on a friggin laptop, no less. Goes to show you don't need thousands of compute cores, either. Ver very cool. 🎉
@Thuvu55 ай бұрын
Wow, thanks you so much! Indeed, we definitely don't need to go broke buying super computer for this 🙌
@n0n4m3y3tАй бұрын
thank you for including the repo!! it makes the content 10x better!
@winhater9 ай бұрын
I never ever ever comment on anything, but goddamn - what a great video/tutorial. Just finished playing with the notebook and I learned a ton!
@Thuvu59 ай бұрын
That’s so awesome to hear! Thank you so much for commenting ❤️🤗
@luismoriguerra6697 ай бұрын
this is one of the best videos I watched about llms
@chocolatecookie85718 ай бұрын
I have a great admiration for the younger generations who know how to do all this tech stuff. It looks very complicated to me.
@Thuvu58 ай бұрын
Haha, that’s so kind of you. I’m sure it’s less complicated than it looks
@EverythingMy3602 ай бұрын
I love the content. Also, I have not seen anyone can program so fast!!!
@gridaranbirthuvi7 ай бұрын
Great video .. The one project which I wanted to take up during my holidays .. Learn in the same time have a view on my personal finance ..
@bereniceflores818 ай бұрын
Always good to see more people bringing data skills to understand personal finance.
@thinkingmachine77609 ай бұрын
Thank you so much. 🥰It is so well explained and a very cool project. I think LLMs are a powerful tool and running them locally will make it safe to share critical information with them.
@Thuvu59 ай бұрын
Thank you, really appreciate it! ❤
@smiley32395 ай бұрын
Thank you! it's quite hard to follow up with this ollama thing, and you explain it so easily. thank you!!! please mae more of this!!!!
@soky24665 ай бұрын
Incredible video, I love how you simplified all the process. Your content inspired me I will try it on my personal projects as well
@Thuvu55 ай бұрын
Awesome, go for it!
@brunogillet71324 ай бұрын
Thanks so much ! Being investigating AI for just one month, having so much to learn again (and that's cool), your videos really help. Being not a natural english speaker, it was a bit fast to follow, but no issue : It was clear, precise, and... I will find time to listen to it up to be sure having got any lesson from it. Same apply to your other videos, but change nothing : ( It could even help me improve my English level ;-)... )
@Thuvu54 ай бұрын
Great to hear!
@korntron9 ай бұрын
Outstanding video, especially for this beginner. Didn’t know you could run the models locally. Those ollama layers look like docker, fascinating how the context is setup. Time for me to spend some cycles on all your vids, not just the couple I’ve casually looked at. Thanks!
@Thuvu59 ай бұрын
Glad to hear you found the videos helpful! Thanks for stopping by 🙌🏽
@pw48279 ай бұрын
Me too. I thought you need to have some monstrous supercomputer and spend weeks on configuring everything to run one of these models locally
@jman95456 ай бұрын
Super cool! Great channel. Excited to watch more
@youthresearches9 ай бұрын
As always, high-quality content from a highly competent woman!
@Thuvu59 ай бұрын
That's so kind of you, I'm trying to be ;)
@apvitor7 ай бұрын
You are a very good presenter, easy to follow. Nice content
@NRICHMEMotivation2 ай бұрын
I am blown away by this video! If only I can get my CPA to do the same. I guess I’ll need to learn to code.
@Jaybearno9 ай бұрын
Cool project! I'd like to try it myself. One interesting idea is to have the LLM generate a memo field for each transaction (which can be controlled via prompting). Then by embedding these and doing hybrid retrieval, you can search in natural language as well as by metadata for transactions.
@Thuvu59 ай бұрын
That’s an interesting idea! Would love to see how well the retrieval works 🤗
@anissaa10176 ай бұрын
Thank you so much for sharing this with us!! I’ve been looking to do this for years but just thinking about the task ahead, I would give up. I will definitely analyze my own financial statements. Thanks mucho gusto!!
@olivermorris42099 ай бұрын
Thanks Thu, great demo of Ollama, sorry your arent going to be retiring anytime soon😢 I really like the multimodal model support in Ollama, llava is a great model to try and runs on not much RAM.
@Thuvu59 ай бұрын
Thank you Oliver! I would absolutely not mind making videos until I retire though 🤣. The multimodal support is interesting, I haven't tried it out yet but will look into those models a bit more 🙌🏽.
@mustafadut84309 ай бұрын
If you want to give data as many as the number of tokens of the model. You don't need to calculate and know by hand. Instead, you can do this with "chunks" in Langchain. nice explanation thank you
@dasurao77369 ай бұрын
Your videos are well thought out .. Keep them coming - Dont want you "retiring soon" 🙂
@Thuvu59 ай бұрын
Haha thank you for this! Don’t worry, with KZbin I don’t want to retire anytime soon 😉🤗
@mrbarkan6 ай бұрын
This is incredible, a bit far fetched from my skills and time in hands. But surely inspiring!
@heijd9 ай бұрын
A faster and cheaper way to do this is to use the LLM embeddings directly. This is what happens anyway behind the scenes, but it makes the data nicer to handle.
@pieterjdw8 ай бұрын
Could you give some guidance to this approach?
@davidtindell9509 ай бұрын
I just read about the latest Meta LLAMA model that is supposed to be better than GPT4 for s/w dev! I hope that we can run it as a LOCAL LLM ! Thank You for this timely vid. ...
@Thuvu59 ай бұрын
Ooh that’s pretty cool! 🤩 So great to hear many models are approaching GPT4 capabilities 🤯
@haqk45839 ай бұрын
Thanks for the great intro into how to get started with local LLMs. I'll give it a go after Tết 😄
@Thuvu59 ай бұрын
Happy Tet holiday! 😀🎉
@swannschilling4749 ай бұрын
I realized that it is easier to code the stuff myself, rather than having to mess with some LLM that is stubborn and very resilient to reasoning! 😅
@Kessra9 ай бұрын
To be fair, this is a classical classification case and throwing LLMs on it might be overkill. LLMs are good for predicting the next word in a sequence while taking the context of the previous words into consideration. That's basically all LLMs do. LLMs might help in resolving ambiguity and find more appropriate classes or relation of classes, but it is thrown now on all kinds of problems regardless whether there are better tools available to do the same job. Like the saying goes: "If the only tool you have is a hammer, you tend to see every problem as a nail" 😄
@swannschilling4749 ай бұрын
@@Kessra I was really doing exactly the same thing and decided very early on that an LLM would not be the right thing for this task! I mean there is PandasAi and Langchain but using an LLM would be more a thing of trying it for the sake of fun and learning something, rather than trusting it with my finances! Thanks for the content! It was fun to watch! Looking forward to see more of it! 😊
@akinwalehabib8 ай бұрын
Amazing work you put in here. This is inspiring
@PhilSmy8 ай бұрын
Great video. Very inspiring. Also...I used to live in Amstelveen (20+ years ago!). Funny to see that name in there.
@Thuvu58 ай бұрын
Oh haha, the world is small! 😀
@gr8tbigtreehugger9 ай бұрын
This was an excellent video - many thanks for sharing!
@bengriffin61579 ай бұрын
Very well explained. Looking forward to you posting the github repo.
@Thuvu59 ай бұрын
Thank you for watching! I've added the repo link in the description 🙌🏽
@IdeationGeek9 ай бұрын
I see how this is useful for being one's own accountant :) Super!
@leonardvermeer79089 ай бұрын
What an amazing video! This is definitely a personal project that I've wanted to tackle and while I'm familiar with other languages, I'll definitely use your video as a guideline.
@michaelmraz27075 ай бұрын
How to make LLM learn and be able to correctly identify new categories? For example, creating an income statement from the list of all journal entries, but LLM need to identify each entries and correctly categorized it. Say, there's an entry for a plane ticket and wages paid to XYZ. The LLM reads the entries and correctly map it to expense item "travel expense" and "salaries/wages" expense. This is similar concept to your video, but more broad with the ability to learn.
@sanatdeveloper8 ай бұрын
Awesome research as always!
@AlexandreRousselet9 ай бұрын
J'ai adoré, vidéo super clair allant droit au but et qui nous la joie d'aller découvrir le code
@kylonguyen-we5mx4 ай бұрын
Thanks sis, you're awesome!
@SteelWolf139 ай бұрын
Nice. Might give this a try over the weekend. Just need to figure out how to get my banks data.
@TheInternalNet9 ай бұрын
I learned so so much watching this. Thank you so much.
@agyeirichmondowusu96703 ай бұрын
You earned a new subscriber today. Thanks for how intuitive this video is. I also love how you pronounce "O-lla_ma"😹..kidding
@Thuvu53 ай бұрын
Haha, thank you for the subs! 🎉
@positivitywins89578 ай бұрын
Amazing job explaining this!
@Turbo_Tastic8 ай бұрын
this is great.. thank you for the breakdown of all these options
@bhavyajain34209 ай бұрын
That's awesome. I would also use Llama to write the code for generating plotly charts/dashboards haha!
@andrewshatnyy9 ай бұрын
Wow this is fantastic video. Thank you, Thu!
@ricb41959 ай бұрын
I loved this and hope to try this out for myself (though my programming skills are very rusty)
@GeorgeZoto9 ай бұрын
Excellent video and practical application, you didn't get to cover pydantic much which solves a current challenge with LLMs. As for the dashboard, maybe another framework or approach with less or no code could be be more efficient :)
@cgmiguel9 ай бұрын
People are complaining about LLMs not being good at number crunching (as expected). She’s NOT doing math with the LLMs, but using it for organizing the data, categorizing, etc.
@ShivamMiglani9 ай бұрын
Thanks Thu, just heard about local LLMs from my boss today and look whose video is on the top to help me out! 😃
@Thuvu59 ай бұрын
Hey Shivam! Thanks for watching! So happy to see your comment 😍🤗
@chrisumali98418 ай бұрын
Thanks for the demo and info. So detailed and analytics are great. Have a great day
@hrgagan91929 ай бұрын
Wow absolutely wow, thank you for such a great project, so many ideas ringing in my head. Cheers
@DorianIten7 ай бұрын
Amazing. Thank you for sharing this, I learned so much!
@muhannadobeidat9 ай бұрын
Thanks for the video. Nicely done and presented, educational with an interesting use case
@nguyentrananhnguyen79009 ай бұрын
ayo, i'm just doing my first step that's logging every expenses i got since the start of this year i'm just thinking about doing some sort of software that help me manage my expenses and savings and this is exactly what i think of thank you for the high quality video
@DrB9344 ай бұрын
Codes without hitting the backspace key. I am in awe...
@_stition97779 ай бұрын
Thank you so much for making this video. Subscribed, this is exactly the content I look for
@oneallwyn9 ай бұрын
Finally the text classification video that I was searching for
@Slaci-vl2io9 ай бұрын
Thank you Thu Vu for promoting AI in the EU.
@franklimmaciel4 ай бұрын
Thanks for this great video.
@DarkSoulGaming76 ай бұрын
Thank you SOOOOOOO much for this !! this is an awesome tutorial
@Thuvu56 ай бұрын
You are so welcome! Glad you like it!
@gaelanmelanson35324 ай бұрын
Such a cool project!
@qbitsday34389 ай бұрын
Love it , i am subscribing instantly , i have a lot of questions.
@aitech4future9 ай бұрын
I was wondering where I listened to this music. Amazon learning has this background music. Thanks for sharing :)
@TheBenJiles9 ай бұрын
Thanks so much! It giving me inspiration for using this in a security analysis context.
@therealpattypooh9 ай бұрын
Great video to start using LLM! Thank you for sharing!
@lionelshaghlil17547 ай бұрын
Thanks, That was inspiring indeed :)
@haralc9 ай бұрын
There's no language models that can do math. It can answer 2 + 2 = 4, because it has seen people talking about it, but it doesn't really do computation.
@Dom-zy1qy9 ай бұрын
Can RAG not used to do simple calculations?
@joe_hoeller_chicago9 ай бұрын
Actually no. It depends on which LLM, some like Orca2 are trained in math.
@gammalgris24979 ай бұрын
The LLM cannot but an artificial neural network can maybe help as its just a pile of linear algebra. But then you have to think about what you actually want to do. Do you want to find spending patterns? There are easier ways to do math. Finding categories is an arbitrary task. Check that the LLM doesnt' mix up your numbers/ spending numbers.
@GeekProdigyGuy9 ай бұрын
@@joe_hoeller_chicagoLLMs trained to do math are like dogs trained to do math. It might do mostly OK for a bit, but errors are a matter of when, not if.
@Tyrone-Ward9 ай бұрын
ChatGPT said, "LLMs are quite capable of performing mathematical tasks, including arithmetic, algebra, calculus, and even some advanced mathematical concepts. They can solve equations, perform calculations, and provide explanations for mathematical principles". So you're wrong.
@chaos_monster9 ай бұрын
This is a great inroduction to Ollama
@abdelkaioumbouaicha9 ай бұрын
📝 Summary of Key Points: The video discusses the process of analyzing income and expenses using open-source language models. The speaker reviews bank transactions and classifies expenses into categories. They mention the challenge of uploading sensitive financial data to third-party websites and run a language model locally on their laptop instead. The speaker demonstrates how to install and run the AMA framework, which allows interaction with language models through the terminal. They show examples of generating responses to prompts and performing arithmetic calculations. They also test the model's ability to classify expenses in bank statements. The speaker explains how to create a custom language model using a model file and customize its parameters. They demonstrate the process of creating a custom model file and using it to interact with the language model. The video shows how to use the language model in a Python environment, specifically in Jupyter Notebook. The speaker demonstrates how to interact with the language model using Python code and emphasizes the importance of limiting the number of transactions inserted into the prompt. The speaker analyzes bank transaction data using the language model. They process the transactions in batches, classify them into categories, validate the output, and store the results in a data frame. They clean up the data frame and merge it with the main transaction data. Finally, the speaker creates a personal finance dashboard using Plotly Express and Panel libraries. They generate pie charts to show the income and expense breakdown and bar charts to display the income and expense per month. They organize these charts in a dashboard layout using the Fast lless template from Panel. 💡 Additional Insights and Observations: 💬 "Uploading sensitive financial data to third-party websites can be a concern, so running a language model locally provides more security and privacy." 📊 No specific data or statistics were mentioned in the video. 🌐 The video does not reference any external sources or references. 📣 Concluding Remarks: This video provides a comprehensive guide on how to analyze income and expenses using open-source language models. It covers the installation and usage of the AMA framework, the process of creating custom language models, and the creation of a personal finance dashboard. By following the steps outlined in the video, viewers can effectively analyze their financial data and gain valuable insights into their income and expenses. Generated using TalkBud
@gmostafaali9 ай бұрын
Your content always useful! I like the Panel lots.
@Thuvu59 ай бұрын
Thank you so much! So happy to hear 🤩
@gmostafaali9 ай бұрын
@@Thuvu5 💛
@vadud39 ай бұрын
Really awesome explanation! I am going to use this. Thank you Thu!!
@Echo11days9 ай бұрын
Well done I'll try and re-create this. Thank you once again
@palakgoel56569 ай бұрын
Great video like always Thu! You never fail to fascinate me with your content as you make Data Science seem so fun to experiment with! Do you happen to have experience with the Bloomberg Terminal or any project idea to do using it? Would be amazing to know what you think of it! 🥰💛
@Thuvu59 ай бұрын
Thank you for such kind words! No I haven’t had the chance to try out Bloomberg Terminal. It’s perhaps worth looking into for a future video 🤔
@palakgoel56569 ай бұрын
@@Thuvu5 excited and hoping to have a look at it 💫💕
@yezarniko96216 ай бұрын
That what I'm looking for !!! Thanks
@Rafaelkenjinagao9 ай бұрын
Fantastic! Your videos are always good surprises at my feed.
@ilyayy9 ай бұрын
Nice showcase of that it's ok if things don't work out first try - there's another model / another try :)
@TeaForecast9 ай бұрын
Very concise and informative video. I appreciate it.
@TGr9639 ай бұрын
thank you! this is a project i'd love to try, keep up the good work 😊
@EricSchroeder-cc4hf7 ай бұрын
very good! thank you for sharing!
@atenciop123y8 ай бұрын
Thanks again for another wonderful video. Ollama is now available on Windows as a preview. I used that preview version on the solution you shared here and it worked great! 🙂 Can you recommend a tutorial on the panel library? Thanks in advance.