Skip to content

Commit

Permalink
recover transformers 4.34 refactored
Browse files Browse the repository at this point in the history
Signed-off-by: Lee <[email protected]>
  • Loading branch information
victor-k-lee committed Oct 4, 2023
1 parent ed02cf4 commit a4a2768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctransformers/transformers.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ def forward(

class CTransformersTokenizer(PreTrainedTokenizer):
def __init__(self, llm: LLM, **kwargs):
super().__init__(**kwargs)
self._llm = llm
super().__init__(**kwargs)

@property
def vocab_size(self) -> int:
Expand Down

0 comments on commit a4a2768

Please sign in to comment.