Twitxy Saved

UC Berkeley Sky

@BerkeleySky

Sky Computing - looking for the Berkeley Skydeck? They’re on the other side of Campus from us @SkyDeck_Cal.
Berkeley, CA sky.cs.berkeley.edu Joined November 2021
24 Following 1.6K Followers 96 Posts

Latest posts 2

UC Berkeley Sky @BerkeleySky
@AndrewYNg has released a free course with Sky Computing spinout @Letta_AI (based on work done on the MemGPT paper) - check it out to learn about about agentic memory, the research behind MemGPT, and building agents with Letta.
Andrew Ng Verified account @AndrewYNg Nov 7, 2024
New short course: LLMs as Operating Systems: Agent Memory, created with @Letta_AI, and taught by its founders @charlespacker and @sarahwooders.

An LLM's input context window has limited space. Using a longer input context also costs more and results in slower processing. So, managing what's stored in this context window is important.

In the innovative paper MemGPT: Towards LLMs as Operating Systems, its authors (which include the instructors) proposed using an LLM agent to manage this context window. Their system uses a large persistent memory that stores everything that could be included in the input context, and an agent decides what is actually included.

Take the example of building a chatbot that needs to remember what's been said earlier in a conversation (perhaps over many days of interaction with a user). As the conversation's length grows, the memory management agent will move information from the input context to a persistent searchable database; summarize information to keep relevant facts in the input context; and restore relevant conversation elements from further back in time. This allows a chatbot to keep what's currently most relevant in its input context memory to generate the next response.

When I read the original MemGPT paper, I thought it was an innovative technique for handling memory for LLMs. The open-source Letta framework, which we'll use in this course, makes MemGPT easy to implement. It adds memory to your LLM agents and gives them transparent long-term memory.

In detail, you’ll learn:
- How to build an agent that can edit its own limited input context memory, using tools and multi-step reasoning
- What is a memory hierarchy (an idea from computer operating systems, which use a cache to speed up memory access), and how these ideas apply to managing the LLM input context (where the input context window is a "cache" storing the most relevant information; and an agent decides what to move in and out of this to/from a larger persistent storage system)
- How to implement multi-agent collaboration by letting different agents share blocks of memory

This course will give you a sophisticated understanding of memory management for LLMs, which is important for chatbots having long conversations, and for complex agentic workflows.

Please sign up here! deeplearning.ai/short-courses/…
View quoted post on X
UC Berkeley Sky @BerkeleySky
Check out the first-open source alternative for LLM function calling! #GorillaLLM
Shishir Patil @shishirpatil_ Nov 16, 2023
📢 Introducing Gorilla OpenFunctions! 🔥 We've listened to your calls for an open-source function calling model, and are thrilled to present Gorilla OpenFunctions 🦍 And yes, we've made parallel functions a reality in open-source! 😎

Curious about typical scenarios where GPT-4 function calling stumbles?
Wondering about the data blend used to train OpenFunctions?
How easy is it to migrate?

We've got all these topics covered and more:
Blog: gorilla.cs.berkeley.edu/blogs/4_open_f…
Colab: colab.research.google.com/drive/16M5J2H9…
Dataset and Github: github.com/ShishirPatil/g…
View quoted post on X