Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
AngledLuffa committed Dec 24, 2024
1 parent 9578401 commit 667e35c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stanza/models/lemma/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ def unpack_batch(batch, device):

class Trainer(object):
""" A trainer for training models. """
def __init__(self, args=None, vocab=None, emb_matrix=None, model_file=None, device=None, foundation_cache=None):
def __init__(self, args=None, vocab=None, emb_matrix=None, model_file=None, device=None, foundation_cache=None, lemma_classifier_args=None):
if model_file is not None:
# load everything from file
self.load(model_file, args, foundation_cache)
self.load(model_file, args, foundation_cache, lemma_classifier_args)
else:
# build model from scratch
self.args = args
Expand Down

0 comments on commit 667e35c

Please sign in to comment.