Skip to content

datanizing/oreilly-open-source-llm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

O'Reilly Live Course: Open Source Large Language Models Bootcamp

Repository for the course with all material. The course is organized in two days, notebooks and presentations can be found in the respective folders.

Python setup

uv

If possible, work with uv. Clone the repository and run uv sync.

anaconda or pip

Create an venv or conda environment and install the following packages:

  • accelerate
  • autoawq
  • bitsandbytes
  • device-smi
  • exllamav2
  • flash-attn
  • flashinfer-python
  • ipykernel
  • ipython
  • ipywidgets
  • jupyter
  • langchain
  • langchain-community
  • langchain-huggingface
  • logbar
  • nvidia-ml-py
  • openai
  • optimum
  • pandas
  • pip
  • pymilvus
  • sentence-transformers
  • spacy
  • tantivy
  • tokenicer
  • tqdm
  • transformers
  • txtai
  • usearch
  • vllm

flash-attn should be installed with the option --no-build-isolation.

Of course, you can also Use the supplied requirements.txt, but some dependencies might be outdated.

runpod

You can also use runpod. uv is already preinstalled there.

Notebooks

You can either try to run the notebooks directly or try to follow how I run them and use it as a documentation (or run it later).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published