MCPcopy Create free account

hub / github.com/OpenBitSys/BitDistiller / functions

Functions1,634 in github.com/OpenBitSys/BitDistiller

Methodaggregation
(self)
test/general/lm_eval/tasks/unscramble.py:70
Methodaggregation
:returns: {str: [float] -> float} A dictionary where keys are the names of submetrics and values are functions that a
test/general/lm_eval/tasks/gsm8k.py:114
Methodaggregation
:returns: {str: [float] -> float} A dictionary where keys are the names of submetrics and values are functions that a
test/general/lm_eval/tasks/naturalqs.py:118
Methodaggregation
(self)
test/general/lm_eval/tasks/qasper.py:198
Methodaggregation
(self)
test/general/lm_eval/tasks/glue.py:98
Methodaggregation
(self)
test/general/lm_eval/tasks/glue.py:146
Methodaggregation
(self)
test/general/lm_eval/tasks/glue.py:207
Methodaggregation
(self)
test/general/lm_eval/tasks/glue.py:272
Methodaggregation
(self)
test/general/lm_eval/tasks/glue.py:323
Methodaggregation
(self)
test/general/lm_eval/tasks/glue.py:374
Methodaggregation
(self)
test/general/lm_eval/tasks/glue.py:429
Methodaggregation
(self)
test/general/lm_eval/tasks/glue.py:481
Methodaggregation
:returns: {str: [float] -> float} A dictionary where keys are the names of submetrics and values are functions that a
test/general/lm_eval/tasks/glue.py:546
Methodaggregation
(self)
test/general/lm_eval/tasks/superglue.py:87
Methodaggregation
(self)
test/general/lm_eval/tasks/superglue.py:153
Methodaggregation
(self)
test/general/lm_eval/tasks/superglue.py:214
Methodaggregation
(self)
test/general/lm_eval/tasks/superglue.py:272
Methodaggregation
(self)
test/general/lm_eval/tasks/superglue.py:362
Methodaggregation
(self)
test/general/lm_eval/tasks/superglue.py:421
Methodaggregation
(self)
test/general/lm_eval/tasks/superglue.py:489
Methodaggregation
(self)
test/general/lm_eval/tasks/webqs.py:92
Methodaggregation
(self)
test/general/lm_eval/tasks/crowspairs.py:137
Methodaggregation
:returns: {str: [float] -> float} A dictionary where keys are the names of submetrics and values are functions that a
test/general/lm_eval/tasks/translation.py:205
Methodaggregation
:returns: {str: [float] -> float} A dictionary where keys are the names of submetrics and values are functions that a
test/general/lm_eval/tasks/storycloze.py:124
Methodaggregation
(self)
test/general/lm_eval/tasks/bigbench.py:118
Methodaggregation
(self)
test/general/lm_eval/tasks/hendrycks_ethics.py:78
Methodaggregation
(self)
test/general/lm_eval/tasks/hendrycks_ethics.py:113
Methodaggregation
(self)
test/general/lm_eval/tasks/hendrycks_ethics.py:164
Methodaggregation
(self)
test/general/lm_eval/tasks/hendrycks_ethics.py:214
Methodaggregation
(self)
test/general/lm_eval/tasks/hendrycks_ethics.py:287
Methodaggregation
(self)
test/general/lm_eval/tasks/hendrycks_ethics.py:344
Methodaggregation
(self)
test/general/lm_eval/tasks/hendrycks_ethics.py:392
Methodaggregation
(self)
test/general/lm_eval/tasks/arithmetic.py:71
Methodaggregation
(self)
test/general/lm_eval/tasks/hendrycks_math.py:82
Methodaggregation
(self)
test/general/lm_eval/tasks/mutual.py:94
Methodaggregation
(self)
test/general/lm_eval/tasks/pubmedqa.py:85
Methodaggregation
(self)
test/general/lm_eval/tasks/lambada.py:68
Methodaggregation
(self)
test/general/lm_eval/tasks/asdiv.py:90
Methodaggregation
:returns: {str: [float] -> float} A dictionary where keys are the names of submetrics and values are functions that a
test/general/lm_eval/tasks/anli.py:116
Methodaggregation
:returns: {str: [float] -> float} A dictionary where keys are the names of submetrics and values are functions that a
test/general/lm_eval/tasks/xnli.py:131
Methodaggregation
(self)
test/general/lm_eval/tasks/coqa.py:174
Methodaggregation
:returns: {str: [metric_score] -> float} A dictionary where keys are the names of submetrics and values are functions
test/general/lm_eval/tasks/pawsx.py:132
Methodaggregation
(self)
test/general/lm_eval/tasks/mc_taco.py:108
Methodaggregation
(self)
test/general/lm_eval/tasks/scrolls.py:217
Methodaggregation
(self)
test/general/lm_eval/tasks/scrolls.py:231
Methodaggregation
:returns: {str: [float] -> float} A dictionary where keys are the names of submetrics and values are functions that a
test/general/lm_eval/tasks/quac.py:107
Methodaggregation
:returns: {str: [float] -> float} A dictionary where keys are the names of submetrics and values are functions that a
test/general/lm_eval/tasks/squad.py:171
Methodaggregation
:returns: {str: [float] -> float} A dictionary where keys are the names of submetrics and values are functions that a
test/general/lm_eval/tasks/race.py:159
Functionapply_awq
(model, awq_results)
quantization/pre_quant.py:197
Functionautotune_warmup
The Triton kernels autotune themselves for specific input sizes. But this takes time. This function collects information on all possible input siz
inference/utils/load_quant.py:164
Methodbackward
(self, grad_output)
quantization/quantizer.py:20
Methodbatch_size
(self)
test/general/utils_eval.py:63
Methodbatch_size
(self)
test/general/lm_eval/base.py:145
Methodbatch_size
(self)
test/general/lm_eval/models/anthropic_llms.py:65
Methodbatch_size
(self)
test/general/lm_eval/models/gpt2.py:145
Methodbatch_size
(self)
test/general/lm_eval/models/textsynth.py:72
Methodbatch_size
(self)
test/general/lm_eval/models/gpt3.py:102
Methodbatch_size
(self)
test/general/lm_eval/models/huggingface.py:411
Functionbits_per_byte
(items)
test/general/lm_eval/metrics.py:107
Functionbleu
The Bilingual Evaluation Understudy Score, or BLEU for short, is a metric for evaluating a generated sentence to a reference sentence. It counts m
test/general/lm_eval/metrics.py:111
Functionblock_sum
inference/kernels/csrc/attention/decoder_masked_multihead_attention_template.hpp:467
Functioncache_input_hook
(m, x, y, name, feat_dict)
quantization/pre_quant.py:144
Functioncache_input_hook
(m, x, y, name, feat_dict)
quantization/autoclip.py:169
Methodcalc_em
(self, items)
test/general/lm_eval/tasks/hendrycks_ethics.py:150
Methodcalc_em
(self, items)
test/general/lm_eval/tasks/hendrycks_ethics.py:200
Methodcalc_em
(self, items)
test/general/lm_eval/tasks/hendrycks_ethics.py:377
Methodcb_multi_fi
(cls, items)
test/general/lm_eval/tasks/superglue.py:143
Functioncheck_cuda_torch_binary_vs_bare_metal
(cuda_dir)
inference/kernels/csrc/attention/setup.py:27
Functionchrf
chrF++ is a tool for automatic evaluation of machine translation output based on character n-gram precision and recall enhanced with word n-grams.
test/general/lm_eval/metrics.py:128
Functionchunks
(iter, n=0, fn=None)
test/general/lm_eval/utils.py:68
Methodclean
Clean a string (e.g. a training set) by removing all ngrams previously registered as contaminants. Returns a list of clean chunks, or empty if
test/general/lm_eval/decontamination/janitor.py:159
Functionclear_torch_cache
()
test/general/lm_eval/utils.py:289
Methodcommit
(self)
test/general/lm_eval/decontamination/archiver.py:89
Methodcompute_loss
(self, model, inputs, return_outputs=False)
train/mytrainer.py:126
Methodcompute_metrics
(samples)
test/general/lm_eval/tasks/scrolls.py:211
Methodconstruct_requests
(self, doc, ctx)
test/general/lm_eval/base.py:747
Methodconstruct_requests
(self, doc, ctx)
test/general/lm_eval/base.py:829
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
test/general/lm_eval/tasks/drop.py:126
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
test/general/lm_eval/tasks/cbt.py:94
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc:
test/general/lm_eval/tasks/triviaqa.py:75
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
test/general/lm_eval/tasks/winogrande.py:82
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
test/general/lm_eval/tasks/babi.py:59
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
test/general/lm_eval/tasks/wsc273.py:120
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
test/general/lm_eval/tasks/truthfulqa.py:113
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
test/general/lm_eval/tasks/truthfulqa.py:239
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
test/general/lm_eval/tasks/mgsm.py:91
Methodconstruct_requests
(self, doc, ctx)
test/general/lm_eval/tasks/blimp.py:87
Methodconstruct_requests
(self, doc, ctx)
test/general/lm_eval/tasks/unscramble.py:61
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
test/general/lm_eval/tasks/gsm8k.py:70
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
test/general/lm_eval/tasks/naturalqs.py:91
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
test/general/lm_eval/tasks/qasper.py:204
Methodconstruct_requests
(self, doc, ctx)
test/general/lm_eval/tasks/glue.py:84
Methodconstruct_requests
(self, doc, ctx)
test/general/lm_eval/tasks/glue.py:132
Methodconstruct_requests
(self, doc, ctx)
test/general/lm_eval/tasks/glue.py:193
Methodconstruct_requests
(self, doc, ctx)
test/general/lm_eval/tasks/glue.py:258
Methodconstruct_requests
(self, doc, ctx)
test/general/lm_eval/tasks/glue.py:309
Methodconstruct_requests
(self, doc, ctx)
test/general/lm_eval/tasks/glue.py:360
Methodconstruct_requests
(self, doc, ctx)
test/general/lm_eval/tasks/glue.py:412
Methodconstruct_requests
(self, doc, ctx)
test/general/lm_eval/tasks/glue.py:464
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
test/general/lm_eval/tasks/glue.py:519
← previousnext →601–700 of 1,634, ranked by callers