Skip to content

Commit

Permalink
Removed non utilized parameter. #362
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolay-r committed Jul 12, 2022
1 parent 85b0952 commit 7400599
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arekit/contrib/bert/handlers/serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class BertExperimentInputSerializerIterationHandler(ExperimentIterationHandler):

def __init__(self, data_type_pipelines, sample_rows_provider, exp_io,
exp_ctx, doc_ops, save_labels_func, balance_func, keep_opinions_repo=False):
doc_ops, save_labels_func, balance_func, keep_opinions_repo=False):
""" sample_rows_formatter:
how we format input texts for a BERT model, for example:
- single text
Expand All @@ -33,7 +33,6 @@ def __init__(self, data_type_pipelines, sample_rows_provider, exp_io,
self.__sample_rows_provider = sample_rows_provider
self.__balance_func = balance_func
self.__exp_io = exp_io
self.__exp_ctx = exp_ctx
self.__doc_ops = doc_ops
self.__data_type_pipelines = data_type_pipelines
self.__save_labels_func = save_labels_func
Expand Down

0 comments on commit 7400599

Please sign in to comment.