(self, x: str)
| 41 | self.pad_id = -1 |
| 42 | |
| 43 | def encode(self, x: str): |
| 44 | return self.tokenizer.encode(x, add_special_tokens=False) |
| 45 | |
| 46 | def decode(self, x: List[int], truncate_at_eos=True): |
| 47 | x = [int(t) for t in x] |
no outgoing calls
no test coverage detected