Geek Out Time: Simulating LLM Short and Long Memory with FAISS, LangChain, and Google Colab
Jun 2025·~1151 words in full
In this geek-out session, we’ll explore how to simulate memory in Large Language Models (LLMs) during inference. Instead of fine-tuning or retraining, we’ll augment LLMs using a simple vector store (FAISS) and LangChain’s retrieval flow.
Goals:
All accomplished on Google Colab with open-source tools.
Setup: LangChain + FAISS + Sentence Transformers
This is an excerpt — the full article continues on Medium.
Read the full article on Medium →Related Posts
- Geek Out Time: Simulating High-Bandwidth and Cache-Like Memory on Google Colab’s T4 GPUNov 2024
- Geek Out Time: Tree-of-Thought for LLM ReasoningFeb 2026
- Geek Out Time: Routing Meets Retrieval-Context-Aware Multi-Agent Orchestration with AG2 + FAISSJul 2025
- Geek Out Time: LLM Inference Exposed-How It Works And How to Make It Fast on Google ColabJun 2025