Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonInTheRiver/DiffSinger
/ vocab_size
Method
vocab_size
utils/text_encoder.py:146–147 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
144
145
@property
146
def
vocab_size(self):
147
return
2**8 + self._num_reserved_ids
148
149
150
class
ByteTextEncoderWithEos(ByteTextEncoder):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected