MCPcopy Create free account

hub / github.com/Standard-Intelligence/hertz-dev / functions

Functions173 in github.com/Standard-Intelligence/hertz-dev

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
Methodaudio_callback
This is called for each audio block
inference_client.py:41
Methodcompletion
only accepts latent-space data.
model.py:351
Methoddeinit_cache
(self)
model.py:135
Functiondevice
(self)
utils/blocks.py:46
Functiondtype
(self)
utils/blocks.py:50
Functionfirst
(l)
ioblocks.py:103
Methodforward
Args: x (Tensor): Float tensor variable with the shape (B, C, T). Returns: Tensor: Float tensor variable wit
tokenizer.py:52
Methodforward
Args: x (Tensor): Float tensor variable with the shape (B, C, T). Returns: Tensor: Float tensor variable wit
tokenizer.py:93
Methodforward
(self, x)
tokenizer.py:127
Methodforward
(self, x)
tokenizer.py:158
Methodforward
(self, x)
tokenizer.py:193
Methodforward
(self, x)
tokenizer.py:288
Methodforward
(self, x, return_feats=False)
tokenizer.py:363
Methodforward
(self, x: T.Tensor)
tokenizer.py:460
Methodforward
(self, audio_input)
tokenizer.py:531
Methodforward
(self, input: Tensor)
transformer.py:148
Methodforward
(self, x)
transformer.py:164
Methodforward
x: (B, S, D) kv: (B, S, H, D)
transformer.py:224
Methodforward
x: (B, S, D) kv: (B, S, H, D)
transformer.py:247
Methodforward
(self, x: Tensor)
transformer.py:263
Methodforward
x: (B, S, D) kv: (B, S, H, D)
transformer.py:295
Methodforward
(self, x)
transformer.py:319
Methodforward
(self, x: Tensor)
transformer.py:378
Methodforward
(self, x)
ioblocks.py:91
Methodforward
einstein notation b - batch n - sequence (or flattened spatial dimensions) d - feature dimension c - number o
ioblocks.py:266
Methodforward
x: (B, S, D)
model.py:44
Methodforward
(self, data, next_tokens: Optional[Tuple[T.Tensor, T.Tensor]] = None, temps: Optional[Tuple[float, Tuple[float
model.py:139
Functionget_activation
(nonlinear_activation, nonlinear_activation_params={})
utils/blocks.py:59
Methodinference
(self, x)
tokenizer.py:163
Methodinference
(self, x)
tokenizer.py:224
Methodinference
(self, x)
tokenizer.py:382
Methodinit_cache
(self, bsize, device, dtype, length:int=None)
model.py:130
Functioninit_dist
()
utils/dist.py:56
Functioninner
(x, *args, **kwargs)
utils/blocks.py:88
Methodlatent_metric
(self, codes, get_global=False)
ioblocks.py:203
Functionlayer_param_distribution
(module)
utils/interp.py:59
Methodloss
(self, data, dataHat)
ioblocks.py:55
Functionmodel_size_estimation
(module)
utils/interp.py:44
Methodneeds_float32_params
(self)
ioblocks.py:137
Functionnew_init
(self, *args, **kwargs)
utils/blocks.py:38
Methodoutput_stream_callback
Callback for output stream to get audio data
inference_client.py:52
Functionparam_count
(module)
utils/interp.py:31
Methodprocess
(self, x)
tokenizer.py:525
Methodqueued_audio_frames_callback
(self, frames: List[av.AudioFrame])
inference_client_webrtc.py:118
Methodrepr_from_latent
(self, latent)
ioblocks.py:206
Methodreset_buffer
(self)
tokenizer.py:168
Functionround_up_multiple
(num, mult)
ioblocks.py:106
Functionset_temperature
(token_temp: Optional[float] = None, categorical_temp: Optional[float] = None, gaussian_temp: Optional[float]
inference_server.py:132
Functionsi_module
(cls: Type[si_module_TpV])
utils/blocks.py:13
Methodstop
(self)
inference_client_webrtc.py:176
Functiontruthyattr
(obj, attr)
utils/blocks.py:75
Methodunprocess
(self, latent)
tokenizer.py:528
Functionwebsocket_endpoint
(websocket: WebSocket)
inference_server.py:144
← previous101–173 of 173, ranked by callers