MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / device

Method device

test/general/lm_eval/models/gpt3.py:107–109  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

105
106 @property
107 def device(self):
108 # Isn't used because we override _loglikelihood_tokens
109 raise NotImplementedError()
110
111 def tok_encode(self, string: str):
112 return self.tokenizer.encode(string, add_special_tokens=False)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected