Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Time-MoE/Time-MoE
/ functions
Functions
134 in github.com/Time-MoE/Time-MoE
⨍
Functions
134
◇
Types & classes
30
Method
_reorder_cache
(past_key_values, beam_idx)
time_moe/models/modeling_time_moe.py:1166
Method
_sample
( self, input_ids: torch.LongTensor, logits_processor: LogitsProcessorList
time_moe/models/ts_generation_mixin.py:14
Method
_set_signature_columns_if_needed
(self)
time_moe/trainer/hf_trainer.py:45
Method
_upad_input
(self, query_layer, key_layer, value_layer, attention_mask, query_length)
time_moe/models/modeling_time_moe.py:614
Method
create_scheduler
(self, num_training_steps: int, optimizer: torch.optim.Optimizer = None)
time_moe/trainer/hf_trainer.py:24
Method
forward
(self, x)
time_moe/models/modeling_time_moe.py:186
Method
forward
(self, x, seq_len=None)
time_moe/models/modeling_time_moe.py:217
Method
forward
(self, hidden_states)
time_moe/models/modeling_time_moe.py:235
Method
forward
(self, hidden_state)
time_moe/models/modeling_time_moe.py:253
Method
forward
(self, hidden_state)
time_moe/models/modeling_time_moe.py:261
Method
forward
time_moe/models/modeling_time_moe.py:293
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor
time_moe/models/modeling_time_moe.py:383
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.LongTe
time_moe/models/modeling_time_moe.py:470
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor
time_moe/models/modeling_time_moe.py:678
Method
forward
( self, input_ids: torch.FloatTensor = None, attention_mask: Optional[torc
time_moe/models/modeling_time_moe.py:779
Method
forward
Args: x (torch.FloatTensor): with shape [B, seq_len, hidden_size] Returns: ` torch.FloatTensor: final predict
time_moe/models/modeling_time_moe.py:927
Method
forward
( self, input_ids: torch.FloatTensor = None, attention_mask: Optional[torc
time_moe/models/modeling_time_moe.py:974
Method
get_decoder
(self)
time_moe/models/modeling_time_moe.py:971
Function
get_local_world_size
()
time_moe/utils/dist_util.py:23
Method
get_num_tokens
(self)
time_moe/datasets/time_moe_dataset.py:89
Method
get_num_tokens
(self)
time_moe/datasets/binary_dataset.py:62
Method
get_num_tokens
(self)
time_moe/datasets/ts_dataset.py:16
Method
get_num_tokens
(self)
time_moe/datasets/general_dataset.py:27
Method
get_sequence_length_by_idx
(self, seq_idx)
time_moe/datasets/time_moe_dataset.py:79
Method
get_sequence_length_by_idx
(self, seq_idx)
time_moe/datasets/ts_dataset.py:20
Method
get_sequence_length_by_idx
(self, seq_idx)
time_moe/datasets/general_dataset.py:32
Function
is_master_process
()
time_moe/utils/dist_util.py:7
Method
is_valid_path
(data_path)
time_moe/datasets/ts_dataset.py:24
Method
is_valid_path
(data_path)
time_moe/datasets/general_dataset.py:37
Function
max_scaler
(seq)
time_moe/datasets/time_moe_dataset.py:112
Function
parse_arbitrary_args
Parse arbitrary command-line arguments in the format --key value. Args: argv: List of arguments (typically sys.argv). Returns:
torch_dist_run.py:14
Function
save_json_file
(obj, fn)
time_moe/datasets/binary_dataset.py:110
Method
set_decoder
(self, decoder)
time_moe/models/modeling_time_moe.py:968
Function
zero_scaler
(seq)
time_moe/datasets/time_moe_dataset.py:96
← previous
101–134 of 134, ranked by callers