We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbe15bc commit 8b15d4bCopy full SHA for 8b15d4b
contextualized/utils.py
@@ -23,7 +23,7 @@ def load(path):
23
24
"""
25
with open(path, "rb") as in_file:
26
- model = torch.load(in_file)
+ model = torch.load(in_file, weights_only=False)
27
return model
28
29
0 commit comments