8000 GitHub - mircomarahrens/rag-demo
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mircomarahrens/rag-demo

Repository files navigation

Retrieval-augmented generation with open-source large language models

Prerequisites

The tested environment is

$ uname -a
Linux richardfeynman 5.15.133.1-microsoft-standard-WSL2 #1 SMP Thu Oct 5 21:02:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"
$ poetry --version
Poetry (version 1.5.1)
$ /usr/local/cuda/bin/nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Sep_21_10:33:58_PDT_2022
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0
$ nvidia-smi --query-gpu=gpu_name,memory.total --format=csv
name, memory.total [MiB]
NVIDIA GeForce RTX 3060, 12288 MiB

Setup

Using poetry

poetry install

or using the provided requirements.txt with pip

pip install -r requirements.txt

Presentation

Each of the notebooks are representable as slides in a browser, i.e. for notebooks/00_introduction.ipynb, run

jupyter nbconvert notebooks/00_introduction.ipynb --to slides --post serve

This will open a browser window with the notebook rendered as slides.

References

Papers

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0