(self, inputs_str: str)
| 91 | return [self.decode([tok]) for tok in tokens] |
| 92 | |
| 93 | def encode(self, inputs_str: str) -> list[int]: |
| 94 | return self.vocab.encode(inputs_str) |
| 95 | |
| 96 | def encode_list(self, inputs_strs: list[str]) -> list[int]: |
| 97 | result = [self.vocab.encode(x) for x in inputs_strs] |
no outgoing calls
no test coverage detected