encode abstract method

List<int> encode(
  1. String text
)

Encodes text into a list of token IDs.

Implementation

List<int> encode(String text);