Skip to content

Commit

Permalink
Fix scikit-learn to 1.5.2 to fix f1 evaluation crash in 1.6.0 (huggin…
Browse files Browse the repository at this point in the history
…gface#1596)

Signed-off-by: Wang, Yi A <[email protected]>
  • Loading branch information
sywangyi authored Dec 12, 2024
1 parent f031d2d commit dd54fda
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/image-classification/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ torch>=1.5.0
torchvision>=0.6.0
datasets>=2.14.0
evaluate
scikit-learn
timm>=0.9.16
scikit-learn == 1.5.2
timm>=0.9.16
2 changes: 1 addition & 1 deletion examples/language-modeling/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ datasets >= 2.14.0
sentencepiece != 0.1.92
protobuf
evaluate
scikit-learn
scikit-learn == 1.5.2
peft == 0.12.0
2 changes: 1 addition & 1 deletion examples/protein-folding/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
datasets>=2.14.0
scikit-learn
scikit-learn == 1.5.2
2 changes: 1 addition & 1 deletion examples/text-classification/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
datasets >= 2.4.0
sentencepiece != 0.1.92
scipy
scikit-learn
scikit-learn == 1.5.2
protobuf
torch >= 1.3
evaluate
2 changes: 1 addition & 1 deletion examples/trl/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ peft == 0.12.0
datasets == 2.19.2
tyro
evaluate
scikit-learn
scikit-learn == 1.5.2

0 comments on commit dd54fda

Please sign in to comment.