Ashrafb commited on
Commit
1656b2a
β€’
1 Parent(s): ad370fd

Upload tokenization_small100.py

Browse files
Files changed (1) hide show
  1. tokenization_small100.py +1 -1
tokenization_small100.py CHANGED
@@ -180,7 +180,7 @@ class SMALL100Tokenizer(PreTrainedTokenizer):
180
 
181
  @property
182
  def vocab_size(self) -> int:
183
- return len(self.encode) + len(self.lang_token_to_id) + self.num_madeup_words
184
 
185
  @property
186
  def tgt_lang(self) -> str:
 
180
 
181
  @property
182
  def vocab_size(self) -> int:
183
+ return len(self.encoder) + len(self.lang_token_to_id) + self.num_madeup_words
184
 
185
  @property
186
  def tgt_lang(self) -> str: