(self, token: int)
| 120 | # Vocab |
| 121 | |
| 122 | def token_get_text(self, token: int) -> str: |
| 123 | return llama_cpp.llama_vocab_get_text(self.vocab, token).decode("utf-8") |
| 124 | |
| 125 | def token_get_score(self, token: int) -> float: |
| 126 | return llama_cpp.llama_vocab_get_score(self.vocab, token) |
no test coverage detected