From 8fecaaee2841e5a62c9b034980a8badc56e67780 Mon Sep 17 00:00:00 2001 From: Shengheng Yan Date: Tue, 20 Feb 2024 18:25:49 +0200 Subject: [PATCH 1/2] update the requirements for python3.6 --- requirements.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index b711ddd..3b09106 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,10 @@ -torch==1.7.0 +torch==1.7.0+cpu +torchvision==0.8.1+cpu +torchaudio===0.7.0 +typing-extensions==3.7.2 +requests==2.18.4 +packaging==16.8 +filelock==3.0.12 nltk==3.4.5 colorama==0.4.4 transformers==3.4.0 From 598fff95bc2e393e735acec24cda4ddc00410650 Mon Sep 17 00:00:00 2001 From: Shengheng Yan Date: Tue, 20 Feb 2024 18:31:24 +0200 Subject: [PATCH 2/2] update the instruction --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9dd1fc1..ced477f 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,9 @@ PPLM allows a user to flexibly plug in one or more tiny attribute models represe See also our [arXiv paper](https://arxiv.org/abs/1912.02164), [blog post](https://eng.uber.com/pplm), and try it out for yourself with no setup using the [Colab notebook](https://colab.research.google.com/drive/1Ux0Z4-ruiVtJ6jUk98uk6FqfvGHCOYL3). ## Setup - +The project require Python3.6. ```bash -pip install -r requirements.txt +pip install -r requirements.txt -f https://download.pytorch.org/whl/torch_stable.html ``` ## Citation