MCPcopy Create free account

hub / github.com/allenai/OLMo / functions

Functions3,821 in github.com/allenai/OLMo

Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_math.py:67
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/mutual.py:64
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM.
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/pubmedqa.py:65
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/lambada.py:60
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/asdiv.py:77
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/anli.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/coqa.py:129
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/mc_taco.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/quac.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/squad.py:99
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/race.py:124
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/base.py:582
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/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/previous_version/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/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/cbt.py:91
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/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/previous_version/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/previous_version/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/previous_version/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/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/truthfulqa.py:208
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/blimp.py:82
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/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/previous_version/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/previous_version/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/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/qasper.py:204
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:86
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:134
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:194
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:257
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:308
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:359
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:411
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/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/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:518
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:73
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:128
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:198
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:258
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:331
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:403
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:468
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/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/previous_version/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/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/storycloze.py:94
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:72
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:104
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:142
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:192
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:265
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:331
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:366
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/arithmetic.py:65
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_math.py:67
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/mutual.py:64
Methodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM.
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/pubmedqa.py:65
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/lambada.py:60
Methodconstruct_requests
(self, doc, ctx)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/asdiv.py:77
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/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/anli.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/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/coqa.py:129
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/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/mc_taco.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/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/quac.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/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/squad.py:99
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/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/race.py:124
Functionconstruct_tasks
()
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/lambada_multilingual.py:66
Functionconstruct_tasks
()
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/lambada_multilingual.py:66
Functionconvert
(instance: Dict[str, Any])
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tasks/t5.py:13
Functionconvert
( instance: Dict[str, Any], *, input_field: str, target_field: str, id_field: Optional[str] = None
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tasks/efficiency_benchmark.py:175
Functionconvert
(instance: Dict[str, Any])
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tasks/huggingface.py:95
Functionconvert
(instance: Dict[str, Any])
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tasks/t5.py:13
Functionconvert
( instance: Dict[str, Any], *, input_field: str, target_field: str, id_field: Optional[str] = None
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tasks/efficiency_benchmark.py:175
Functionconvert
(instance: Dict[str, Any])
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tasks/huggingface.py:95
Methodconvert_choice
(choice)
olmo/eval/downstream.py:968
Methodconvert_instance
(self, instance: Dict[str, Any], format: InstanceFormat, **kwargs)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/task.py:136
Methodconvert_instance
(self, instance: Dict[str, Any], format: InstanceFormat, **kwargs)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/task.py:136
Methodcopy_to
Make a copy of this sequence at a new location. :param target: the location of the copy This will attempt to make a hardlin
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tango_utils/sequences.py:376
Methodcopy_to
Make a copy of this sequence at a new location. :param target: the location of the copy This will attempt to make a hardlin
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tango_utils/sequences.py:376
Methodcount_words
(self, doc)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/wikitext.py:96
Methodcount_words
(self, doc)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/wikitext.py:96
Functioncreate_all_tasks
Creates a dictionary of tasks from a list of subjects :return: {task_name: task} e.g. {hendrycksTest-abstract_algebra: Task, hendrycksTest
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_test.py:88
Functioncreate_all_tasks
Creates a dictionary of tasks from a list of subjects :return: {task_name: task} e.g. {hendrycksTest-abstract_algebra: Task, hendrycksTest
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_test.py:88
Methodcreate_from_arg_string
(cls, arg_string, additional_config=None)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/models/dummy.py:11
Methodcreate_from_arg_string
(cls, arg_string, additional_config=None)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/models/dummy.py:11
Functioncreate_tasks_from_benchmarks
Creates a dictionary of tasks from a dict :param benchmark_dict: { dataset: [lang_pair, ...], } :return: {task_name: task} e.g. {wmt14
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/translation.py:37
Functioncreate_tasks_from_benchmarks
Creates a dictionary of tasks from a dict :param benchmark_dict: { dataset: [lang_pair, ...], } :return: {task_name: task} e.g. {wmt14
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/translation.py:37
Methoddataset
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/base.py:385
Methoddataset
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/base.py:385
Methoddataset
(self)
olmo/train.py:244
Functiondecorator
(fn)
inference/compression/dependencies/AutoGPTQ/auto_gptq/nn_modules/triton_utils/custom_autotune.py:145
Methoddefault_split
Returns the name of the default split to run evaluations on.
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/task.py:118
Methoddefault_split
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tasks/eleuther.py:85
Methoddefault_split
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tasks/raft.py:66
Methoddefault_split
Returns the name of the default split to run evaluations on.
inference/efficiency/dependencies/previous_version/efficiency_benchmark/task.py:118
Methoddefault_split
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tasks/eleuther.py:85
Methoddefault_split
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tasks/raft.py:66
Methoddelete_path
(self, path: str)
scripts/storage_cleaner.py:340
Methoddelete_path
(self, path: str)
scripts/storage_cleaner.py:487
Methoddet_hash_object
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/task.py:102
Methoddet_hash_object
Returns a copy of the parameters that were passed to the class instance's ``__init__()`` method.
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tango_utils/det_hash.py:59
Methoddet_hash_object
Returns a tuple of :attr:`~tango.common.det_hash.DetHashWithVersion.VERSION` and this instance itself.
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tango_utils/det_hash.py:87
Methoddet_hash_object
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/task.py:102
← previousnext →1,801–1,900 of 3,821, ranked by callers