LLM tutorials and sample scripts for popular AI frameworks
Top 41.9% on sourcepulse
This repository provides a comprehensive collection of tutorials and sample Python scripts for building applications with Large Language Models (LLMs). It targets developers and researchers interested in practical LLM implementation, featuring popular frameworks like LangChain and LlamaIndex, and various vector databases and LLM providers. The primary benefit is hands-on learning through self-contained code examples that mirror detailed YouTube video tutorials.
How It Works
The project offers a structured learning path through a series of Python scripts, each corresponding to a YouTube tutorial. It demonstrates practical LLM applications such as building Q&A systems, querying databases, using local LLMs, and integrating with services like OpenAI, HuggingFace, Pinecone, and Cohere. The approach emphasizes practical implementation and covers key concepts like embeddings, tool-use, and conversational memory.
Quick Start & Requirements
pip install -r requirements.txt
.env
file).HUGGINGFACEHUB_API_TOKEN
) and Pinecone (PINECONE_API_KEY
) can be added to .env
.COHERE_API_KEY
) and Stability AI (STABILITY_API_KEY
) keys, both offering free tiers.triton
, may have architecture-specific installation issues (x86_64 recommended).Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The triton
package has architecture-specific installation requirements, potentially causing issues on non-x86_64 systems. While the repository aims to stay updated, minor code discrepancies may exist between the scripts and older YouTube tutorial videos.
3 months ago
1 day