This commit is contained in:
hiyouga 2023-11-09 13:45:10 +08:00
parent 01260d9754
commit 33422e1fef
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
torch>=1.13.1
transformers>=4.31.0,<4.35.0
datasets>=2.12.0
datasets>=2.14.0
accelerate>=0.21.0
peft>=0.6.0
trl==0.7.2

View File

@ -39,7 +39,7 @@ logger = get_logger(__name__)
require_version("transformers>=4.31.0,<4.35.0", "To fix: pip install \"transformers>=4.31.0,<4.35.0\"")
require_version("datasets>=2.12.0", "To fix: pip install datasets>=2.12.0")
require_version("datasets>=2.14.0", "To fix: pip install datasets>=2.14.0")
require_version("accelerate>=0.21.0", "To fix: pip install accelerate>=0.21.0")
require_version("peft>=0.6.0", "To fix: pip install peft>=0.6.0")
require_version("trl==0.7.2", "To fix: pip install trl==0.7.2")