MCPcopy Create free account

hub / github.com/Alpha-VLLM/LLaMA2-Accessory / functions

Functions1,094 in github.com/Alpha-VLLM/LLaMA2-Accessory

Method__init__
( self, dim: int, hidden_dim: int, args:ModelArgs )
accessory/model/LLM/mixtral_peft.py:201
Method__init__
(self, layer_id: int, args: ModelArgs)
accessory/model/LLM/mixtral_peft.py:309
Method__init__
(self, args: ModelArgs, with_visual=False)
accessory/model/LLM/mixtral_peft.py:344
Method__init__
( self, dim: int, hidden_dim: int, multiple_of: int, ffn_dim_multiplie
accessory/model/LLM/llama_ens10.py:188
Method__init__
(self, layer_id: int, args: ModelArgs)
accessory/model/LLM/llama_ens10.py:221
Method__init__
(self, args: ModelArgs, with_visual=False)
accessory/model/LLM/llama_ens10.py:253
Method__init__
(self, args: ModelArgs, layer_idx: int = None)
accessory/model/LLM/falcon.py:68
Method__init__
(self, layer_id: int, args: ModelArgs)
accessory/model/LLM/falcon.py:223
Method__init__
(self, args: ModelArgs, with_visual=False)
accessory/model/LLM/falcon.py:279
Method__init__
( self, dim: int, hidden_dim: int, multiple_of: int, ffn_dim_multiplie
accessory/model/LLM/llama_ens5.py:188
Method__init__
(self, layer_id: int, args: ModelArgs)
accessory/model/LLM/llama_ens5.py:221
Method__init__
(self, args: ModelArgs, with_visual=False)
accessory/model/LLM/llama_ens5.py:253
Method__init__
( self, dim: int, hidden_dim: int, multiple_of: int, ffn_dim_multiplie
accessory/model/LLM/llama.py:227
Method__init__
(self, layer_id: int, args: ModelArgs)
accessory/model/LLM/llama.py:260
Method__init__
(self, args: ModelArgs, with_visual=False)
accessory/model/LLM/llama.py:292
Method__init__
( self, dim: int, hidden_dim: int, multiple_of: int, ffn_dim_multiplie
accessory/model/LLM/llama_qformerv2_peft.py:191
Method__init__
(self, layer_id: int, args: ModelArgs)
accessory/model/LLM/llama_qformerv2_peft.py:228
Method__init__
(self, args: ModelArgs, with_visual=False)
accessory/model/LLM/llama_qformerv2_peft.py:262
Method__init__
(self, args: ModelArgs)
accessory/model/LLM/mixtral_sparse_ens5.py:82
Method__init__
(self, layer_id: int, args: ModelArgs)
accessory/model/LLM/mixtral_sparse_ens5.py:499
Method__init__
(self, args: ModelArgs, with_visual=False)
accessory/model/LLM/mixtral_sparse_ens5.py:531
Method__init__
( self, dim: int, hidden_dim: int, multiple_of: int, ffn_dim_multiplie
accessory/model/LLM/llama_ens5p2.py:188
Method__init__
(self, layer_id: int, args: ModelArgs)
accessory/model/LLM/llama_ens5p2.py:221
Method__init__
(self, args: ModelArgs, with_visual=False)
accessory/model/LLM/llama_ens5p2.py:253
Method__init__
(self, args: ModelArgs)
accessory/model/LLM/mixtral_sparse.py:76
Method__init__
(self, layer_id: int, args: ModelArgs)
accessory/model/LLM/mixtral_sparse.py:493
Method__init__
(self, args: ModelArgs, with_visual=False)
accessory/model/LLM/mixtral_sparse.py:525
Method__init__
( self, dim: int, hidden_dim: int, multiple_of: int, ffn_dim_multiplie
accessory/model/LLM/llama_ens.py:188
Method__init__
(self, layer_id: int, args: ModelArgs)
accessory/model/LLM/llama_ens.py:221
Method__init__
(self, args: ModelArgs, with_visual=False)
accessory/model/LLM/llama_ens.py:253
Method__init__
( self, dim: int, hidden_dim: int, multiple_of: int, ffn_dim_multiplie
accessory/model/LLM/llama_qformerv2.py:182
Method__init__
(self, layer_id: int, args: ModelArgs)
accessory/model/LLM/llama_qformerv2.py:215
Method__init__
(self, args: ModelArgs, with_visual=False)
accessory/model/LLM/llama_qformerv2.py:247
Method__init__
(self, args: ModelArgs)
accessory/model/LLM/mixtral.py:58
Method__init__
( self, dim: int, hidden_dim: int, )
accessory/model/LLM/mixtral.py:192
Method__init__
(self, layer_id: int, args: ModelArgs)
accessory/model/LLM/mixtral.py:298
Method__init__
(self, args: ModelArgs, with_visual=False)
accessory/model/LLM/mixtral.py:331
Method__init__
( self, dim: int, hidden_dim: int, multiple_of: int, ffn_dim_multiplie
accessory/model/LLM/llama_peft.py:192
Method__init__
(self, layer_id: int, args: ModelArgs)
accessory/model/LLM/llama_peft.py:229
Method__init__
(self, args: ModelArgs, with_visual=False)
accessory/model/LLM/llama_peft.py:263
Method__init__
( self, dim: int, hidden_dim: int, multiple_of: int, ffn_dim_multiplie
accessory/model/LLM/llama_ens_light.py:189
Method__init__
(self, layer_id: int, args: ModelArgs)
accessory/model/LLM/llama_ens_light.py:222
Method__init__
(self, args: ModelArgs, with_visual=False)
accessory/model/LLM/llama_ens_light.py:254
Method__init__
( self, dim: int, hidden_dim: int, multiple_of: int, ffn_dim_multiplie
accessory/model/LLM/llama_adapter.py:232
Method__init__
(self, layer_id: int, args: ModelArgs)
accessory/model/LLM/llama_adapter.py:269
Method__init__
(self, args: ModelArgs, with_visual=False)
accessory/model/LLM/llama_adapter.py:305
Method__init__
( self, dim: int, hidden_dim: int, multiple_of: int, ffn_dim_multiplie
accessory/model/LLM/llama_ens_peft.py:198
Method__init__
(self, layer_id: int, args: ModelArgs)
accessory/model/LLM/llama_ens_peft.py:235
Method__init__
(self, args: ModelArgs, with_visual=False)
accessory/model/LLM/llama_ens_peft.py:269
Method__init__
(self, args: ModelArgs)
accessory/model/LLM/mixtral_sparse_ens.py:80
Method__init__
(self, layer_id: int, args: ModelArgs)
accessory/model/LLM/mixtral_sparse_ens.py:497
Method__init__
(self, args: ModelArgs, with_visual=False)
accessory/model/LLM/mixtral_sparse_ens.py:529
Method__init__
( self, dim: int, hidden_dim: int, out_dim: int, bias: bool, m
accessory/model/LLM/internlm.py:173
Method__init__
(self, layer_idx, args:ModelArgs)
accessory/model/LLM/internlm.py:204
Method__init__
(self, args: ModelArgs, with_visual=False)
accessory/model/LLM/internlm.py:284
Method__init__
( self, dim: int, hidden_dim: int, multiple_of: int, ffn_dim_multiplie
accessory/model/LLM/llama_ens5_light.py:189
Method__init__
(self, layer_id: int, args: ModelArgs)
accessory/model/LLM/llama_ens5_light.py:222
Method__init__
(self, args: ModelArgs, with_visual=False)
accessory/model/LLM/llama_ens5_light.py:254
Method__init__
(self, data_meta_path, data_root, tokenizer_path, max_words=1024, seed=12345, shuffle=False, num_processes=1,
accessory/data/falcon.py:16
Method__init__
(self, filenames, max_words, seed, shuffle, tokenizer, rank_id, worker_id, state_dict)
accessory/data/falcon.py:76
Method__init__
(self, data_meta_path, data_root, tokenizer_path, max_words=1024)
accessory/data/falcon.py:167
Method__init__
pad an image to squre (borrowed from LLAVA, thx) :param background_color: rgb values for padded pixels, normalized to [0, 1]
accessory/data/transform.py:12
Method__init__
(self, data_meta_path, data_root, tokenizer_path, max_words=None, seed=12345, shuffle=False, num_processes=1,
accessory/data/falcon_packed.py:17
Method__init__
(self, filenames, seed, shuffle, tokenizer, rank_id, worker_id, state_dict)
accessory/data/falcon_packed.py:79
Method__init__
(self, data_meta_path, data_root, tokenizer_path, max_words=None)
accessory/data/falcon_packed.py:164
Method__init__
(self, config_path, transform, max_words=30, image_words=257, tokenizer=None, cache_on_disk=F
accessory/data/alpaca.py:21
Method__init__
(self)
accessory/data/alpaca.py:211
Method__init__
(self, dataset: FinetuneDataset, num_replicas: Optional[int] = None, rank: Optional[int] = No
accessory/data/alpaca.py:248
Method__init__
(self, message=None)
accessory/data/conversation/dataset.py:25
Method__init__
(self, tokenizer, conv_template_func: Callable=conversation_lib.default_conversation)
accessory/data/conversation/dataset.py:33
Method__init__
(self, config_path, transform, max_words=30, image_words=257, tokenizer=None, cache_on_disk=F
accessory/data/conversation/dataset.py:68
Method__init__
(self, window_size=1000, fmt=None)
accessory/util/misc.py:154
Method__init__
(self, delimiter="\t")
accessory/util/misc.py:212
Method__init__
(self, args)
accessory/util/misc.py:298
Method__init__
r"""Initialize a ShardedTensorLoader. Args: target (``torch.Tensor``): The target tensor where value shards are l
accessory/util/tensor_parallel.py:533
Method__init__
( self, dtype: Optional[torch.dtype] = None, device: Optional[str] = None, )
accessory/util/tensor_type.py:10
Method__iter__
(self)
accessory/data/falcon.py:52
Method__iter__
(self)
accessory/data/falcon.py:110
Method__iter__
(self)
accessory/data/falcon_packed.py:56
Method__iter__
(self)
accessory/data/falcon_packed.py:111
Method__iter__
(self)
accessory/data/alpaca.py:281
Method__len__
(self)
SPHINX/batch_inference.py:38
Method__len__
(self)
Large-DiT-T2I/data/dataset.py:64
Method__len__
(self)
accessory/eval_mm/inference_image_sphinx.py:89
Method__len__
(self)
accessory/data/falcon.py:184
Method__len__
(self)
accessory/data/falcon_packed.py:180
Method__len__
(self)
accessory/data/alpaca.py:161
Method__len__
(self)
accessory/data/alpaca.py:314
Method__len__
(self)
accessory/data/conversation/dataset.py:207
Method__next__
(self)
accessory/data/falcon.py:145
Method__next__
(self)
accessory/data/falcon_packed.py:147
Method__repr__
(self)
accessory/data/transform.py:32
Method__str__
(self)
Large-DiT-T2I/data/dataset.py:25
Method__str__
(self)
accessory/data/conversation/dataset.py:28
Method__str__
(self)
accessory/util/misc.py:202
Method__str__
(self)
accessory/util/misc.py:233
Function_clip_make_layerwise_param_groups
r"""Generate a list of param groups for the clip visual encoder. .. note: This also serves as a reference for implementing other vision e
accessory/util/param_group.py:48
Function_layerwise_param_group_func
r"""Decorator to define a method that generate the block-wise parameter group for all keys starting with a specific prefix.
accessory/util/param_group.py:18
Function_make_default_param_group
r"""Generate the default param group. As we group parameters according to longest name prefix match, this function defines the grouping of the
accessory/util/param_group.py:37
Method_preload_cache
(self)
accessory/data/falcon.py:113
← previousnext →701–800 of 1,094, ranked by callers