\brief Encode the text \param text the text \return the encoded tokens
| 154 | /// \param text the text |
| 155 | /// \return the encoded tokens |
| 156 | std::vector<int> Tokenizer::encode(const std::string& text) { |
| 157 | return this->tokenizer->Encode(text); |
| 158 | } |
| 159 | |
| 160 | /// \brief Decode the tokens |
| 161 | /// \param tokens the tokens |
no outgoing calls
no test coverage detected