Skip to content

Commit

Permalink
📝 Fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Martinez <Marcos.Martinez.Galindo@ibm.com>
  • Loading branch information
marmg committed Aug 28, 2023
1 parent 5a6f5a2 commit f2f04a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zshot/linker/linker_regen/linker_regen.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def load_tokenizer(self):
cache_dir=MODELS_CACHE_PATH)

def restrict_decode_vocab(self, _, prefix_beam):
""" Restrict the posibilities of the Beam search to force the text generation """
""" Restrict the possibilities of the Beam search to force the text generation """
return self.trie.postfix(prefix_beam.tolist())

def predict(self, docs: Iterator[Doc], batch_size: Optional[Union[int, None]] = None) -> List[List[Span]]:
Expand Down

0 comments on commit f2f04a8

Please sign in to comment.