Skip to content

Commit

Permalink
Fix bug with loading module.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adibvafa committed Sep 12, 2024
1 parent b014942 commit 32557c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CodonTransformer/CodonPrediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def load_tokenizer(tokenizer_path: Optional[str] = None) -> PreTrainedTokenizerF

def tokenize(
batch: List[Dict[str, Any]],
tokenizer: Optional[PreTrainedTokenizerFast, str] = None,
tokenizer: Union[PreTrainedTokenizerFast, str] = None,
max_len: int = 2048,
) -> BatchEncoding:
"""
Expand Down

0 comments on commit 32557c2

Please sign in to comment.