Skip to content

Commit

Permalink
pin tf version #75
Browse files Browse the repository at this point in the history
  • Loading branch information
laurahanu committed Dec 19, 2022
1 parent 452932a commit f814c1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pytorch-lightning > 1.5.0
torch >= 1.10.0
transformers != 4.18.0
transformers == 4.22.1 # pin to this version due to #75
kaggle >= 1.5.8
pandas >= 1.1.2
scikit-learn >= 0.23.2
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@

setup(
name="detoxify",
version="0.5.0",
version="0.5.1",
description="A python library for detecting toxic comments",
long_description=long_description,
long_description_content_type="text/markdown",
author="Unitary",
author_email="[email protected]",
url="https://github.com/unitaryai/detoxify",
install_requires=[
"transformers != 4.18.0", # v4.18.0 fails to properly load the finetuned weights
"transformers == 4.22.1", # pin to this version due to #75
"torch >= 1.7.0",
"sentencepiece >= 0.1.94",
],
Expand Down

0 comments on commit f814c1a

Please sign in to comment.