MCPcopy Create free account
hub / github.com/THUDM/AutoWebGLM / decode

Method decode

webarena/llms/tokenizers.py:25–26  ·  view source on GitHub ↗
(self, ids: list[int])

Source from the content-addressed store, hash-verified

23 return self.tokenizer.encode(text)
24
25 def decode(self, ids: list[int]) -> str:
26 return self.tokenizer.decode(ids)
27
28 def __call__(self, text: str) -> list[int]:
29 return self.tokenizer.encode(text)

Callers 9

get_free_gpusFunction · 0.80
generationMethod · 0.80
modify_pageMethod · 0.80
renderMethod · 0.80
generationFunction · 0.80
constructMethod · 0.80
constructMethod · 0.80
constructMethod · 0.80
constructMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected