MCPcopy Create free account

hub / github.com/allenai/OLMo / functions

Functions3,821 in github.com/allenai/OLMo

Methodaggregation
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/asdiv.py:86
Methodaggregation
:returns: {str: [float] -> float} A dictionary where keys are the names of submetrics and values are functions that a
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/anli.py:110
Methodaggregation
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/coqa.py:170
Methodaggregation
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/mc_taco.py:105
Methodaggregation
:returns: {str: [float] -> float} A dictionary where keys are the names of submetrics and values are functions that a
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/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
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/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
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/race.py:153
Methodanswer_choices
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tasks/raft.py:58
Methodanswer_choices
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tasks/raft.py:58
Methodautocast_precision
(self)
olmo/config.py:1255
Functionautotune
(configs, key, prune_configs_by=None, reset_to_zero=None, nearest_power_of_two=False)
inference/compression/dependencies/AutoGPTQ/auto_gptq/nn_modules/triton_utils/custom_autotune.py:144
Methodbatch_size
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/base.py:143
Methodbatch_size
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/models/gpt2.py:92
Methodbatch_size
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/models/textsynth.py:72
Methodbatch_size
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/models/gpt3.py:101
Methodbatch_size
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/base.py:143
Methodbatch_size
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/models/gpt2.py:92
Methodbatch_size
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/models/textsynth.py:72
Methodbatch_size
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/models/gpt3.py:101
Methodbatches_per_epoch
(self)
olmo/train.py:253
Functionbits_per_byte
(items)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/metrics.py:107
Functionbits_per_byte
(items)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/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
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/metrics.py:111
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
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/metrics.py:111
Functionblock_gs
(nu_iter, mu, tu, rho, packed, unroll, bits)
inference/compression/dependencies/AutoGPTQ/autogptq_extension/qigen/generate.py:222
Methodbuild
(cls, config: ModelConfig, size: Optional[int] = None, **kwargs)
olmo/model.py:165
Methodbuild
(cls, config: ModelConfig)
olmo/model.py:338
Functionbuild_experiment_spec
( task_name: str, clusters: List[str], task_resources: TaskResources, arguments: List[str],
inference/efficiency/dependencies/efficiency-pentathlon/eb_gantry/util.py:228
Methodcalc_em
(self, items)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:152
Methodcalc_em
(self, items)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:202
Methodcalc_em
(self, items)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:377
Methodcalc_em
(self, items)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:152
Methodcalc_em
(self, items)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:202
Methodcalc_em
(self, items)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:377
Methodcan_generate
(self)
hf_olmo/modeling_olmo.py:146
Methodcb_multi_fi
(cls, items)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:146
Methodcb_multi_fi
(cls, items)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:146
Functioncheck_for_upgrades
()
inference/efficiency/dependencies/efficiency-pentathlon/eb_gantry/util.py:336
Functioncheck_install
(cuda: bool = False)
olmo/__init__.py:6
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.
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/metrics.py:128
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.
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/metrics.py:128
Methodchunk_size
(self)
olmo/data/memmap_dataset.py:93
Functionchunks
(iter, n)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/utils.py:44
Functionchunks
(iter, n)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/utils.py:44
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
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/decontamination/janitor.py:153
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
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/decontamination/janitor.py:153
Methodclear
Clears the entire sequence
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tango_utils/sequences.py:361
Methodcollate_fn
(self, data)
olmo/eval/downstream.py:295
Methodcommit
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/decontamination/archiver.py:87
Methodcommit
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/decontamination/archiver.py:87
Methodcompute
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/metrics/perplexity.py:26
Methodcompute
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/metrics/accuracy.py:35
Methodcompute
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/metrics/entropy.py:29
Methodcompute
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/metrics/perplexity.py:26
Methodcompute
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/metrics/accuracy.py:35
Methodcompute
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/metrics/entropy.py:29
Functioncompute_intermediate_size
(n, ffn_dim_multiplier=1, multiple_of=256)
scripts/convert_olmo_to_hf_new.py:45
Functioncompute_intermediate_size
(n, ffn_dim_multiplier=1, multiple_of=256)
scripts/convert_olmo2_to_hf.py:50
Functionconfig
Configure Gantry for a specific Beaker workspace.
inference/efficiency/dependencies/efficiency-pentathlon/eb_gantry/__main__.py:551
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/base.py:582
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/base.py:656
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/drop.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
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/cbt.py:91
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/triviaqa.py:76
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/winogrande.py:80
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/wsc273.py:119
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/truthfulqa.py:96
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/truthfulqa.py:208
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/blimp.py:82
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/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
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/gsm8k.py:69
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/naturalqs.py:83
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/qasper.py:204
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:86
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:134
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:194
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:257
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:308
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:359
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:411
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:463
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:518
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:73
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:128
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:198
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:258
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:331
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:403
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:468
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/webqs.py:81
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/translation.py:150
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/storycloze.py:94
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:72
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:104
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:142
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:192
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:265
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:331
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:366
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/arithmetic.py:65
← previousnext →1,701–1,800 of 3,821, ranked by callers