(self)
| 105 | |
| 106 | @property |
| 107 | def device(self): |
| 108 | # Isn't used because we override _loglikelihood_tokens |
| 109 | raise NotImplementedError() |
| 110 | |
| 111 | def tok_encode(self, string: str): |
| 112 | return self.tokenizer.encode(string, add_special_tokens=False) |
nothing calls this directly
no outgoing calls
no test coverage detected