From 5fdab5edb2349dfcba45461ecd112f437508235c Mon Sep 17 00:00:00 2001 From: Karim Date: Mon, 2 Oct 2023 21:26:45 +0200 Subject: [PATCH 1/3] add requirements.txt --- README.md | 9 +++++++++ requirements.txt | 11 +++++++++++ 2 files changed, 20 insertions(+) create mode 100644 requirements.txt diff --git a/README.md b/README.md index 527c825..bcc7f1a 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,15 @@ pip install transformers accelerate datasets evaluate wandb scikit-learn scipy s python setup.py develop ``` +Alternative installation: + +``` +python3 -m venv venv +source venv/bin/activate +pip install -r requirements.txt +``` + + ### Run Streaming Llama Chatbot ```bash diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..c5cae70 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,11 @@ +torch==2.0.1 +torchaudio==2.0.2 +torchvision==0.15.2 +accelerate==0.23.0 +datasets==2.14.5 +evaluate==0.4.0 +scikit-learn==1.3.1 +scipy==1.11.3 +transformers==4.33.3 +wandb==0.15.11 +sentencepiece==0.1.99 From af6b24bf4a9aa706a9bab4df42e4a99e3343b52a Mon Sep 17 00:00:00 2001 From: Karim Date: Mon, 2 Oct 2023 21:27:30 +0200 Subject: [PATCH 2/3] Update readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index bcc7f1a..ad9cd78 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ Alternative installation: python3 -m venv venv source venv/bin/activate pip install -r requirements.txt +python setyp.py develop ``` From e730de30338b2eb0541878a9bac0cf89e01782b6 Mon Sep 17 00:00:00 2001 From: Karim Date: Mon, 2 Oct 2023 22:07:36 +0200 Subject: [PATCH 3/3] fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ad9cd78..b4cbb94 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Alternative installation: python3 -m venv venv source venv/bin/activate pip install -r requirements.txt -python setyp.py develop +python setup.py develop ```