Skip to content

Commit

Permalink
patch sentence transformers
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfeil committed Jun 19, 2023
1 parent 899a03a commit 61ebba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hf_hub_ctranslate2/ct2_sentence_transformers.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(
)


class CT2Transformer(torch.nn.Module):
class CT2Transformer(Module):
"""Wrapper around a sentence_transformers.models.Transformer which routes the forward
call to a CTranslate2 encoder model.
Expand Down

0 comments on commit 61ebba7

Please sign in to comment.