MCPcopy Create free account

hub / github.com/bytedance/ABQ-LLM / functions

Functions14,558 in github.com/bytedance/ABQ-LLM

Method__str__
(self)
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/layers/tensor_quantizer.py:110
Method__str__
(self)
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/max.py:106
Method__str__
(self)
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:290
Method__str__
(self)
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/histogram.py:106
Method__str__
(self)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_squad.py:100
Method__str__
(self)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_swag.py:69
Method_apply_flag
(module)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/modeling.py:702
Function_bias_dropout_add
(x, bias, residual, prob)
fastertransformer/3rdparty/Megatron-LM/megatron/model/transformer.py:379
Function_body
(word_ids, cum_log_probs, finished, step, outputs, my_cache, extra_vars, op_self_cache, op_mem_cache)
fastertransformer/examples/tensorflow/decoder/utils/decoding.py:247
Function_build_sample_idx
Sample index mapping is a 2D array with sizes [number-of-samples + 1, 2] where [..., 0] contains the index into `doc_idx` and [..., 1] is the
fastertransformer/3rdparty/Megatron-LM/megatron/data/gpt_dataset.py:362
Method_collate
(x)
algorithm/lm_eval/base.py:225
Method_collate
(x)
algorithm/lm_eval/models/gpt3.py:120
Method_collate
(x)
algorithm/lm_eval/models/huggingface.py:307
Method_collate
(x)
algorithm/models/models_utils.py:262
Method_collate_fn
(self, batch_data)
fastertransformer/3rdparty/Megatron-LM/tasks/orqa/unsupervised/nq.py:61
Function_cond
(from_tensor)
fastertransformer/examples/tensorflow/encoder/encoder_example.py:161
Function_cond
(from_tensor)
fastertransformer/examples/tensorflow/bert/bert_example.py:152
Function_cond
(word_ids, cum_log_probs, finished, step, outputs, my_cache, extra_vars, op_self_cache, op_mem_cache)
fastertransformer/examples/tensorflow/decoder/utils/decoding.py:244
Method_create_auto_tokenizer
( self, *, pretrained: str, revision: str, subfolder: str, tok
algorithm/lm_eval/models/huggingface.py:366
Method_create_examples
Creates examples for the training and dev sets.
fastertransformer/examples/tensorflow/xlnet/convertInput.py:286
Method_create_position_encoding_table
(self, max_seq_len, input_dim, dtype)
fastertransformer/examples/tensorflow/bert/utils/position.py:62
Method_create_position_encoding_table
(self, max_seq_len, input_dim, dtype)
fastertransformer/examples/tensorflow/common_utils/position.py:62
Function_cross_entropy_forward_step
Simple forward step with cross-entropy loss.
fastertransformer/3rdparty/Megatron-LM/tasks/finetune_utils.py:65
Function_cross_entropy_forward_step
Simple forward step with cross-entropy loss.
fastertransformer/3rdparty/Megatron-LM/tasks/vision/finetune_utils.py:54
Function_eff_body
(from_tensor)
fastertransformer/examples/tensorflow/encoder/encoder_example.py:171
Function_eff_body
(from_tensor)
fastertransformer/examples/tensorflow/bert/bert_example.py:162
Method_encode
(self, positions, depth, dtype)
fastertransformer/examples/tensorflow/bert/utils/position.py:74
Method_encode
(self, positions, depth, dtype)
fastertransformer/examples/tensorflow/decoder/utils/position.py:74
Method_encode
(self, positions, depth, dtype)
fastertransformer/examples/tensorflow/common_utils/position.py:74
Method_flatten_validated_answers
Flattens a dict of lists of validated answers. {"number": ['1', '8'], ...} -> [{"number": ['1'], ...}, {"number": ['8'], ...}]
algorithm/lm_eval/tasks/drop.py:72
Function_ft_body
(from_tensor)
fastertransformer/examples/tensorflow/encoder/encoder_example.py:164
Function_ft_body
(from_tensor)
fastertransformer/examples/tensorflow/bert/bert_example.py:155
Method_generate_examples
(self, filepath)
algorithm/lm_eval/datasets/triviaqa/triviaqa.py:120
Method_generate_examples
(self, filepath, split)
algorithm/lm_eval/datasets/quac/quac.py:100
Method_generate_examples
(self, filepath, split)
algorithm/lm_eval/datasets/drop/drop.py:147
Method_generate_examples
(self, filepath, split)
algorithm/lm_eval/datasets/logiqa/logiqa.py:111
Method_generate_examples
(self, filepath)
algorithm/lm_eval/datasets/sat_analogies/sat_analogies.py:103
Method_generate_examples
(self, basepath, split)
algorithm/lm_eval/datasets/hendrycks_math/hendrycks_math.py:111
Method_generate_examples
(self, filepath, split)
algorithm/lm_eval/datasets/coqa/coqa.py:182
Method_generate_examples
(self, basepath, split)
algorithm/lm_eval/datasets/mutual/mutual.py:117
Method_generate_examples
(self, filepath, split)
algorithm/lm_eval/datasets/hendrycks_ethics/hendrycks_ethics.py:178
Method_generate_examples
Yields examples.
algorithm/lm_eval/datasets/headqa/headqa.py:133
Method_generate_examples
(self, filepath, split)
algorithm/lm_eval/datasets/unscramble/unscramble.py:103
Method_generate_examples
(self, filepath, split)
algorithm/lm_eval/datasets/pile/pile.py:119
Method_generate_examples
(self, filepath, split)
algorithm/lm_eval/datasets/asdiv/asdiv.py:101
Method_get_buffer_type
(param)
fastertransformer/3rdparty/Megatron-LM/megatron/model/distributed.py:128
Method_get_param_groups
(self)
fastertransformer/3rdparty/Megatron-LM/megatron/optimizer/optimizer.py:160
Method_get_position_encoding
(self)
fastertransformer/examples/pytorch/decoding/utils/decoding.py:131
Function_get_shape_invariants
Returns the shape of the tensor but sets middle dims to None.
fastertransformer/examples/tensorflow/decoder/utils/common.py:250
Method_get_state
(self)
fastertransformer/3rdparty/Megatron-LM/megatron/optimizer/optimizer.py:148
Function_gpu_map_location
(storage, loc)
fastertransformer/examples/pytorch/t5/utils/megatron_t5_ckpt_convert.py:122
Method_info
(self)
algorithm/lm_eval/datasets/triviaqa/triviaqa.py:63
Method_info
(self)
algorithm/lm_eval/datasets/quac/quac.py:62
Method_info
(self)
algorithm/lm_eval/datasets/drop/drop.py:79
Method_info
(self)
algorithm/lm_eval/datasets/logiqa/logiqa.py:62
Method_info
(self)
algorithm/lm_eval/datasets/sat_analogies/sat_analogies.py:69
Method_info
(self)
algorithm/lm_eval/datasets/hendrycks_math/hendrycks_math.py:67
Method_info
(self)
algorithm/lm_eval/datasets/coqa/coqa.py:99
Method_info
(self)
algorithm/lm_eval/datasets/mutual/mutual.py:63
Method_info
(self)
algorithm/lm_eval/datasets/hendrycks_ethics/hendrycks_ethics.py:136
Method_info
(self)
algorithm/lm_eval/datasets/headqa/headqa.py:77
Method_info
(self)
algorithm/lm_eval/datasets/unscramble/unscramble.py:73
Method_info
(self)
algorithm/lm_eval/datasets/pile/pile.py:85
Method_info
(self)
algorithm/lm_eval/datasets/asdiv/asdiv.py:65
Method_init_weights
(self, m)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/models/swin_mlp.py:425
Method_init_weights
(self, m)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/models/swin_transformer_moe.py:774
Method_init_weights
(self, m)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/models/swin_transformer.py:571
Method_init_weights
(self, m)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/models/swin_transformer_v2.py:590
Method_init_weights
(self, m)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/models/swin_transformer.py:607
Method_init_weights
(self, m)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/models/swin_transformer_v2.py:649
Method_inject_parallel_ranks
(tp_rank, pp_rank)
fastertransformer/examples/pytorch/nemo.py:137
Method_is_vectorizable
returns a pair (is_vectorizable, one_changing_rank) to determine if a vector exists (consecutive logical coordinates or uniformly invalid) at the give
fastertransformer/3rdparty/cutlass/examples/03_visualize_layout/visualize_layout.h:253
Method_load_from_file
(fname)
fastertransformer/examples/pytorch/gpt/utils/gpt_decoder.py:260
Method_loglikelihood_tokens
(self, requests, disable_tqdm=False)
algorithm/lm_eval/models/gpt3.py:117
Method_map_int8
(self, func)
fastertransformer/examples/pytorch/gpt/utils/gpt_fp8.py:134
Method_map_int8_scales
(self, func)
fastertransformer/examples/pytorch/gpt/utils/gpt.py:251
Method_model_call
inps: a torch tensor of shape [batch, sequence] the size of sequence may vary from call to call returns: a torch tensor of s
algorithm/lm_eval/models/gpt2.py:113
Method_model_call
(self, inps)
algorithm/lm_eval/models/textsynth.py:149
Method_model_call
(self, inps)
algorithm/lm_eval/models/gpt3.py:224
Method_model_call
( self, inputs: TokenSequence, labels: Optional[TokenSequence] = None )
algorithm/lm_eval/models/huggingface.py:383
Method_model_generate
(self, context, max_length, eos_token_id)
algorithm/lm_eval/models/gpt2.py:124
Method_model_generate
(self, context, max_length, eos_token_id)
algorithm/lm_eval/models/textsynth.py:153
Method_model_generate
(self, context, max_length, eos_token_id)
algorithm/lm_eval/models/gpt3.py:228
Method_model_generate
( self, inputs: transformers.BatchEncoding, max_tokens: int, stop: Optional[Li
algorithm/lm_eval/models/huggingface.py:556
Method_model_generate
(self, context, max_length, eos_token_id)
algorithm/models/LMClass.py:101
Method_normalize_distr
(distr)
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:181
Method_prepare_summary
(summary)
algorithm/lm_eval/tasks/truthfulqa.py:406
Method_print_element
Prints a single element
fastertransformer/3rdparty/cutlass/examples/03_visualize_layout/visualize_layout.h:326
Method_print_vector
Prints a vector of elements
fastertransformer/3rdparty/cutlass/examples/03_visualize_layout/visualize_layout.h:299
Method_process_doc
Override this to process (detokenize, strip, replace, etc.) individual documents. This can be used in a map over documents of a data
algorithm/lm_eval/base.py:489
Method_process_doc
(self, doc)
algorithm/lm_eval/tasks/drop.py:62
Method_process_doc
(self, doc)
algorithm/lm_eval/tasks/sciq.py:50
Method_process_doc
(self, doc)
algorithm/lm_eval/tasks/piqa.py:51
Method_process_doc
(self, doc)
algorithm/lm_eval/tasks/hellaswag.py:52
Method_process_doc
(self, doc)
algorithm/lm_eval/tasks/arc.py:54
Method_process_doc
(self, doc)
algorithm/lm_eval/tasks/wsc273.py:69
Method_process_doc
(self, doc)
algorithm/lm_eval/tasks/qa4mre.py:47
Method_process_doc
(self, doc)
algorithm/lm_eval/tasks/hendrycks_test.py:129
Method_process_doc
(self, doc)
algorithm/lm_eval/tasks/sat.py:60
Method_process_doc
(self, doc)
algorithm/lm_eval/tasks/headqa.py:52
← previousnext →6,101–6,200 of 14,558, ranked by callers