MCPcopy Create free account

hub / github.com/allenai/OLMo / functions

Functions3,821 in github.com/allenai/OLMo

↓ 1 callersFunctiongen_module
(r, p, bits_list=[2, 3, 4])
inference/compression/dependencies/AutoGPTQ/autogptq_extension/qigen/generate.py:1367
↓ 1 callersFunctiongen_module_search
(r, p, bits_list=[2, 3, 4])
inference/compression/dependencies/AutoGPTQ/autogptq_extension/qigen/generate.py:1527
↓ 1 callersMethodget_answers
(cls, qa)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/drop.py:71
↓ 1 callersMethodget_answers
(cls, doc, turn_id)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/coqa.py:73
↓ 1 callersMethodget_answers
(cls, qa)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/drop.py:71
↓ 1 callersMethodget_answers
(cls, doc, turn_id)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/coqa.py:73
↓ 1 callersFunctionget_args
()
inference/efficiency/run_efficiency_benchmark.py:79
↓ 1 callersFunctionget_args
()
inference/efficiency/dependencies/previous_version/olmo_efficiency.py:77
↓ 1 callersFunctionget_args
()
inference/compression/run_quantization.py:48
↓ 1 callersFunctionget_batch_s3_size
(s3_uris: List[str])
scripts/microanneal_config_maker.py:35
↓ 1 callersFunctionget_batch_s3_size
(s3_uris: List[str])
scripts/peteish7_config_maker.py:34
↓ 1 callersMethodget_cache_hook
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/base.py:764
↓ 1 callersMethodget_cache_hook
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/base.py:764
↓ 1 callersFunctionget_change_log_notes
()
scripts/release_notes.py:20
↓ 1 callersFunctionget_commit_history
()
scripts/release_notes.py:46
↓ 1 callersFunctionget_cumulative_document_lengths
Transform a batched tensor of document lengths into a 1D tensor of cumulative document lengths for the whole batch.
olmo/torch_util.py:148
↓ 1 callersFunctionget_dataloader
load dataset and build dataloader :param data_path_or_name: str, dataset name in hf-hub or local file path :param prompt_col_name: str, see `
inference/compression/dependencies/AutoGPTQ/auto_gptq/utils/data_utils.py:175
↓ 1 callersMethodget_file_size
Get the size of the file at the given path in bytes. Raises an error if the path does not correspond to a file.
scripts/storage_cleaner.py:80
↓ 1 callersMethodget_fsdp_wrap_policy
(self, wrap_strategy: Optional[FSDPWrapStrategy] = None)
olmo/model.py:1461
↓ 1 callersMethodget_global_indices
(self)
olmo/data/iterable_dataset.py:115
↓ 1 callersFunctionget_global_train_examples_seen_before_step
(step: int, trainer_state: dict, cfg: TrainConfig)
scripts/inspect_train_data.py:22
↓ 1 callersFunctionget_group
(s3_uri)
scripts/microanneal_config_maker.py:474
↓ 1 callersFunctionget_group
(s3_uri)
scripts/peteish7_config_maker.py:460
↓ 1 callersMethodget_labels
(self, batch: Dict[str, Any])
olmo/train.py:704
↓ 1 callersMethodget_level_text
(self, record: logging.LogRecord)
olmo/util.py:276
↓ 1 callersMethodget_location_text
(self, record: logging.LogRecord)
olmo/util.py:283
↓ 1 callersMethodget_metrics
Takes a predicted answer and a gold answer (that are both either a string or a list of strings), and returns exact match and the DROP
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/drop.py:154
↓ 1 callersMethodget_metrics
Takes a predicted answer and a gold answer (that are both either a string or a list of strings), and returns exact match and the DROP
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/drop.py:154
↓ 1 callersFunctionget_next_word_predictions
( model, tokenizer, prompts, candidate_token_ids=None, batch_size=1, return_token_pred
inference/eval/utils.py:110
↓ 1 callersFunctionget_node_rank
()
olmo/torch_util.py:31
↓ 1 callersFunctionget_param_groups
Separate parameters into weight decay and non weight decay groups.
olmo/optim.py:829
↓ 1 callersFunctionget_parser
()
scripts/storage_cleaner.py:1476
↓ 1 callersFunctionget_parser
()
scripts/prepare_tulu_data.py:111
↓ 1 callersMethodget_post_step_metrics
( self, module: nn.Module, process_group: Optional[dist.ProcessGroup] = None )
olmo/optim.py:393
↓ 1 callersFunctionget_predictions
( input_ids: LongTensor, output_ids: LongTensor, num_return_sequences: int, tokenizer: PreTrai
inference/compression/dependencies/AutoGPTQ/auto_gptq/eval_tasks/sequence_classification_task.py:13
↓ 1 callersFunctionget_progress
()
scripts/prepare_memmap_dataset.py:56
↓ 1 callersFunctionget_progress_bar
()
olmo/util.py:313
↓ 1 callersFunctionget_result
Process results from OpenAI API response. :param response: dict OpenAI API Response :param ctxlen: int Length of context (so
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/models/gpt3.py:11
↓ 1 callersFunctionget_result
Process results from OpenAI API response. :param response: dict OpenAI API Response :param ctxlen: int Length of context (so
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/models/gpt3.py:11
↓ 1 callersMethodget_scenario_instances
(self, scenario: str, split: str)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tasks/efficiency_benchmark.py:106
↓ 1 callersMethodget_scenario_instances
(self, scenario: str, split: str)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tasks/efficiency_benchmark.py:106
↓ 1 callersFunctionget_single_s3_size
(s3_uri: str, s3_client=None)
scripts/microanneal_config_maker.py:18
↓ 1 callersFunctionget_single_s3_size
(s3_uri: str, s3_client=None)
scripts/peteish7_config_maker.py:18
↓ 1 callersMethodget_split
Returns the split with the given name.
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/task.py:113
↓ 1 callersMethodget_split
(self, split: str)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tasks/efficiency_benchmark.py:117
↓ 1 callersMethodget_split
Returns the split with the given name.
inference/efficiency/dependencies/previous_version/efficiency_benchmark/task.py:113
↓ 1 callersMethodget_split
(self, split: str)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tasks/efficiency_benchmark.py:117
↓ 1 callersMethodget_state_for_param
(self, param: nn.Parameter)
olmo/optim.py:360
↓ 1 callersFunctionget_task
(task_name)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/__init__.py:295
↓ 1 callersFunctionget_task
(task_name)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/__init__.py:295
↓ 1 callersFunctionget_task_name_from_object
(task_object)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/__init__.py:304
↓ 1 callersFunctionget_task_name_from_object
(task_object)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/__init__.py:304
↓ 1 callersMethodget_time_text
(self, record: logging.LogRecord)
olmo/util.py:271
↓ 1 callersFunctionget_token_strs
(token_source, bytes_per_token=4)
scripts/microanneal_config_maker.py:391
↓ 1 callersFunctionget_token_strs
(token_source, bytes_per_token=4)
scripts/peteish7_config_maker.py:393
↓ 1 callersFunctionget_train_overlap
(docs_by_task_set, ngrams_path, limit)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/decontamination/decontaminate.py:37
↓ 1 callersFunctionget_train_overlap
(docs_by_task_set, ngrams_path, limit)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/decontamination/decontaminate.py:37
↓ 1 callersFunctionget_wikitext2
(nsamples, seed, seqlen, model)
inference/compression/run_quantization.py:24
↓ 1 callersFunctionget_wikitext2
(nsamples, seed, seqlen, tokenizer)
inference/compression/dependencies/AutoGPTQ/examples/quantization/basic_usage_gpt_xl.py:15
↓ 1 callersFunctionget_wikitext2
(nsamples, seed, seqlen, model)
inference/compression/dependencies/AutoGPTQ/examples/quantization/basic_usage_wikitext2.py:14
↓ 1 callersFunctiongrid
()
inference/compression/dependencies/AutoGPTQ/autogptq_extension/qigen/generate.py:903
↓ 1 callersFunctiongroup
(arr, fn)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/utils.py:56
↓ 1 callersFunctiongroup
(arr, fn)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/utils.py:56
↓ 1 callersFunctiongroup_consecutive_values
Function to group consecutive values in an array.
olmo/data/util.py:27
↓ 1 callersMethodgumbel
Sample `Gumbel(phi)`. `phi` should have shape `(batch_size, num_classes)`.
olmo/beam_search.py:395
↓ 1 callersMethodhas_split
Returns ``True`` if a split with the given name exists. ``False`` otherwise.
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/task.py:109
↓ 1 callersMethodhas_split
(self, split: str)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tasks/metaicl.py:17
↓ 1 callersMethodhas_split
(self, split: str)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tasks/mrqa.py:12
↓ 1 callersMethodhas_split
Returns ``True`` if a split with the given name exists. ``False`` otherwise.
inference/efficiency/dependencies/previous_version/efficiency_benchmark/task.py:109
↓ 1 callersMethodhas_split
(self, split: str)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tasks/metaicl.py:17
↓ 1 callersMethodhas_split
(self, split: str)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tasks/mrqa.py:12
↓ 1 callersMethodhas_supported_archive_extension
(self, path: PathOrStr)
scripts/storage_cleaner.py:153
↓ 1 callersMethodhas_test_docs
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:115
↓ 1 callersMethodhas_test_docs
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:166
↓ 1 callersMethodhas_test_docs
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/pubmedqa.py:44
↓ 1 callersMethodhas_test_docs
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/lambada.py:111
↓ 1 callersMethodhas_test_docs
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/anli.py:44
↓ 1 callersMethodhas_test_docs
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:115
↓ 1 callersMethodhas_test_docs
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:166
↓ 1 callersMethodhas_test_docs
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/pubmedqa.py:44
↓ 1 callersMethodhas_test_docs
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/lambada.py:111
↓ 1 callersMethodhas_test_docs
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/anli.py:44
↓ 1 callersMethodhas_training_docs
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:431
↓ 1 callersMethodhas_training_docs
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/lambada.py:105
↓ 1 callersMethodhas_training_docs
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/anli.py:38
↓ 1 callersMethodhas_training_docs
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/superglue.py:431
↓ 1 callersMethodhas_training_docs
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/lambada.py:105
↓ 1 callersMethodhas_training_docs
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/anli.py:38
↓ 1 callersMethodhas_validation_docs
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:112
↓ 1 callersMethodhas_validation_docs
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:163
↓ 1 callersMethodhas_validation_docs
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/lambada.py:108
↓ 1 callersMethodhas_validation_docs
(self)
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/anli.py:41
↓ 1 callersMethodhas_validation_docs
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:112
↓ 1 callersMethodhas_validation_docs
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/glue.py:163
↓ 1 callersMethodhas_validation_docs
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/lambada.py:108
↓ 1 callersMethodhas_validation_docs
(self)
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/anli.py:41
↓ 1 callersFunctionhijack_peft_mappings
()
inference/compression/dependencies/AutoGPTQ/auto_gptq/utils/peft_utils.py:329
↓ 1 callersFunctionhuman_format_number
Format a number using K for thousands, M for millions, B for billions, T for trillions. Args: num: Number to format decimal_
scripts/microanneal_config_maker.py:357
↓ 1 callersFunctionhuman_format_number
Format a number using K for thousands, M for millions, B for billions, T for trillions. Args: num: Number to format decimal_
scripts/peteish7_config_maker.py:359
↓ 1 callersMethodinit_state
( self, start_class_log_probabilities: torch.Tensor, batch_size: int, num_classes: int )
olmo/beam_search.py:305
← previousnext →801–900 of 3,821, ranked by callers