Skip to content

Latest commit

 

History

History
73 lines (52 loc) · 1.33 KB

MY_NOTES.md

File metadata and controls

73 lines (52 loc) · 1.33 KB

Setup

Local Setup (Win10)

  1. Prerequisites

  2. Environment

    pyenv global 3.11.9
    python -m venv venv  # removed via: sudo rm -rf venv
    .\venv\Scripts\Activate # alias venv
    pip install -U pip wheel setuptools
    pip install -r requirements.txt
  3. pre-commit

    pip install pre-commit
    pre-commit install
    pre-commit autoupdate
    # pre-commit run # test

Sync with upstream fork

  • via command line:

    git fetch upstream
    git merge upstream/main
  • via VSCode (Source Control GUI):

    • "fetch" -> "upstream"
    • "branch" -> "merge..." -> "upstream/main"
    • handle conflicts
    • commit & push

see: https://stackoverflow.com/a/19506355

GitHub Codespace Setup

  • docker is already installed
  1. Environment

    pip install -U pip wheel setuptools
    pip install -r requirements.txt
  2. pre-commit

    pip install pre-commit
    pre-commit install
    pre-commit autoupdate
    # pre-commit run # test

Homework

Module 1: Introduction to LLMs and RAG