Skip to content

Commit

Permalink
When making a constituency Ensemble, save the args used to build it i…
Browse files Browse the repository at this point in the history
…n the Ensemble itself
  • Loading branch information
AngledLuffa committed Oct 28, 2024
1 parent 6e4f780 commit 1d50fc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stanza/models/constituency/ensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def __init__(self, args, filenames=None, models=None, foundation_cache=None):
"""
super().__init__()

self.args = args
if filenames:
if models:
raise ValueError("both filenames and models set when making the Ensemble")
Expand Down

0 comments on commit 1d50fc9

Please sign in to comment.