Skip to content

Commit f814c1a

Browse files
committed
pin tf version #75
1 parent 452932a commit f814c1a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pytorch-lightning > 1.5.0
22
torch >= 1.10.0
3-
transformers != 4.18.0
3+
transformers == 4.22.1 # pin to this version due to #75
44
kaggle >= 1.5.8
55
pandas >= 1.1.2
66
scikit-learn >= 0.23.2

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77

88
setup(
99
name="detoxify",
10-
version="0.5.0",
10+
version="0.5.1",
1111
description="A python library for detecting toxic comments",
1212
long_description=long_description,
1313
long_description_content_type="text/markdown",
1414
author="Unitary",
1515
author_email="[email protected]",
1616
url="https://github.com/unitaryai/detoxify",
1717
install_requires=[
18-
"transformers != 4.18.0", # v4.18.0 fails to properly load the finetuned weights
18+
"transformers == 4.22.1", # pin to this version due to #75
1919
"torch >= 1.7.0",
2020
"sentencepiece >= 0.1.94",
2121
],

0 commit comments

Comments
 (0)