From e559c3e36cda0307da1a32fae7265767b1981d3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Haojie=20Jia=28Allons=CE=B3=29?= <32014575+yinxiangshi@users.noreply.github.com> Date: Wed, 20 Apr 2022 18:56:26 -0500 Subject: [PATCH 1/2] Add files via upload --- README.md | 4 ++++ setup.py | 38 +++++++++++++++++++------------------- 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 4c0f625..3f56686 100755 --- a/README.md +++ b/README.md @@ -14,6 +14,9 @@ ## 🔧 New +**4/20/22** +1. We have updated the `setup.py` to make installation more flexible. If you have any problems with installation, please let us know. + **3/18/22** 1. Wrench is available on [ws-benchmark](https://pypi.org/project/ws-benchmark/) now, using `pip install ws-benchmark` to qucik install. @@ -36,6 +39,7 @@ For more information, checkout our publications: - [WRENCH: A Comprehensive Benchmark for Weak Supervision](https://arxiv.org/abs/2109.11377) (NeurIPS 2021) +- [A Survey on Programmatic Weak Supervision](https://arxiv.org/pdf/2202.05433.pdf) If you find this repository helpful, feel free to cite our publication: diff --git a/setup.py b/setup.py index 7a2b572..44ab7cc 100644 --- a/setup.py +++ b/setup.py @@ -30,34 +30,34 @@ packages=find_packages(exclude=("test*",)), include_package_data=True, install_requires=[ - 'cytoolz==0.11.0', - 'dill==0.3.4', - 'flyingsquid==0.0.0a0', + 'cytoolz>=0.11.0', + 'dill>=0.3.0,<0.4.0', + 'flyingsquid>=0.0.0a0', 'future>=0.18.2', - 'higher>=0.2.1', - 'typing-extensions>=3.10.0.0, <=3.10.0.2', - 'torch==1.9.0', - 'torchvision==0.10.0', - 'tqdm>=4.62.1', - 'transformers>=4.6.1,<=4.7.0', - 'numpy>=1.19.2,<=1.19.5', - 'snorkel==0.9.7', - 'seqeval==1.2.2', - 'scikit-learn==0.24.2', - 'optuna>=2.7.0,<=2.8.0', - 'pandas>=1.1.5', + 'higher>=0.2', + 'typing-extensions>=3.10.0.0', + 'torch>=1.2.0,<2.0.0', + 'torchvision>=0.10.0', + 'tqdm>=4.33.0,<5.0.0', + 'transformers>=4.6.1', + 'numpy>=1.16.5,<=1.22.3', + 'snorkel>=0.9.7', + 'seqeval>=1.2.2', + 'scikit-learn>=0.20.2,<0.25.0', + 'optuna>=2.7.0,<=2.10.0', + 'pandas>=1.1.5,<=2.0.0', 'pillow>=8.3.2', - 'sentence-transformers==1.1.1', + 'sentence-transformers>=1.1.1', 'openml>=0.12.2', 'cvxpy>=1.1.13,<=1.1.15', - 'scipy>=1.5.2,<=1.5.4', + 'scipy>=1.2.0,<2.0.0', 'faiss-gpu>=1.7.1', 'numbskull==0.1.1', 'numba==0.43.0', 'snorkel-metal>=0.5.0', - 'spacy>=3.1.2,<=3.1.5', + 'spacy>=2.1.0,<3.0.0', 'skweak>=0.2.13', - 'networkx==2.7', + 'networkx>=2.2,<2.7', ], python_requires=">=3.6", keywords="machine-learning ai weak-supervision", From 19f9a625dc91a6001bb7addb494c20d83231136e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Haojie=20Jia=28Allons=CE=B3=29?= <32014575+yinxiangshi@users.noreply.github.com> Date: Wed, 20 Apr 2022 19:35:30 -0500 Subject: [PATCH 2/2] Add files via upload --- README.md | 9 ++++++++- setup.py | 1 - 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3f56686..5f874c8 100755 --- a/README.md +++ b/README.md @@ -15,7 +15,14 @@ ## 🔧 New **4/20/22** -1. We have updated the `setup.py` to make installation more flexible. If you have any problems with installation, please let us know. +1. We have updated the `setup.py` to make installation more flexible. + +Please use `pip install ws-benchmark==1.1.2rc0` to install the latest version. We strongly suggest create a new environment to install wrench. We will bring better compatibility in the next stable release. + If you have any problems with installation, please let us know. + +Known incompatibilities: + +`tensorflow==2.8.0`, `albumentations==0.1.12` **3/18/22** 1. Wrench is available on [ws-benchmark](https://pypi.org/project/ws-benchmark/) now, using `pip install ws-benchmark` to qucik install. diff --git a/setup.py b/setup.py index 44ab7cc..b676f48 100644 --- a/setup.py +++ b/setup.py @@ -55,7 +55,6 @@ 'numbskull==0.1.1', 'numba==0.43.0', 'snorkel-metal>=0.5.0', - 'spacy>=2.1.0,<3.0.0', 'skweak>=0.2.13', 'networkx>=2.2,<2.7', ],