MCPcopy Create free account

hub / github.com/Jittor/JittorLLMs / functions

Functions1,370 in github.com/Jittor/JittorLLMs

Methodset_output_embeddings
(self, new_embeddings)
models/chatglm/modeling_chatglm.py:1039
Methodset_output_embeddings
(self, new_embeddings)
models/atom7b/modeling_llama.py:927
Functionsingle_dataset_provider
(datapath)
models/pangualpha/tasks/glue/finetune.py:52
Methodsizes
(self)
models/pangualpha/megatron/data/indexed_dataset.py:431
Methodsizes
(self)
models/pangualpha/megatron/data/indexed_dataset.py:515
Methodspecial_tokens_map_extended
`Dict[str, Union[str, tokenizers.AddedToken, List[Union[str, tokenizers.AddedToken]]]]`: A dictionary mapping special token class att
models/qwen2/qwen2_jt/tokenization_utils_fast.py:202
Methodstate_dict
(self)
models/pangualpha/megatron/learning_rates.py:82
Methodstate_dict
Returns a dict containing the current state of this :class:`FP16_Optimizer` instance. This dict contains attributes of :class:`FP16_O
models/pangualpha/megatron/fp16/fp16.py:356
Methodstate_dict_for_save_checkpoint
For easy load when model is combined with other heads, add an extra key.
models/pangualpha/megatron/model/classification.py:73
Methodstate_dict_for_save_checkpoint
For easy load when model is combined with other heads, add an extra key.
models/pangualpha/megatron/model/realm_model.py:184
Methodstate_dict_for_save_checkpoint
(self, destination=None, prefix='', keep_vars=False)
models/pangualpha/megatron/model/distributed.py:87
Methodstate_dict_for_save_checkpoint
For easy load.
models/pangualpha/megatron/model/language_model.py:326
Methodstate_dict_for_save_checkpoint
For easy load.
models/pangualpha/megatron/model/language_model.py:464
Methodstate_dict_for_save_checkpoint
(self, destination=None, prefix='', keep_vars=False)
models/pangualpha/megatron/model/gpt2_model.py:129
Methodstate_dict_for_save_checkpoint
For easy load when model is combined with other heads, add an extra key.
models/pangualpha/megatron/model/bert_model.py:183
Methodstate_dict_for_save_checkpoint
For easy load when model is combined with other heads, add an extra key.
models/pangualpha/megatron/model/multiple_choice.py:85
Methodstate_dict_for_save_checkpoint
(self, destination=None, prefix='', keep_vars=False)
models/pangualpha/megatron/fp16/fp16.py:79
Methodsupports_prefetch
(self)
models/pangualpha/megatron/data/indexed_dataset.py:207
Methodsupports_prefetch
(self)
models/pangualpha/megatron/data/indexed_dataset.py:219
Methodsupports_prefetch
(self)
models/pangualpha/megatron/data/indexed_dataset.py:529
Methodsymbolic
(graph, input_)
models/pangualpha/megatron/mpu/mappings.py:80
Methodsymbolic
(graph, input_)
models/pangualpha/megatron/mpu/mappings.py:96
Methodsymbolic
(graph, input_)
models/pangualpha/megatron/mpu/mappings.py:112
Methodsymbolic
(graph, input_)
models/pangualpha/megatron/mpu/mappings.py:128
Functiontest_indexed_dataset
(args)
models/pangualpha/megatron/data/test/test_indexed_dataset.py:17
Functiontest_split_merge
()
models/pangualpha/mergeMpCkpt.py:154
Functiontest_split_merge
()
models/pangualpha/tools/merge_mp_partitions.py:146
Methodtext_completion
( self, prompts: List[str], temperature: float = 0.6, top_p: float = 0.9,
models/llama/llama/generation2.py:124
Methodtext_token_vocab
dictionary mapping text tokens to ids for text tokenizer
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:315
Methodtext_tokens
list (or iterable) of text tokens for text tokenizer
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:310
Functionto_python_float
(t)
models/pangualpha/megatron/fp16/fp16util.py:202
Functionto_python_float
(t)
models/pangualpha/megatron/fp16/loss_scaler.py:26
Methodtoken_type_vocab
dictionary mapping token types to ids for tokenizer
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:295
Methodtoken_types
list (or iterable) of all token types for tokenizer
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:290
Methodtokenize
Tokenizes a piece of text.
models/pangualpha/megatron/deprecated_data_utils/wordpiece.py:191
Methodtokenize
Tokenizes a piece of text into its word pieces. This uses a greedy longest-match-first algorithm to perform tokenization using the gi
models/pangualpha/megatron/deprecated_data_utils/wordpiece.py:302
Methodtokenize
(self, text)
models/pangualpha/megatron/tokenizer/tokenizer.py:155
Methodtokenize
(self, text)
models/pangualpha/megatron/tokenizer/tokenizer.py:213
Methodtokenize
(self, text)
models/pangualpha/megatron/tokenizer/bert_tokenization.py:170
Methodtokenize
Tokenizes a piece of text.
models/pangualpha/megatron/tokenizer/bert_tokenization.py:199
Methodtokenize
Tokenizes a piece of text into its word pieces. This uses a greedy longest-match-first algorithm to perform tokenization using the gi
models/pangualpha/megatron/tokenizer/bert_tokenization.py:311
Methodtokenizer
(self)
models/pangualpha/megatron/deprecated_data_utils/datasets.py:373
Methodtokens
list (or iterable) of all tokens for tokenizer
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:280
Methodtokens
list (or iterable) of text tokens for text tokenizer
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:427
Methodtokens
(self)
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:498
Methodtokens
(self)
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:621
Functiontrain_valid_datasets_provider
Build train and validation dataset.
models/pangualpha/tasks/glue/finetune.py:29
Functiontrain_valid_test_datasets_provider
Build train, valid, and test datasets.
models/pangualpha/pretrain_bert.py:99
Functiontrain_valid_test_datasets_provider
Build train, valid and test datasets.
models/pangualpha/pretrain_ict.py:114
Functiontrain_valid_test_datasets_provider
Build train, valid, and test datasets.
models/pangualpha/pretrain_gpt2.py:92
Methodupdate_scale
(self, overflow)
models/pangualpha/megatron/fp16/loss_scaler.py:161
Functionvalidate_case_matches_checkpoint
Checks whether the casing config is consistent with the checkpoint name.
models/pangualpha/megatron/tokenizer/bert_tokenization.py:28
Methodvocab
dictionary mapping tokens to ids for tokenizer
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:285
Methodvocab
dictionary mapping tokens to ids
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:432
Methodvocab
(self)
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:502
Methodvocab
(self)
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:625
Methodvocab
Dictionary from vocab text token to id token.
models/pangualpha/megatron/tokenizer/tokenizer.py:84
Methodvocab
(self)
models/pangualpha/megatron/tokenizer/tokenizer.py:148
Methodvocab
(self)
models/pangualpha/megatron/tokenizer/tokenizer.py:206
Methodvocab
(self)
models/qwen2/qwen2_jt/tokenization_utils_fast.py:126
Methodvocab_size
(self)
models/pangualpha/megatron/tokenizer/tokenizer.py:144
Methodvocab_size
(self)
models/pangualpha/megatron/tokenizer/tokenizer.py:202
Methodvocab_size
(self)
models/pangualpha/megatron/tokenizer/bert_tokenization.py:184
Methodvocab_size
(self)
models/pangualpha/megatron/tokenizer/tokenization_jieba.py:62
Methodvocab_size
`int`: Size of the base vocabulary (without the added tokens).
models/qwen2/qwen2_jt/tokenization_utils_fast.py:116
Functionwarp_reduce
models/pangualpha/megatron/fused_kernels/scaled_upper_triang_masked_softmax.h:60
Functionwikitext_detokenizer
(string)
models/pangualpha/tasks/zeroshot_gpt2/detokenizer.py:32
Methodwrapped_closure
()
models/pangualpha/megatron/fp16/fp16.py:477
Functionwrapper
(url, *args, **kwargs)
models/pangualpha/megatron/deprecated_data_utils/file_utils.py:137
Methodwrite
given a generator of metrics for each of the data points X_i, write the metrics, text, and labels to a json file
models/pangualpha/megatron/deprecated_data_utils/datasets.py:396
← previous1,301–1,370 of 1,370, ranked by callers