Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenBitSys/BitDistiller
/ functions
Functions
1,634 in github.com/OpenBitSys/BitDistiller
⨍
Functions
1,634
◇
Types & classes
490
Method
aggregation
(self)
test/general/lm_eval/tasks/unscramble.py:70
Method
aggregation
: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
Method
aggregation
: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
Method
aggregation
(self)
test/general/lm_eval/tasks/qasper.py:198
Method
aggregation
(self)
test/general/lm_eval/tasks/glue.py:98
Method
aggregation
(self)
test/general/lm_eval/tasks/glue.py:146
Method
aggregation
(self)
test/general/lm_eval/tasks/glue.py:207
Method
aggregation
(self)
test/general/lm_eval/tasks/glue.py:272
Method
aggregation
(self)
test/general/lm_eval/tasks/glue.py:323
Method
aggregation
(self)
test/general/lm_eval/tasks/glue.py:374
Method
aggregation
(self)
test/general/lm_eval/tasks/glue.py:429
Method
aggregation
(self)
test/general/lm_eval/tasks/glue.py:481
Method
aggregation
: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
Method
aggregation
(self)
test/general/lm_eval/tasks/superglue.py:87
Method
aggregation
(self)
test/general/lm_eval/tasks/superglue.py:153
Method
aggregation
(self)
test/general/lm_eval/tasks/superglue.py:214
Method
aggregation
(self)
test/general/lm_eval/tasks/superglue.py:272
Method
aggregation
(self)
test/general/lm_eval/tasks/superglue.py:362
Method
aggregation
(self)
test/general/lm_eval/tasks/superglue.py:421
Method
aggregation
(self)
test/general/lm_eval/tasks/superglue.py:489
Method
aggregation
(self)
test/general/lm_eval/tasks/webqs.py:92
Method
aggregation
(self)
test/general/lm_eval/tasks/crowspairs.py:137
Method
aggregation
: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
Method
aggregation
: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
Method
aggregation
(self)
test/general/lm_eval/tasks/bigbench.py:118
Method
aggregation
(self)
test/general/lm_eval/tasks/hendrycks_ethics.py:78
Method
aggregation
(self)
test/general/lm_eval/tasks/hendrycks_ethics.py:113
Method
aggregation
(self)
test/general/lm_eval/tasks/hendrycks_ethics.py:164
Method
aggregation
(self)
test/general/lm_eval/tasks/hendrycks_ethics.py:214
Method
aggregation
(self)
test/general/lm_eval/tasks/hendrycks_ethics.py:287
Method
aggregation
(self)
test/general/lm_eval/tasks/hendrycks_ethics.py:344
Method
aggregation
(self)
test/general/lm_eval/tasks/hendrycks_ethics.py:392
Method
aggregation
(self)
test/general/lm_eval/tasks/arithmetic.py:71
Method
aggregation
(self)
test/general/lm_eval/tasks/hendrycks_math.py:82
Method
aggregation
(self)
test/general/lm_eval/tasks/mutual.py:94
Method
aggregation
(self)
test/general/lm_eval/tasks/pubmedqa.py:85
Method
aggregation
(self)
test/general/lm_eval/tasks/lambada.py:68
Method
aggregation
(self)
test/general/lm_eval/tasks/asdiv.py:90
Method
aggregation
: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
Method
aggregation
: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
Method
aggregation
(self)
test/general/lm_eval/tasks/coqa.py:174
Method
aggregation
: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
Method
aggregation
(self)
test/general/lm_eval/tasks/mc_taco.py:108
Method
aggregation
(self)
test/general/lm_eval/tasks/scrolls.py:217
Method
aggregation
(self)
test/general/lm_eval/tasks/scrolls.py:231
Method
aggregation
: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
Method
aggregation
: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
Method
aggregation
: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
Function
apply_awq
(model, awq_results)
quantization/pre_quant.py:197
Function
autotune_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
Method
backward
(self, grad_output)
quantization/quantizer.py:20
Method
batch_size
(self)
test/general/utils_eval.py:63
Method
batch_size
(self)
test/general/lm_eval/base.py:145
Method
batch_size
(self)
test/general/lm_eval/models/anthropic_llms.py:65
Method
batch_size
(self)
test/general/lm_eval/models/gpt2.py:145
Method
batch_size
(self)
test/general/lm_eval/models/textsynth.py:72
Method
batch_size
(self)
test/general/lm_eval/models/gpt3.py:102
Method
batch_size
(self)
test/general/lm_eval/models/huggingface.py:411
Function
bits_per_byte
(items)
test/general/lm_eval/metrics.py:107
Function
bleu
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
Function
block_sum
inference/kernels/csrc/attention/decoder_masked_multihead_attention_template.hpp:467
Function
cache_input_hook
(m, x, y, name, feat_dict)
quantization/pre_quant.py:144
Function
cache_input_hook
(m, x, y, name, feat_dict)
quantization/autoclip.py:169
Method
calc_em
(self, items)
test/general/lm_eval/tasks/hendrycks_ethics.py:150
Method
calc_em
(self, items)
test/general/lm_eval/tasks/hendrycks_ethics.py:200
Method
calc_em
(self, items)
test/general/lm_eval/tasks/hendrycks_ethics.py:377
Method
cb_multi_fi
(cls, items)
test/general/lm_eval/tasks/superglue.py:143
Function
check_cuda_torch_binary_vs_bare_metal
(cuda_dir)
inference/kernels/csrc/attention/setup.py:27
Function
chrf
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
Function
chunks
(iter, n=0, fn=None)
test/general/lm_eval/utils.py:68
Method
clean
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
Function
clear_torch_cache
()
test/general/lm_eval/utils.py:289
Method
commit
(self)
test/general/lm_eval/decontamination/archiver.py:89
Method
compute_loss
(self, model, inputs, return_outputs=False)
train/mytrainer.py:126
Method
compute_metrics
(samples)
test/general/lm_eval/tasks/scrolls.py:211
Method
construct_requests
(self, doc, ctx)
test/general/lm_eval/base.py:747
Method
construct_requests
(self, doc, ctx)
test/general/lm_eval/base.py:829
Method
construct_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
Method
construct_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
Method
construct_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
Method
construct_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
Method
construct_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
Method
construct_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
Method
construct_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
Method
construct_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
Method
construct_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
Method
construct_requests
(self, doc, ctx)
test/general/lm_eval/tasks/blimp.py:87
Method
construct_requests
(self, doc, ctx)
test/general/lm_eval/tasks/unscramble.py:61
Method
construct_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
Method
construct_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
Method
construct_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
Method
construct_requests
(self, doc, ctx)
test/general/lm_eval/tasks/glue.py:84
Method
construct_requests
(self, doc, ctx)
test/general/lm_eval/tasks/glue.py:132
Method
construct_requests
(self, doc, ctx)
test/general/lm_eval/tasks/glue.py:193
Method
construct_requests
(self, doc, ctx)
test/general/lm_eval/tasks/glue.py:258
Method
construct_requests
(self, doc, ctx)
test/general/lm_eval/tasks/glue.py:309
Method
construct_requests
(self, doc, ctx)
test/general/lm_eval/tasks/glue.py:360
Method
construct_requests
(self, doc, ctx)
test/general/lm_eval/tasks/glue.py:412
Method
construct_requests
(self, doc, ctx)
test/general/lm_eval/tasks/glue.py:464
Method
construct_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
← previous
next →
601–700 of 1,634, ranked by callers