Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jittor/JittorLLMs
/ functions
Functions
1,370 in github.com/Jittor/JittorLLMs
⨍
Functions
1,370
◇
Types & classes
194
↳
Endpoints
3
Method
set_output_embeddings
(self, new_embeddings)
models/chatglm/modeling_chatglm.py:1039
Method
set_output_embeddings
(self, new_embeddings)
models/atom7b/modeling_llama.py:927
Function
single_dataset_provider
(datapath)
models/pangualpha/tasks/glue/finetune.py:52
Method
sizes
(self)
models/pangualpha/megatron/data/indexed_dataset.py:431
Method
sizes
(self)
models/pangualpha/megatron/data/indexed_dataset.py:515
Method
special_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
Method
state_dict
(self)
models/pangualpha/megatron/learning_rates.py:82
Method
state_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
Method
state_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
Method
state_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
Method
state_dict_for_save_checkpoint
(self, destination=None, prefix='', keep_vars=False)
models/pangualpha/megatron/model/distributed.py:87
Method
state_dict_for_save_checkpoint
For easy load.
models/pangualpha/megatron/model/language_model.py:326
Method
state_dict_for_save_checkpoint
For easy load.
models/pangualpha/megatron/model/language_model.py:464
Method
state_dict_for_save_checkpoint
(self, destination=None, prefix='', keep_vars=False)
models/pangualpha/megatron/model/gpt2_model.py:129
Method
state_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
Method
state_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
Method
state_dict_for_save_checkpoint
(self, destination=None, prefix='', keep_vars=False)
models/pangualpha/megatron/fp16/fp16.py:79
Method
supports_prefetch
(self)
models/pangualpha/megatron/data/indexed_dataset.py:207
Method
supports_prefetch
(self)
models/pangualpha/megatron/data/indexed_dataset.py:219
Method
supports_prefetch
(self)
models/pangualpha/megatron/data/indexed_dataset.py:529
Method
symbolic
(graph, input_)
models/pangualpha/megatron/mpu/mappings.py:80
Method
symbolic
(graph, input_)
models/pangualpha/megatron/mpu/mappings.py:96
Method
symbolic
(graph, input_)
models/pangualpha/megatron/mpu/mappings.py:112
Method
symbolic
(graph, input_)
models/pangualpha/megatron/mpu/mappings.py:128
Function
test_indexed_dataset
(args)
models/pangualpha/megatron/data/test/test_indexed_dataset.py:17
Function
test_split_merge
()
models/pangualpha/mergeMpCkpt.py:154
Function
test_split_merge
()
models/pangualpha/tools/merge_mp_partitions.py:146
Method
text_completion
( self, prompts: List[str], temperature: float = 0.6, top_p: float = 0.9,
models/llama/llama/generation2.py:124
Method
text_token_vocab
dictionary mapping text tokens to ids for text tokenizer
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:315
Method
text_tokens
list (or iterable) of text tokens for text tokenizer
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:310
Function
to_python_float
(t)
models/pangualpha/megatron/fp16/fp16util.py:202
Function
to_python_float
(t)
models/pangualpha/megatron/fp16/loss_scaler.py:26
Method
token_type_vocab
dictionary mapping token types to ids for tokenizer
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:295
Method
token_types
list (or iterable) of all token types for tokenizer
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:290
Method
tokenize
Tokenizes a piece of text.
models/pangualpha/megatron/deprecated_data_utils/wordpiece.py:191
Method
tokenize
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
Method
tokenize
(self, text)
models/pangualpha/megatron/tokenizer/tokenizer.py:155
Method
tokenize
(self, text)
models/pangualpha/megatron/tokenizer/tokenizer.py:213
Method
tokenize
(self, text)
models/pangualpha/megatron/tokenizer/bert_tokenization.py:170
Method
tokenize
Tokenizes a piece of text.
models/pangualpha/megatron/tokenizer/bert_tokenization.py:199
Method
tokenize
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
Method
tokenizer
(self)
models/pangualpha/megatron/deprecated_data_utils/datasets.py:373
Method
tokens
list (or iterable) of all tokens for tokenizer
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:280
Method
tokens
list (or iterable) of text tokens for text tokenizer
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:427
Method
tokens
(self)
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:498
Method
tokens
(self)
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:621
Function
train_valid_datasets_provider
Build train and validation dataset.
models/pangualpha/tasks/glue/finetune.py:29
Function
train_valid_test_datasets_provider
Build train, valid, and test datasets.
models/pangualpha/pretrain_bert.py:99
Function
train_valid_test_datasets_provider
Build train, valid and test datasets.
models/pangualpha/pretrain_ict.py:114
Function
train_valid_test_datasets_provider
Build train, valid, and test datasets.
models/pangualpha/pretrain_gpt2.py:92
Method
update_scale
(self, overflow)
models/pangualpha/megatron/fp16/loss_scaler.py:161
Function
validate_case_matches_checkpoint
Checks whether the casing config is consistent with the checkpoint name.
models/pangualpha/megatron/tokenizer/bert_tokenization.py:28
Method
vocab
dictionary mapping tokens to ids for tokenizer
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:285
Method
vocab
dictionary mapping tokens to ids
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:432
Method
vocab
(self)
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:502
Method
vocab
(self)
models/pangualpha/megatron/deprecated_data_utils/tokenization.py:625
Method
vocab
Dictionary from vocab text token to id token.
models/pangualpha/megatron/tokenizer/tokenizer.py:84
Method
vocab
(self)
models/pangualpha/megatron/tokenizer/tokenizer.py:148
Method
vocab
(self)
models/pangualpha/megatron/tokenizer/tokenizer.py:206
Method
vocab
(self)
models/qwen2/qwen2_jt/tokenization_utils_fast.py:126
Method
vocab_size
(self)
models/pangualpha/megatron/tokenizer/tokenizer.py:144
Method
vocab_size
(self)
models/pangualpha/megatron/tokenizer/tokenizer.py:202
Method
vocab_size
(self)
models/pangualpha/megatron/tokenizer/bert_tokenization.py:184
Method
vocab_size
(self)
models/pangualpha/megatron/tokenizer/tokenization_jieba.py:62
Method
vocab_size
`int`: Size of the base vocabulary (without the added tokens).
models/qwen2/qwen2_jt/tokenization_utils_fast.py:116
Function
warp_reduce
models/pangualpha/megatron/fused_kernels/scaled_upper_triang_masked_softmax.h:60
Function
wikitext_detokenizer
(string)
models/pangualpha/tasks/zeroshot_gpt2/detokenizer.py:32
Method
wrapped_closure
()
models/pangualpha/megatron/fp16/fp16.py:477
Function
wrapper
(url, *args, **kwargs)
models/pangualpha/megatron/deprecated_data_utils/file_utils.py:137
Method
write
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
← previous
1,301–1,370 of 1,370, ranked by callers