in grok/data.py [0:0]
def _encode(self, s: str) -> Tensor: return LongTensor([self.stoi[t] for t in s.split(" ")])