MCPcopy Create free account

hub / github.com/OpenBitSys/BitDistiller / functions

Functions1,634 in github.com/OpenBitSys/BitDistiller

Methodforward
( self, x: torch.Tensor, start_pos: int, mask: Optional[torch.Tensor], )
inference/models/mpt.py:151
Methodforward
( self, x: torch.Tensor, start_pos: int, mask: Optional[torch.Tensor], )
inference/models/mpt.py:246
Methodforward
(self, tokens: torch.Tensor, start_pos: int)
inference/models/mpt.py:273
Methodforward
(self, tokens: torch.Tensor, start_pos: int)
inference/models/mpt.py:300
Methodforward_batch
(batch_size)
test/general/lm_eval/base.py:187
Functiongemv_kernel_v3
Kernel for computing GEMV C = qw @ a - Input a: (Batch_size, N) - Weight qw: (M, N // pack_num) - scales: (M, N // group_size) -
quantization/triton_kernels.py:347
Methodget_answer_choice
(self, raw_text)
test/general/lm_eval/tasks/coqa.py:90
Functionget_blocks
(model)
quantization/clip_utils.py:114
Methodget_lls
(targets)
test/general/lm_eval/tasks/truthfulqa.py:125
Functionget_model
(model_name)
test/general/lm_eval/models/__init__.py:21
Functionget_named_bnb_linears
(module)
test/test_utils.py:15
Functionget_named_linears
(module)
quantization/clip_utils.py:156
Functionget_rolling_token_windows
- context_len allows for a rolling window context, allowing each prediction window to potentially condition on some context :param tok
test/general/lm_eval/utils.py:135
Functionget_task_dict
(task_name_list: List[Union[str, lm_eval.base.Task]])
test/general/lm_eval/tasks/__init__.py:393
Functionget_train_overlap_stub
(docs, ngrams_path, ngrams_n_size)
test/general/lm_eval/decontamination/decontaminate.py:14
Methodgreedy_until
Generate greedily until a stopping sequence :param requests: list A list of pairs (context, until) context: str
test/general/lm_eval/base.py:93
Methodgreedy_until
(self, requests)
test/general/lm_eval/base.py:407
Methodgreedy_until
(self, requests)
test/general/lm_eval/models/anthropic_llms.py:83
Methodgreedy_until
(self, requests)
test/general/lm_eval/models/textsynth.py:119
Methodgreedy_until
(self, requests)
test/general/lm_eval/models/dummy.py:21
Methodgreedy_until
( self, requests: List[Tuple[str, Union[List[str], str]]] )
test/general/lm_eval/models/huggingface.py:434
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/drop.py:51
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/sciq.py:36
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/cbt.py:43
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/triviaqa.py:41
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/piqa.py:41
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/winogrande.py:46
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/hellaswag.py:42
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/arc.py:40
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/wsc273.py:63
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/truthfulqa.py:79
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/truthfulqa.py:190
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/mgsm.py:67
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/blimp.py:44
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/unscramble.py:43
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/qa4mre.py:40
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/gsm8k.py:52
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/naturalqs.py:43
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/xstorycloze.py:71
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/qasper.py:115
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/glue.py:59
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/glue.py:234
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/glue.py:287
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/glue.py:338
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/glue.py:392
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/glue.py:444
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/glue.py:496
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/superglue.py:46
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/superglue.py:102
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/superglue.py:171
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/superglue.py:233
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/superglue.py:287
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/superglue.py:380
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/superglue.py:438
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/webqs.py:45
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/hendrycks_test.py:121
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/crowspairs.py:66
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/pile.py:36
Methodhas_test_docs
Whether the task has a test set
test/general/lm_eval/tasks/translation.py:147
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/sat.py:48
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/storycloze.py:55
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/headqa.py:38
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/json.py:55
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/bigbench.py:54
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/hendrycks_ethics.py:47
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/arithmetic.py:39
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/xcopa.py:39
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/hendrycks_math.py:37
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/mutual.py:40
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/lambada.py:87
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/openbookqa.py:41
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/asdiv.py:45
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/logiqa.py:41
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/xnli.py:58
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/coqa.py:42
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/pawsx.py:64
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/swag.py:39
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/prost.py:49
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/wikitext.py:74
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/mc_taco.py:48
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/scrolls.py:146
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/xwinograd.py:55
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/quac.py:39
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/mathqa.py:38
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/squad.py:62
Methodhas_test_docs
(self)
test/general/lm_eval/tasks/race.py:51
Methodhas_training_docs
(self)
test/general/lm_eval/base.py:784
Methodhas_training_docs
(self)
test/general/lm_eval/tasks/drop.py:45
Methodhas_training_docs
(self)
test/general/lm_eval/tasks/sciq.py:30
Methodhas_training_docs
(self)
test/general/lm_eval/tasks/cbt.py:37
Methodhas_training_docs
(self)
test/general/lm_eval/tasks/triviaqa.py:35
Methodhas_training_docs
(self)
test/general/lm_eval/tasks/piqa.py:35
Methodhas_training_docs
(self)
test/general/lm_eval/tasks/winogrande.py:40
Methodhas_training_docs
(self)
test/general/lm_eval/tasks/hellaswag.py:36
Methodhas_training_docs
(self)
test/general/lm_eval/tasks/arc.py:34
Methodhas_training_docs
(self)
test/general/lm_eval/tasks/wsc273.py:57
Methodhas_training_docs
(self)
test/general/lm_eval/tasks/truthfulqa.py:73
Methodhas_training_docs
(self)
test/general/lm_eval/tasks/truthfulqa.py:184
Methodhas_training_docs
(self)
test/general/lm_eval/tasks/mgsm.py:61
Methodhas_training_docs
(self)
test/general/lm_eval/tasks/blimp.py:38
← previousnext →1,001–1,100 of 1,634, ranked by callers