MCPcopy Create free account

hub / github.com/EleutherAI/gpt-neox / functions

Functions652 in github.com/EleutherAI/gpt-neox

Functiontest_neoxargs_consume_neox_args
verify megatron args are correctly consumed after sending via deepspeed
tests/neox_args/test_neoxargs_commandline.py:145
Functiontest_neoxargs_duplicates
tests that there are no duplicates among parent classes of NeoXArgs
tests/neox_args/test_neoxargs_implementation.py:22
Functiontest_neoxargs_fail_instantiate_without_any_params
verify assertion error if required arguments are not provided
tests/neox_args/test_neoxargs_load.py:153
Functiontest_neoxargs_fail_instantiate_without_required_params
verify assertion error if required arguments are not provided
tests/neox_args/test_neoxargs_load.py:140
Functiontest_neoxargs_load_arguments_13B_local_setup
verify 13B.yml can be loaded without raising validation errors
tests/neox_args/test_neoxargs_load.py:116
Functiontest_neoxargs_load_arguments_175B_local_setup
verify 13B.yml can be loaded without raising validation errors
tests/neox_args/test_neoxargs_load.py:132
Functiontest_neoxargs_load_arguments_2_7B_local_setup
verify 2-7B.yml can be loaded without raising validation errors
tests/neox_args/test_neoxargs_load.py:100
Functiontest_neoxargs_load_arguments_6_7B_local_setup
verify 6-7B.yml can be loaded without raising validation errors
tests/neox_args/test_neoxargs_load.py:108
Functiontest_neoxargs_load_arguments_XL_local_setup
verify XL.yml can be loaded without raising validation errors
tests/neox_args/test_neoxargs_load.py:124
Functiontest_neoxargs_load_arguments_large_local_setup
verify large.yml can be loaded without raising validation errors
tests/neox_args/test_neoxargs_load.py:92
Functiontest_neoxargs_load_arguments_medium_local_setup
verify medium.yml can be loaded without raising validation errors
tests/neox_args/test_neoxargs_load.py:84
Functiontest_neoxargs_load_arguments_small_local_setup
verify small.yml can be loaded without raising validation errors
tests/neox_args/test_neoxargs_load.py:66
Functiontest_neoxargs_load_arguments_small_local_setup_text_generation
verify small.yml can be loaded together with text generation without raising validation errors
tests/neox_args/test_neoxargs_load.py:74
Functiontest_neoxargs_usage
" checks for code pieces of the pattern "args.*" and verifies that such used arg is defined in NeoXArgs
tests/neox_args/test_neoxargs_usage.py:24
Functiontest_split_merge
()
tools/merge_mp_partitions.py:137
Functiontest_train
(param_dict)
tests/model/test_model_generation.py:69
Functiontest_train
(param_dict)
tests/model/test_model_train.py:66
Functiontest_train_bf16
(param_dict)
tests/model/test_model_train.py:107
Functiontest_train_optimizers
(param_dict)
tests/model/test_model_train.py:132
Methodtok_decode
(self, tokens)
eval_tasks/eval_adapter.py:129
Methodtok_encode
(self, string: str)
eval_tasks/eval_adapter.py:126
Methodtokenize
(self, text)
megatron/tokenizer/tokenizer.py:111
Methodtokenize
(self, text)
megatron/tokenizer/tokenizer.py:174
Methodtokenize
(self, text)
megatron/tokenizer/tokenizer.py:213
Methodtokenize
(self, text: str)
megatron/tokenizer/tokenizer.py:382
Methodtokenize_batch
(self, text_batch: Union[List[str], str])
megatron/tokenizer/tokenizer.py:250
Methodtokenize_batch
(self, text_batch: Union[List[str], str])
megatron/tokenizer/tokenizer.py:295
Methodtokenize_batch
(self, text_batch: Union[List[str], str])
megatron/tokenizer/tokenizer.py:339
Methodtokenize_batch
(self, text_batch: List[str])
megatron/tokenizer/tokenizer.py:385
Methodtokenizer_type
tokenizer type to use when tokenizing data
tools/corpora.py:87
Methodtrain_mode
Sets up the model for training by turning off k/v caching and setting `parallel output` of the final layer to True, so logits are not
megatron/model/gpt2_model.py:322
Methodurls
URLs from which to download dataset
tools/corpora.py:82
Methodvocab
Dictionary from vocab text token to id token.
megatron/tokenizer/tokenizer.py:100
Methodvocab
(self)
megatron/tokenizer/tokenizer.py:167
Methodvocab
(self)
megatron/tokenizer/tokenizer.py:200
Methodvocab
(self)
megatron/tokenizer/tokenizer.py:240
Methodvocab
(self)
megatron/tokenizer/tokenizer.py:285
Methodvocab
(self)
megatron/tokenizer/tokenizer.py:326
Methodvocab
(self)
megatron/tokenizer/tokenizer.py:374
Methodvocab_file
Vocab file for tokenizer
tools/corpora.py:97
Functionvocab_parallel_cross_entropy
Helper function for the cross entropy.
megatron/mpu/cross_entropy.py:115
Methodvocab_size
(self)
megatron/tokenizer/tokenizer.py:95
Methodvocab_size
(self)
megatron/tokenizer/tokenizer.py:163
Methodvocab_size
(self)
megatron/tokenizer/tokenizer.py:196
Methodvocab_size
(self)
megatron/tokenizer/tokenizer.py:236
Methodvocab_size
(self)
megatron/tokenizer/tokenizer.py:281
Methodvocab_size
(self)
megatron/tokenizer/tokenizer.py:322
Methodvocab_size
(self)
megatron/tokenizer/tokenizer.py:370
Methodvocab_size
(self)
eval_tasks/eval_adapter.py:102
Functionweights_by_num_docs
Builds weights from a multinomial distribution over groups of data according to the number of samples in each group. We sample from a gr
megatron/data/data_utils.py:252
Methodword_embeddings_weight
Easy accessory for the pipeline engine to tie embeddings across stages.
megatron/model/word_embeddings.py:169
Methodwrite
Write timers to a tensorboard writer
megatron/utils.py:282
← previous601–652 of 652, ranked by callers