Exception & Error Handling in Python
Author(s): MicroBioscopicData Originally published on Towards AI. Cryptocurrency Analysis with Python: This member-only story is on us. Upgrade to access all of Medium. Errors and exceptions can cause a program to behave unexpectedly or even stop it. Python offers a range of …
Python Code Unit Test for Quality and Reliability
Author(s): Amit Chauhan Originally published on Towards AI. Early-stage testing before production level This member-only story is on us. Upgrade to access all of Medium. Photo by Ferenc Almasi on Unsplash Introduction Writing unit tests for Python code. It comes under software …
🦜🔗Build Robust ML Backends with Pydantic and Langchain
Author(s): Marcello Politi Originally published on Towards AI. Learn how to prevent users and LLMs mistakes in your code Photo by Bradley Ziffer on Unsplash This member-only story is on us. Upgrade to access all of Medium. It is well known that …
Building Intuition on the Concepts behind LLMs like ChatGPT β Part 1- Neural Networks, Transformers, Pretraining, and Fine Tuning
Author(s): Stephen Bonifacio Originally published on Towards AI. https://twitter.com/Stepanogil/status/1617907019692019714?s=20 Iβm sure Iβm not the only one, but if it wasnβt too apparent from my tweet back in January, my mind was completely blown away when I first encountered ChatGPT. The experience was …
Talk to your documents as PDFs, txts, and even web pages
Author(s): Damian Gil Originally published on Towards AI. Complete guide to creating a web and the intelligence that allows you to ask questions to docs such as PDFs, TXTs, and even web pages using LLMs. Content Table Β· IntroductionΒ· How does it …
Efficient Camera Stream With Python
Author(s): Argo Saakyan Originally published on Towards AI. Photo by Rahul Chakraborty on Unsplash Letβs talk about using webcams with Python. I had a simple task of reading frames from the camera and running a neural net on each frame. With one …
Speed Up Pandas String Manipulations
Author(s): Dr. Mandar Karhade, MD. PhD. Originally published on Towards AI. This tutorial focuses on speeding up string manipulations. This member-only story is on us. Upgrade to access all of Medium. I got bored and decided to benchmark string manipulation methods and …
How to Perform Feature Selection with Scikit-Learn
Author(s): Cornellius Yudha Wijaya Originally published on Towards AI. How to select important features for your machine learning model This member-only story is on us. Upgrade to access all of Medium. Photo by Timothy Muza on Unsplash Feature selection is choosing the …
Using the Indian Number System Notations in Plotly Plots
Author(s): Rahul Shah Originally published on Towards AI. Plotly is a versatile library that offers a comprehensive suite of resources for data visualization. Its ability to customize charts to meet user needs has made it a favorite of many analysts and data …
Use LangChain to Extract a Dictionary from Text
Author(s): Eugenia Anello Originally published on Towards AI. A deep-dive tutorial that exploits LangChainβs Output parser to store the text of a property listing as key-value pairs This member-only story is on us. Upgrade to access all of Medium. Photo by Sergey …
Using LangChain and ChatGPT to Explain Python Code
Author(s): Eugenia Anello Originally published on Towards AI. A LangChain tutorial for beginners and experts who want to document code This member-only story is on us. Upgrade to access all of Medium. Photo by Unsplash+ on Unsplash Are you tired of trying …
How I Built A Video Recommendation System Using Large Language Models and Vector Database
Author(s): Zoumana Keita Originally published on Towards AI. Leverage large language models, state-of-the-art text and speech analytics tools, and vector databases to build an end-to-end audio recommendation solution. This member-only story is on us. Upgrade to access all of Medium. Our generation …
Protect Your Python Projects: Avoid Direct setup.py Invocation for Ultimate Code Safeguarding!
Author(s): Anushka sonawane Originally published on Towards AI. Itβs time to say goodbye to setup.py complexities and embrace efficient Python packaging with build frontends. Photo by FLY:D on Unsplash In this article, weβll explore the challenges faced by distutils, setuptool and why …
Gorilla β Enhancing Large Language Modelsβ Ability to Use API Calls
Author(s): Marcello Politi Originally published on Towards AI. A Finetuned LLaMA-based Model to Improve LLMsβ API Call Accuracy and Adaptability Photo by Valentin Jorel on Unsplash This member-only story is on us. Upgrade to access all of Medium. Large Language Models today …
Fine-Tuning a Llama-2 7B Model for Python Code Generation
Author(s): Eduardo MuΓ±oz Originally published on Towards AI. A demo on how to fine-tune the new Llama-2 using PEFT, QLoRa, and the Huggingface utilities Image by author created in Leonardo.ai About 2 weeks ago, the world of generative AI was shocked by …