Skip to content

fooggreitan/LargeLanguageModelsProjects

 
 

Repository files navigation

LangChain & LLM Projects Collection

A suite of applications demonstrating document processing, chatbots, and AI-powered question answering using LangChain and various LLMs.

📚 Projects Overview

1. Book Summaries with LangChain and OpenAI

Python LangChain OpenAI

Automated book summarization system that processes PDFs/epubs and generates concise summaries using OpenAI's models.

Features:

  • PDF text extraction
  • Chunking and embeddings
  • Summary generation with temperature control

2. Chat with Multiple Documents

Streamlit FAISS

Multi-document QA system that allows conversational interaction with your document collection.

Tech Stack:

  • Document loading (PDF, DOCX, TXT)
  • Text splitting with RecursiveCharacterTextSplitter
  • FAISS vector store for efficient similarity search

3. Website Chatbot

BeautifulSoup Flask

Custom chatbot that can be trained on any website content through web scraping.

Implementation:

  • URL-based content ingestion
  • Context-aware responses
  • Conversation memory

4. LangChain Crash Course

Jupyter

Educational materials covering LangChain fundamentals through practical examples.

Topics Include:

  • Chains, Agents, and Memory
  • Document Loaders and Text Splitters
  • Vector Stores and Retrievers

5. Llama2 Integration Projects

Llama2 HuggingFace

Collection of implementations using Meta's Llama2 models:

a. QA Book PDF with LangChain

  • PDF question answering system
  • Custom prompt templates
  • Retrieval-Augmented Generation (RAG)

b. Run Llama2 on Google Colab

  • Free-tier Colab implementation
  • Quantized model support
  • Gradio interface

c. Local CPU Deployment

  • Optimized for CPU-only environments
  • Quantized model loading
  • Basic chat interface

🛠 Installation

git clone https://github.com/yourusername/llm-projects.git
cd llm-projects
pip install -r requirements.txt

About

Large Language Model Projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 98.2%
  • Other 1.8%