PinnedMy Blog PostsUpdated on May 24, 2023 — Hello! Welcome. Here I organized my blog posts into categories. Connect with me via Twitter, Linkedin, and YouTube, and join DS/ML book club :) DS/ML/AI: The Best ChatGPT Plugins 🤗Hugging Face Transformers Agent Best Practices in Prompt Engineering 4 Autonomous AI Agents you need to Know The easiest way to work…3 min read3 min read
Published inTowards Data Science·May 25Member-onlyThe Best ChatGPT PluginsWeb browsing, summarizing, coding, and more — Just a few days ago, OpenAI made an exciting update by introducing web browsing and Plugins to all ChatGPT Plus users. I thought it might be a good time to delve into some of the plugins I find useful and discuss their use cases in web browsing, summarizing, coding…ChatGPT8 min readChatGPT8 min read
Published inTowards Data Science·May 14Member-only🤗Hugging Face Transformers AgentComparisons with 🦜🔗LangChain Agent — Just two days ago, 🤗Hugging Face released Transformers Agent — an agent that leverages natural language to choose a tool from a curated collection of tools and accomplish various tasks. Does it sound familiar? Yes, it does because it’s a lot like 🦜🔗LangChain Tools and Agents. In this blog…Llm5 min readLlm5 min read
Published inTowards Data Science·May 1Member-onlyBest Practices in Prompt EngineeringLearnings and Thoughts from Andrew Ng’s New Course — Deep Learning AI has recently launched a new ChatGPT Prompt Engineering for Developers course led by Isa Fulford and Andrew Ng. It’s a free 1.5-hour short course and this course is amazing. In this article, I’d like to discuss these two parts: Part 1: Course summary Part 2: My thoughts…OpenAI8 min readOpenAI8 min read
Published inTowards Data Science·Apr 16Member-only4 Autonomous AI Agents you need to know“Westworld” simulation, Camel, BabyAGI, AutoGPT ⭐ with the power of LangChain ⭐ — Autonomous AI agents have been the hottest topic. It’s truly impressive how rapidly things have progressed and unfolded in this area. Are autonomous AI agents the future, particularly in the area of prompt engineering? AI experts including Andrej Karpathy referred to AutoGPTs as the Next frontier of prompt engineering…ChatGPT9 min readChatGPT9 min read
Published inTowards Data Science·Apr 9Member-onlyBuilding a Question Answering PDF ChatbotLangChain + OpenAI + Panel + HuggingFace — Let’s build a chatbot to answer questions about external PDF files. With 5 simple steps, you should be able to build a question-answering PDF chatbot like this: 😊 Want to try out this app? I hosted this app on Hugging Face: https://sophiamyang-panel-pdf-qa.hf.space/LangChain_QA_Panel_App 💻 You can find all my…Chatbots6 min readChatbots6 min read
Published inTowards Data Science·Apr 8Member-only4 Ways to Do Question Answering in LangChainChat with your long PDF docs: load_qa_chain, RetrievalQA, VectorstoreIndexCreator, ConversationalRetrievalChain — Are you interested in chatting with your own documents, whether it is a text file, a PDF, or a website? LangChain makes it easy for you to do question answering with your documents. But do you know that there are at least 4 ways to do question answering in…Langchain6 min readLangchain6 min read
Published inTowards Data Science·Mar 26Member-onlyThe easiest way to work with large language models?An overview of LangChain — Is LangChain the easiest way to interact with large language models and build applications? It’s an open-source tool and recently added ChatGPT Plugins. It provides so many capabilities that I find useful: ✨ integrate with various LLM providers including OpenAI, Cohere, Huggingface, and more. ✨ create a question-answering or text summarization bot…ChatGPT7 min readChatGPT7 min read
Mar 20Member-onlyTrain your own language model with nanoGPTLet’s build a songwriter — This morning, I watched Andrej Karpathy’s Build ChatGPT from Scratch video. I was so impressed. Only true legend can make such a complex model look so effortless. In his video, he builds a GPT language model from scratch with only a few hundred lines of code and organized everything in…Nanogpt6 min readNanogpt6 min read
Published inTowards Data Science·Feb 1Member-onlyHow to Make an AI Image Editing ChatbotStable Diffusion InstructPix2Pix in a Panel app — By Sophia Yang and Philipp Rudiger InstructPix2Pix, a conditional diffusion model, combines a language model GPT-3 and a text-to-image model Stable Diffusion to perform image edits based on user prompts. Inspired by the InstructPix2Pix project and several apps hosted on HuggingFace, we are interested in making an AI image editing…Stable Diffusion5 min readStable Diffusion5 min read