From 92695ae858dd6e1cb2bac502b540c6847f8f0863 Mon Sep 17 00:00:00 2001 From: Sanjana Garg Date: Mon, 29 Jan 2024 15:43:44 -0800 Subject: [PATCH] HF datasets version fix --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0c6350a9..2d0c8028 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,7 @@ dependencies = [ ] [project.optional-dependencies] -huggingface = ["datasets>=2.7.0"] +huggingface = ['datasets>=2.15.0; python_version > "3.7"', 'datasets>=2.7.0; python_version < "3.8"'] pytorch = ["torchvision>=0.12.0"] azure = ["adlfs>=2022.2.0"] # latest compatible with Python 3.7 gcs = ["gcsfs>=2022.1.0"] # latest compatible with Python 3.7