Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Standard-Intelligence/hertz-dev
/ functions
Functions
173 in github.com/Standard-Intelligence/hertz-dev
⨍
Functions
173
◇
Types & classes
41
↳
Endpoints
1
Method
__init__
(self, c: Config)
tokenizer.py:321
Method
__init__
(self, c: Config)
tokenizer.py:481
Method
__init__
( self, dim: int, end: int, theta: float = 10_000, )
transformer.py:50
Method
__init__
(self, *args, **kwargs)
transformer.py:137
Method
__init__
(self, dim: int, eps: float = 1e-5,)
transformer.py:141
Method
__init__
(self, dim: int, expand_dim: int = None,)
transformer.py:153
Method
__init__
(self, dim: int, n_head: int, shape_rotator: ShapeRotator, kv
transformer.py:236
Method
__init__
(self, dim: int, ff_dim: int, eps: float = 1e-5,)
transformer.py:255
Method
__init__
(self, dim: int, layer_id: int = 0, n_head: int = 16, kv_heads
transformer.py:267
Method
__init__
(self, dim, vocab_size)
transformer.py:307
Method
__init__
(self, c: Config)
transformer.py:337
Method
__init__
(self, c: Config)
ioblocks.py:27
Method
__init__
(self, dim, vocab_size)
ioblocks.py:87
Method
__init__
(self, c: Config)
model.py:28
Method
__init__
(self, c: Config)
model.py:73
Method
__init__
(self, *args, **kwargs)
utils/dist.py:27
Method
_apply_weight_norm
(m)
tokenizer.py:402
Method
_remove_weight_norm
(m)
tokenizer.py:412
Method
_reset_buffer
(m)
tokenizer.py:388
Method
_reset_parameters
(m)
tokenizer.py:394
Method
audio_callback
This is called for each audio block
inference_client.py:41
Method
completion
only accepts latent-space data.
model.py:351
Method
deinit_cache
(self)
model.py:135
Function
device
(self)
utils/blocks.py:46
Function
dtype
(self)
utils/blocks.py:50
Function
first
(l)
ioblocks.py:103
Method
forward
Args: x (Tensor): Float tensor variable with the shape (B, C, T). Returns: Tensor: Float tensor variable wit
tokenizer.py:52
Method
forward
Args: x (Tensor): Float tensor variable with the shape (B, C, T). Returns: Tensor: Float tensor variable wit
tokenizer.py:93
Method
forward
(self, x)
tokenizer.py:127
Method
forward
(self, x)
tokenizer.py:158
Method
forward
(self, x)
tokenizer.py:193
Method
forward
(self, x)
tokenizer.py:288
Method
forward
(self, x, return_feats=False)
tokenizer.py:363
Method
forward
(self, x: T.Tensor)
tokenizer.py:460
Method
forward
(self, audio_input)
tokenizer.py:531
Method
forward
(self, input: Tensor)
transformer.py:148
Method
forward
(self, x)
transformer.py:164
Method
forward
x: (B, S, D) kv: (B, S, H, D)
transformer.py:224
Method
forward
x: (B, S, D) kv: (B, S, H, D)
transformer.py:247
Method
forward
(self, x: Tensor)
transformer.py:263
Method
forward
x: (B, S, D) kv: (B, S, H, D)
transformer.py:295
Method
forward
(self, x)
transformer.py:319
Method
forward
(self, x: Tensor)
transformer.py:378
Method
forward
(self, x)
ioblocks.py:91
Method
forward
einstein notation b - batch n - sequence (or flattened spatial dimensions) d - feature dimension c - number o
ioblocks.py:266
Method
forward
x: (B, S, D)
model.py:44
Method
forward
(self, data, next_tokens: Optional[Tuple[T.Tensor, T.Tensor]] = None, temps: Optional[Tuple[float, Tuple[float
model.py:139
Function
get_activation
(nonlinear_activation, nonlinear_activation_params={})
utils/blocks.py:59
Method
inference
(self, x)
tokenizer.py:163
Method
inference
(self, x)
tokenizer.py:224
Method
inference
(self, x)
tokenizer.py:382
Method
init_cache
(self, bsize, device, dtype, length:int=None)
model.py:130
Function
init_dist
()
utils/dist.py:56
Function
inner
(x, *args, **kwargs)
utils/blocks.py:88
Method
latent_metric
(self, codes, get_global=False)
ioblocks.py:203
Function
layer_param_distribution
(module)
utils/interp.py:59
Method
loss
(self, data, dataHat)
ioblocks.py:55
Function
model_size_estimation
(module)
utils/interp.py:44
Method
needs_float32_params
(self)
ioblocks.py:137
Function
new_init
(self, *args, **kwargs)
utils/blocks.py:38
Method
output_stream_callback
Callback for output stream to get audio data
inference_client.py:52
Function
param_count
(module)
utils/interp.py:31
Method
process
(self, x)
tokenizer.py:525
Method
queued_audio_frames_callback
(self, frames: List[av.AudioFrame])
inference_client_webrtc.py:118
Method
repr_from_latent
(self, latent)
ioblocks.py:206
Method
reset_buffer
(self)
tokenizer.py:168
Function
round_up_multiple
(num, mult)
ioblocks.py:106
Function
set_temperature
(token_temp: Optional[float] = None, categorical_temp: Optional[float] = None, gaussian_temp: Optional[float]
inference_server.py:132
Function
si_module
(cls: Type[si_module_TpV])
utils/blocks.py:13
Method
stop
(self)
inference_client_webrtc.py:176
Function
truthyattr
(obj, attr)
utils/blocks.py:75
Method
unprocess
(self, latent)
tokenizer.py:528
Function
websocket_endpoint
(websocket: WebSocket)
inference_server.py:144
← previous
101–173 of 173, ranked by callers