MCPcopy Create free account
hub / github.com/ddbourgin/numpy-ml / tokens

Method tokens

numpy_ml/preprocessing/nlp.py:389–391  ·  view source on GitHub ↗

A list of the byte pair codeword IDs

(self)

Source from the content-addressed store, hash-verified

387
388 @property
389 def tokens(self):
390 """A list of the byte pair codeword IDs"""
391 return list(self.token2byte.keys())
392
393
394#######################################################################

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected