MCPcopy Create free account
hub / github.com/OpenSparseLLMs/MoM / tok_encode

Method tok_encode

lm-eval-harness/lm_eval/models/textsynth.py:90–92  ·  view source on GitHub ↗
(self, string: str)

Source from the content-addressed store, hash-verified

88 raise NotImplementedError()
89
90 def tok_encode(self, string: str):
91 # Isn't used because we override loglikelihood, loglikelihood_rolling and generate_until
92 raise NotImplementedError()
93
94 def tok_decode(self, tokens):
95 # Isn't used because we override loglikelihood, loglikelihood_rolling and generate_until

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected