GitXplorerGitXplorer
h

tutorial-buffet

public
14 stars
8 forks
1 issues

Commits

List of commits on branch master.
Unverified
4f99fb14cd5629a909a05f10e79cfe9f9cfd6410

re-organize the tutorials

hharrywang committed 8 months ago
Unverified
8286a08852d5592fb39c1ba3ed84d38e20f25e95

updated readme

hharrywang committed 8 months ago
Unverified
c5e5d0add646ef245f6df5d3754d0032a8adb40d

added rag

hharrywang committed 8 months ago
Unverified
d9501a002782ea0e2898c7d5f2e358f002b7f780

ignore tmp

hharrywang committed 8 months ago
Unverified
24cf00a9e283d7d7a591a75f09de3fc2ac1156eb

added autogen

hharrywang committed 8 months ago
Unverified
a4d7181ac1da44a7999f4fbf12a7c70355a55fa6

added tutorial

hharrywang committed 8 months ago

README

The README file for this repository.

This repo contains a set of AI and Data Science tutorials in Python curated and revised by me. I modified most of the tutorials to add more instructions and make sure they work well in configured virtual environments. Many thanks to the tutorial authors and other contributors. See the README in each tutorial folder for details.

I organize the tutorials into four folders:

  • ai for AI tutorials
  • ds for Data Science tutorials
  • ml for machine learning/deep learning tutorials
  • other for code on things like data processing, one-off tricks, etc.

Setup

Each tutorial may have different version requirements for certain packages. So, each tutorial will use a separate virtual environment.

For some tutorials, you may need to set API keys. You need to add a .env file and include the API keys as follows (see my blog post on Manage Environment Variables in Python Projects):

OPENAI_API_KEY=sk-proj-xxxx
LANGCHAIN_API_KEY=ls__69650xxxx
REPLICATE_API_TOKEN=r8_W0V3rJxxx

To run each tutorial, you need to do the following at the root of this project - I use document_clustering tutorial as an example:

cd document_clustering
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Then, you can use VSCode code . to open the notebooks.