Skip to content

Commit

Permalink
Use kwargs instead of args in super call
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaarsen committed Nov 9, 2023
1 parent 4e79397 commit 65aff32
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/setfit/span/modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ def _from_pretrained(
model_kwargs["span_context"] = span_context

return super(SpanSetFitModel, cls)._from_pretrained(
model_id,
revision,
cache_dir,
force_download,
proxies,
resume_download,
local_files_only,
token,
model_id=model_id,
revision=revision,
cache_dir=cache_dir,
force_download=force_download,
proxies=proxies,
resume_download=resume_download,
local_files_only=local_files_only,
token=token,
**model_kwargs,
)

Expand Down

0 comments on commit 65aff32

Please sign in to comment.