From bccd2525941beb6c568c6bdb230ef0a8c8232cb6 Mon Sep 17 00:00:00 2001 From: Matias Morsa Date: Mon, 17 Jul 2023 10:47:18 -0300 Subject: [PATCH] Support Poetry. Added poetry to the README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index d67c5799..23528f72 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,16 @@ In order to set your environment up to run the code here, first install all requ pip3 install -r requirements.txt ``` +*Alternative requirements installation with poetry* +1. Install [poetry](https://python-poetry.org/docs/#installation) + +2. Run this commands +```shell +cd privateGPT +poetry install +poetry shell +``` + Then, download the LLM model and place it in a directory of your choice: - LLM: default to [ggml-gpt4all-j-v1.3-groovy.bin](https://gpt4all.io/models/ggml-gpt4all-j-v1.3-groovy.bin). If you prefer a different GPT4All-J compatible model, just download it and reference it in your `.env` file.