Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/allenai/OLMo
/ functions
Functions
3,821 in github.com/allenai/OLMo
⨍
Functions
3,821
◇
Types & classes
799
↳
Endpoints
9
Method
prepare_global_plan
(self, global_plan: List[dist_cp.LoadPlan])
olmo/checkpoint.py:497
Method
prepare_inputs_for_generation
shortcut for model.prepare_inputs_for_generation
inference/compression/dependencies/AutoGPTQ/auto_gptq/modeling/_base.py:458
Method
prepare_inputs_for_generation
( self, input_ids: torch.LongTensor, past_key_values: Optional[List[Tuple]] = None, **kwargs )
hf_olmo/modeling_olmo.py:149
Method
prepare_local_plan
(self, plan: dist_cp.LoadPlan)
olmo/checkpoint.py:494
Function
preprocess
(example, tokenizer: Tokenizer, max_seq_len: int)
scripts/prepare_tulu_data.py:75
Method
preprocess_answers
(example)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tasks/mrqa.py:43
Method
preprocess_answers
(example)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tasks/mrqa.py:43
Function
print_exception
(*args, **kwargs)
inference/efficiency/dependencies/efficiency-pentathlon/eb_gantry/util.py:51
Function
process_file
(file_name, input_ext=input_ext, input_dir=input_dir, output_dir=output_dir)
scripts/split_gz.py:48
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/base.py:587
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/base.py:661
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/drop.py:134
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/cbt.py:110
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/triviaqa.py:83
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/winogrande.py:105
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/wsc273.py:144
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/truthfulqa.py:115
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/truthfulqa.py:223
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/blimp.py:92
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/unscramble.py:65
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/gsm8k.py:99
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/naturalqs.py:97
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/qasper.py:167
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:91
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:139
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:200
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:262
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:313
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:364
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:416
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:468
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:532
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:79
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:135
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:207
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:267
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:338
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:409
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:474
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/webqs.py:88
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/translation.py:163
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/storycloze.py:109
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:76
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:109
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:147
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:197
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:273
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:336
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:371
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/arithmetic.py:69
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_math.py:70
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/mutual.py:86
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/pubmedqa.py:74
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/lambada.py:65
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/asdiv.py:81
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/anli.py:96
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/coqa.py:143
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/mc_taco.py:84
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/quac.py:94
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/squad.py:114
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/race.py:139
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/base.py:587
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/base.py:661
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/drop.py:134
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/cbt.py:110
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/triviaqa.py:83
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/winogrande.py:105
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/wsc273.py:144
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/truthfulqa.py:115
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/truthfulqa.py:223
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/blimp.py:92
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/unscramble.py:65
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/gsm8k.py:99
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/naturalqs.py:97
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/qasper.py:167
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:91
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:139
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:200
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:262
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:313
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:364
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:416
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:468
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:532
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:79
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:135
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:207
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:267
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:338
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:409
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:474
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/webqs.py:88
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/translation.py:163
Method
process_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/storycloze.py:109
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:76
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:109
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:147
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:197
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:273
Method
process_results
(self, doc, results)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/hendrycks_ethics.py:336
← previous
next →
3,101–3,200 of 3,821, ranked by callers