Skip to content

Commit

Permalink
GH-3585: Fix DefaultClassifier deserialization
Browse files Browse the repository at this point in the history
  • Loading branch information
alanakbik committed Dec 19, 2024
1 parent ca959f1 commit 9359232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flair/nn/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@ def _get_state_dict(self):
state["locked_dropout"] = self.locked_dropout.dropout_rate
state["multi_label"] = self.multi_label
state["multi_label_threshold"] = self.multi_label_threshold
state["loss_weights"] = self.loss_weights
state["loss_weights"] = self.weight_dict
state["train_on_gold_pairs_only"] = self.train_on_gold_pairs_only
state["inverse_model"] = self.inverse_model
if self._custom_decoder:
Expand Down

0 comments on commit 9359232

Please sign in to comment.