Skip to content

Commit 8b15d4b

Browse files
authored
Update utils.py
1 parent cbe15bc commit 8b15d4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contextualized/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def load(path):
2323
2424
"""
2525
with open(path, "rb") as in_file:
26-
model = torch.load(in_file)
26+
model = torch.load(in_file, weights_only=False)
2727
return model
2828

2929

0 commit comments

Comments
 (0)