Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VITA-MLLM/VITA-Audio
/ functions
Functions
566 in github.com/VITA-MLLM/VITA-Audio
⨍
Functions
566
◇
Types & classes
121
↳
Endpoints
4
Function
cosyvoice2
()
tools/get_neural_audio_codecs.py:134
Method
create_optimizer
Setup the optimizer. We provide a reasonable default that works well. If you want to use something else, you can pass a tuple in the
tools/trainer_v4_48_3.py:423
Function
custom_init_weights
(module)
tools/inference_sts.py:180
Function
dac
()
tools/get_neural_audio_codecs.py:179
Method
decode
(self, audio_tokens, option_steps=10, **kwargs)
vita_audio/tokenizer_sensevoice_glm4voice.py:196
Method
decode
(self, audio_tokens, option_steps=10, **kwargs)
vita_audio/tokenizer_glm4voice.py:144
Method
decode
(self, prompt_speech_token, source_speech_16k=None)
vita_audio/tokenizer_sensevoice_sparktts.py:153
Method
decode
(self, prompt_speech_token, source_speech_16k=None)
vita_audio/tokenizer_cosyvoice2.py:126
Function
disconnect_user
(sid)
web_demo_stream.py:425
Function
eager_attention_forward
( module: nn.Module, query: torch.Tensor, key: torch.Tensor, value: torch.Tensor, attentio
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_qwen2.py:151
Function
eager_attention_forward
( module: nn.Module, query: torch.Tensor, key: torch.Tensor, value: torch.Tensor, attentio
vita_audio/models/qwen2_v4_48_3/modeling_qwen2.py:106
Function
eager_attention_forward
( module: nn.Module, query: torch.Tensor, key: torch.Tensor, value: torch.Tensor, attentio
vita_audio/models/qwen2_mtp_v4_48_3/modeling_qwen2.py:148
Method
encode
(self, audio_path, is_discrete=False, is_contiguous=True, **kwargs)
vita_audio/tokenizer_sensevoice_glm4voice.py:151
Method
encode
(self, audio_path, **kwargs)
vita_audio/tokenizer_glm4voice.py:134
Method
encode
(self, audio_path, is_discrete=False, is_contiguous=True, **kwargs)
vita_audio/tokenizer_sensevoice_sparktts.py:119
Method
encode
(self, audio_path, **kwargs)
vita_audio/tokenizer_cosyvoice2.py:108
Function
encodec
()
tools/get_neural_audio_codecs.py:10
Method
expand2square
(pil_img, background_color)
vita_audio/data/processor/image_processor.py:188
Method
extra_repr
(self)
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_qwen2.py:269
Method
extra_repr
(self)
vita_audio/models/qwen2_v4_48_3/modeling_qwen2.py:224
Method
extra_repr
(self)
vita_audio/models/qwen2_mtp_v4_48_3/modeling_qwen2.py:266
Function
format_function_general
(examples)
vita_audio/data/dataset_base.py:254
Method
forward
(self, x)
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_qwen2.py:100
Method
forward
( self, hidden_states: torch.Tensor, position_embeddings: Tuple[torch.Tensor, torch.Te
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_qwen2.py:194
Method
forward
(self, hidden_states)
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_qwen2.py:262
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_qwen2.py:287
Method
forward
(self, x, position_ids)
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_qwen2.py:368
Method
forward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_qwen2.py:550
Method
forward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_qwen2.py:952
Method
forward
r""" labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for computing the sequence classification/regression
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_qwen2.py:1382
Method
forward
r""" labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for computing the sequence classification/regression
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_qwen2.py:1490
Method
forward
r""" start_positions (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for position (index) of the start of the la
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_qwen2.py:1567
Method
forward
(self, x, *args, **kwargs)
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/resampler_projector.py:22
Method
forward
( self, hidden_states: torch.Tensor, position_embeddings: Tuple[torch.Tensor, torch.Te
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modular_qwen2.py:46
Method
forward
(self, x)
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_sensevoice.py:118
Method
forward
Forward function.
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_sensevoice.py:144
Method
forward
Compute scaled dot product attention. Args: query (torch.Tensor): Query tensor (#batch, time1, size). key (torch.Tens
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_sensevoice.py:282
Method
forward
(self, input)
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_sensevoice.py:347
Method
forward
Compute encoded features. Args: x_input (torch.Tensor): Input tensor (#batch, time, size). mask (torch.Tensor): Mask
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_sensevoice.py:398
Method
forward
Embed positions in tensor.
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_sensevoice.py:622
Method
forward
Encoder + Decoder + Calc loss Args: speech: (Batch, Length, ...) speech_lengths: (Batch, ) tex
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_sensevoice.py:735
Method
forward
( self, audios, )
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_sensevoice.py:1087
Method
forward
(self, x)
vita_audio/models/qwen2_v4_48_3/modeling_qwen2.py:55
Method
forward
( self, hidden_states: torch.Tensor, position_embeddings: Tuple[torch.Tensor, torch.Te
vita_audio/models/qwen2_v4_48_3/modeling_qwen2.py:149
Method
forward
(self, hidden_states)
vita_audio/models/qwen2_v4_48_3/modeling_qwen2.py:217
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
vita_audio/models/qwen2_v4_48_3/modeling_qwen2.py:242
Method
forward
(self, x, position_ids)
vita_audio/models/qwen2_v4_48_3/modeling_qwen2.py:323
Method
forward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
vita_audio/models/qwen2_v4_48_3/modeling_qwen2.py:502
Method
forward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
vita_audio/models/qwen2_v4_48_3/modeling_qwen2.py:766
Method
forward
r""" labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for computing the sequence classification/regression
vita_audio/models/qwen2_v4_48_3/modeling_qwen2.py:886
Method
forward
r""" labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for computing the sequence classification/regression
vita_audio/models/qwen2_v4_48_3/modeling_qwen2.py:994
Method
forward
r""" start_positions (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for position (index) of the start of the la
vita_audio/models/qwen2_v4_48_3/modeling_qwen2.py:1071
Method
forward
( self, hidden_states: torch.Tensor, position_embeddings: Tuple[torch.Tensor, torch.Te
vita_audio/models/qwen2_v4_48_3/modular_qwen2.py:46
Method
forward
(self, x)
vita_audio/models/qwen2_mtp_v4_48_3/modeling_qwen2.py:97
Method
forward
( self, hidden_states: torch.Tensor, position_embeddings: Tuple[torch.Tensor, torch.Te
vita_audio/models/qwen2_mtp_v4_48_3/modeling_qwen2.py:191
Method
forward
(self, hidden_states)
vita_audio/models/qwen2_mtp_v4_48_3/modeling_qwen2.py:259
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
vita_audio/models/qwen2_mtp_v4_48_3/modeling_qwen2.py:284
Method
forward
(self, x, position_ids)
vita_audio/models/qwen2_mtp_v4_48_3/modeling_qwen2.py:365
Method
forward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
vita_audio/models/qwen2_mtp_v4_48_3/modeling_qwen2.py:544
Method
forward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
vita_audio/models/qwen2_mtp_v4_48_3/modeling_qwen2.py:899
Method
forward
r""" labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for computing the sequence classification/regression
vita_audio/models/qwen2_mtp_v4_48_3/modeling_qwen2.py:1325
Method
forward
r""" labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for computing the sequence classification/regression
vita_audio/models/qwen2_mtp_v4_48_3/modeling_qwen2.py:1433
Method
forward
r""" start_positions (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for position (index) of the start of the la
vita_audio/models/qwen2_mtp_v4_48_3/modeling_qwen2.py:1510
Method
forward
( self, hidden_states: torch.Tensor, position_embeddings: Tuple[torch.Tensor, torch.Te
vita_audio/models/qwen2_mtp_v4_48_3/modular_qwen2.py:46
Method
forward_chunk
Compute scaled dot product attention. Args: query (torch.Tensor): Query tensor (#batch, time1, size). key (torch.Tens
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_sensevoice.py:303
Method
forward_chunk
Compute encoded features. Args: x_input (torch.Tensor): Input tensor (#batch, time, size). mask (torch.Tensor): Mask
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_sensevoice.py:476
Method
generate_inner
(self, msg: dict)
Kimi-Audio-Evalkit/almeval/models/vita_audio.py:128
Method
get
Retrieve an item from the queue in a thread-safe manner. Parameters: - None Returns: - any or None: The ret
web/queue.py:113
Method
get_batch_samples
(self, epoch_iterator, num_batches)
tools/trainer_v4_48_3.py:1176
Method
get_decoder
(self)
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_qwen2.py:869
Method
get_decoder
(self)
vita_audio/models/qwen2_v4_48_3/modeling_qwen2.py:761
Method
get_decoder
(self)
vita_audio/models/qwen2_mtp_v4_48_3/modeling_qwen2.py:816
Method
get_input_embeddings
(self)
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_qwen2.py:854
Method
get_input_embeddings
(self)
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_qwen2.py:1375
Method
get_input_embeddings
(self)
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_qwen2.py:1478
Method
get_input_embeddings
(self)
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_qwen2.py:1560
Method
get_input_embeddings
(self)
vita_audio/models/qwen2_v4_48_3/modeling_qwen2.py:746
Method
get_input_embeddings
(self)
vita_audio/models/qwen2_v4_48_3/modeling_qwen2.py:879
Method
get_input_embeddings
(self)
vita_audio/models/qwen2_v4_48_3/modeling_qwen2.py:982
Method
get_input_embeddings
(self)
vita_audio/models/qwen2_v4_48_3/modeling_qwen2.py:1064
Method
get_input_embeddings
(self)
vita_audio/models/qwen2_mtp_v4_48_3/modeling_qwen2.py:537
Method
get_input_embeddings
(self)
vita_audio/models/qwen2_mtp_v4_48_3/modeling_qwen2.py:801
Method
get_input_embeddings
(self)
vita_audio/models/qwen2_mtp_v4_48_3/modeling_qwen2.py:1318
Method
get_input_embeddings
(self)
vita_audio/models/qwen2_mtp_v4_48_3/modeling_qwen2.py:1421
Method
get_input_embeddings
(self)
vita_audio/models/qwen2_mtp_v4_48_3/modeling_qwen2.py:1503
Method
get_output_embeddings
(self)
vita_audio/models/qwen2_mtp_sensevoice_v4_48_3/modeling_qwen2.py:860
Method
get_output_embeddings
(self)
vita_audio/models/qwen2_v4_48_3/modeling_qwen2.py:752
Method
get_output_embeddings
(self)
vita_audio/models/qwen2_mtp_v4_48_3/modeling_qwen2.py:807
Method
get_train_dataloader
Returns the training [`~torch.utils.data.DataLoader`]. Will use no sampler if `train_dataset` does not implement `__len__`, a random
tools/trainer_v4_48_3.py:386
Method
get_vocab
(self)
vita_audio/models/qwen2_mtp_v4_48_3/tokenization_qwen2.py:217
Function
glm4voice
()
tools/get_neural_audio_codecs.py:105
Function
handle_audio
(data)
web_demo_stream.py:534
Function
handle_connect
()
web_demo_stream.py:443
Function
handle_disconnect
()
web_demo_stream.py:461
Function
handle_recording_started
()
web_demo_stream.py:475
Function
handle_recording_stopped
()
web_demo_stream.py:492
Function
handle_tts_playing
()
web_demo_stream.py:507
Function
handle_tts_stopped
()
web_demo_stream.py:514
Method
has_enough_data
Check if the buffer contains enough data to fulfill a request of a specified length. Parameters: - length (int): The number
web/queue.py:72
Function
index
()
web_demo_stream.py:438
← previous
next →
401–500 of 566, ranked by callers