MCPcopy Create free account

hub / github.com/allenai/OLMo / types & classes

Types & classes799 in github.com/allenai/OLMo

↓ 71 callersClassEleutherTask
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tasks/eleuther.py:23
↓ 71 callersClassEleutherTask
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tasks/eleuther.py:23
↓ 56 callersClassMetaICLTask
A task that loads data in the MetaICL fewshot setting. This uses the same set of ICL demonstrations for all test instances.
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tasks/metaicl.py:9
↓ 56 callersClassMetaICLTask
A task that loads data in the MetaICL fewshot setting. This uses the same set of ICL demonstrations for all test instances.
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tasks/metaicl.py:9
↓ 28 callersClassEvaluatorConfig
olmo/config.py:642
↓ 27 callersClassOLMoConfigurationError
An error with a configuration file.
olmo/exceptions.py:17
↓ 20 callersClassModelConfig
OLMo (model) configuration.
olmo/config.py:234
↓ 18 callersClassOLMo
olmo/model.py:1064
↓ 13 callersClassBeamSearch
Implements the beam search algorithm for decoding the most likely sequences. :param end_index: The index of the "stop" or "end" token in the
olmo/beam_search.py:649
↓ 11 callersClassEfficiencyBenchmarkRaftTask
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tasks/efficiency_benchmark.py:169
↓ 11 callersClassEfficiencyBenchmarkRaftTask
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tasks/efficiency_benchmark.py:169
↓ 11 callersClassMrqaTask
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tasks/mrqa.py:7
↓ 11 callersClassMrqaTask
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tasks/mrqa.py:7
↓ 10 callersClassArithmeticConfig
BuilderConfig for GPT3 Arithmetic Test Dataset.
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/datasets/arithmetic/arithmetic.py:46
↓ 10 callersClassArithmeticConfig
BuilderConfig for GPT3 Arithmetic Test Dataset.
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/datasets/arithmetic/arithmetic.py:46
↓ 10 callersClassBufferCache
Cache for attention biases and other things that would normally be stored as buffers. We avoid using buffers because we've run into various i
olmo/model.py:109
↓ 10 callersClassIterableDataset
Adapted from PyTorch's DistributedSampler, this wraps a Dataset or arbitrary sequence as an IterableDataset that can be deterministically res
olmo/data/iterable_dataset.py:19
↓ 9 callersClassBaseQuantizeConfig
inference/compression/dependencies/AutoGPTQ/auto_gptq/modeling/_base.py:44
↓ 9 callersClassMappedSequence
Produces a sequence that applies a function to every element of another sequence. This is similar to Python's :func:`map`, but it returns a
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tango_utils/sequences.py:174
↓ 9 callersClassMappedSequence
Produces a sequence that applies a function to every element of another sequence. This is similar to Python's :func:`map`, but it returns a
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tango_utils/sequences.py:174
↓ 7 callersClassConfigurationError
inference/efficiency/dependencies/efficiency-pentathlon/eb_gantry/exceptions.py:19
↓ 7 callersClassEleutherClassificationTask
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tasks/eleuther.py:147
↓ 7 callersClassEleutherClassificationTask
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tasks/eleuther.py:147
↓ 7 callersClassHFDatasetsTask
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tasks/huggingface.py:55
↓ 7 callersClassHFDatasetsTask
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tasks/huggingface.py:55
↓ 7 callersClassLocalFileSystemAdapter
scripts/storage_cleaner.py:128
↓ 7 callersClassMemMapDataset
A PyTorch :class:`~torch.utils.data.Dataset` backed by one or more numpy memory-mapped arrays of token IDs. Token IDs are chunked together in
olmo/data/memmap_dataset.py:20
↓ 7 callersClassRepeatedNGramBlockingConstraint
olmo/beam_search.py:593
↓ 5 callersClassEthicsConfig
BuilderConfig for Hendrycks ETHICS.
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/datasets/hendrycks_ethics/hendrycks_ethics.py:49
↓ 5 callersClassEthicsConfig
BuilderConfig for Hendrycks ETHICS.
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/datasets/hendrycks_ethics/hendrycks_ethics.py:49
↓ 5 callersClassRankClassificationInstance
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/task.py:83
↓ 5 callersClassRankClassificationInstance
inference/efficiency/dependencies/previous_version/efficiency_benchmark/task.py:83
↓ 4 callersClassEfficiencyBenchmarkInstance
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tasks/efficiency_benchmark.py:21
↓ 4 callersClassEfficiencyBenchmarkInstance
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tasks/efficiency_benchmark.py:21
↓ 4 callersClassEfficiencyBenchmarkTask
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tasks/efficiency_benchmark.py:35
↓ 4 callersClassEfficiencyBenchmarkTask
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tasks/efficiency_benchmark.py:35
↓ 4 callersClassFullCheckpointer
A :class:`Checkpointer` that saves a single full model and optimizer state dictionary.
olmo/checkpoint.py:614
↓ 4 callersClassLengthNormalizedSequenceLogProbabilityScorer
A :class:`FinalSequenceScorer` which scores the sequences by the average log probability of the tokens in the sequence. It optionally include
olmo/beam_search.py:462
↓ 4 callersClassOLMoBlock
A base class for transformer block implementations.
olmo/model.py:407
↓ 4 callersClassOLMoEnvironmentError
An error from incorrect environment variables.
olmo/exceptions.py:29
↓ 4 callersClassOLMoLlamaBlock
This is a transformer block where the output is computed as ``MLP(LN(x + Attention(LN(x))))`` (plus another skip connection). This block is s
olmo/model.py:820
↓ 4 callersClassOLMoNetworkError
An error with a network request.
olmo/exceptions.py:35
↓ 4 callersClassOLMoSequentialBlock
This is a typical transformer block where the output is computed as ``MLP(LN(x + Attention(LN(x))))`` (plus another skip connection). To comp
olmo/model.py:672
↓ 4 callersClassOptimizerConfig
olmo/config.py:504
↓ 4 callersClassQuantLinear
inference/compression/dependencies/AutoGPTQ/auto_gptq/nn_modules/qlinear/qlinear_cuda.py:23
↓ 4 callersClassSTKey
olmo/safetensors_util.py:18
↓ 4 callersClassTopPSampler
A `Sampler` which redistributes the probability mass function for nodes among the top choices with a cumulative probability of at least `p`,
olmo/beam_search.py:205
↓ 4 callersClassTrainConfig
OLMo training configuration.
olmo/config.py:890
↓ 4 callersClassWikitextConfig
BuilderConfig for GLUE.
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/datasets/wikitext/wikitext.py:45
↓ 4 callersClassWikitextConfig
BuilderConfig for GLUE.
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/datasets/wikitext/wikitext.py:45
↓ 3 callersClassDataCollator
olmo/data/collator.py:15
↓ 3 callersClassDataConfig
olmo/config.py:608
↓ 3 callersClassLinearWithWarmup
olmo/optim.py:713
↓ 3 callersClassOLMoCliError
An error from incorrect CLI usage.
olmo/exceptions.py:23
↓ 3 callersClassOLMoConfig
hf_olmo/configuration_olmo.py:14
↓ 3 callersClassRemoteFileSystemReader
A :class:`~torch.distributed.checkpoint.StorageReader` based on :class:`~torch.distributed.checkpoint.FileSystemReader` that can read data di
olmo/checkpoint.py:409
↓ 3 callersClassRequest
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/base.py:775
↓ 3 callersClassRequest
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/base.py:775
↓ 3 callersClassTopKSampler
A `Sampler` which redistributes the probability mass function for nodes among the top `k` choices, then samples from that subset after re-nor
olmo/beam_search.py:148
↓ 2 callersClassCacheHook
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/base.py:693
↓ 2 callersClassCacheHook
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/base.py:693
↓ 2 callersClassDropout
olmo/model.py:127
↓ 2 callersClassEntrypointChecksumError
inference/efficiency/dependencies/efficiency-pentathlon/eb_gantry/exceptions.py:27
↓ 2 callersClassEvaluator
olmo/eval/evaluator.py:15
↓ 2 callersClassGPTQAdaLoraConfig
inference/compression/dependencies/AutoGPTQ/auto_gptq/utils/peft_utils.py:178
↓ 2 callersClassGPTQLoraConfig
inference/compression/dependencies/AutoGPTQ/auto_gptq/utils/peft_utils.py:19
↓ 2 callersClassGumbelSampler
A `Sampler` which uses the Gumbel-Top-K trick to sample without replacement. See [*Stochastic Beams and Where to Find Them: The Gumbel-Top-k
olmo/beam_search.py:291
↓ 2 callersClassLayerNorm
The default :class:`LayerNorm` implementation which can optionally run in low precision.
olmo/model.py:193
↓ 2 callersClassLocalShardedCheckpointer
A sharded :class:`Checkpointer` that directly saves the local FSDP flat params data. The optimizer state is saved directly with `torch.save()
olmo/checkpoint.py:1472
↓ 2 callersClassOLMoCheckpointError
An error occurred reading or writing from a checkpoint.
olmo/exceptions.py:41
↓ 2 callersClassPowerMonitor
Thread class with a stop() method. The thread itself has to check regularly for the stopped() condition.
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/efficiency/power_monitor.py:13
↓ 2 callersClassPowerMonitor
Thread class with a stop() method. The thread itself has to check regularly for the stopped() condition.
inference/efficiency/dependencies/previous_version/efficiency_benchmark/efficiency/power_monitor.py:13
↓ 2 callersClassSchedulerConfig
olmo/config.py:569
↓ 2 callersClassSlicedSequence
Produces a sequence that's a slice into another sequence, without copying the elements. This assumes that the inner sequence never changes.
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tango_utils/sequences.py:77
↓ 2 callersClassSlicedSequence
Produces a sequence that's a slice into another sequence, without copying the elements. This assumes that the inner sequence never changes.
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tango_utils/sequences.py:77
↓ 2 callersClassTokenizerConfig
olmo/config.py:656
↓ 2 callersClass_FlatParamShard
olmo/checkpoint.py:1460
↓ 2 callersClasseach
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/tasks/race.py:29
↓ 2 callersClasseach
inference/efficiency/dependencies/previous_version/efficiency_benchmark/dependencies/lm_eval/tasks/race.py:29
↓ 1 callersClassAdamW
olmo/optim.py:506
↓ 1 callersClassCalculateMetricsStep
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/steps.py:204
↓ 1 callersClassCalculateMetricsStep
inference/efficiency/dependencies/previous_version/efficiency_benchmark/steps.py:196
↓ 1 callersClassCatcher
inference/compression/dependencies/AutoGPTQ/examples/quantization/basic_usage_wikitext2.py:68
↓ 1 callersClassConstantScheduler
olmo/optim.py:786
↓ 1 callersClassConstantWithWarmupScheduler
olmo/optim.py:816
↓ 1 callersClassCosLinearEnvelope
Pointwise product of cosine schedule and linear decay; useful during annealing.
olmo/optim.py:793
↓ 1 callersClassCosWithWarmup
olmo/optim.py:694
↓ 1 callersClassCustomizedMinNewTokensLogitsProcessor
inference/compression/dependencies/AutoGPTQ/examples/benchmark/generation_speed.py:21
↓ 1 callersClassCustomizedTritonAutoTuner
inference/compression/dependencies/AutoGPTQ/auto_gptq/nn_modules/triton_utils/custom_autotune.py:14
↓ 1 callersClassDDPConfig
olmo/config.py:741
↓ 1 callersClassDeleteBadRunsConfig
scripts/storage_cleaner.py:613
↓ 1 callersClassDeterministicSampler
A `Sampler` that just deterministically returns the `k` nodes or beams with highest log probability.
olmo/beam_search.py:102
↓ 1 callersClassDirtyRepoError
inference/efficiency/dependencies/efficiency-pentathlon/eb_gantry/exceptions.py:11
↓ 1 callersClassEfficiencyBenchmarkPromptTask
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tasks/efficiency_benchmark.py:147
↓ 1 callersClassEfficiencyBenchmarkPromptTask
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tasks/efficiency_benchmark.py:147
↓ 1 callersClassEleutherClassificationTaskWithRenamedSplits
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tasks/eleuther.py:256
↓ 1 callersClassEleutherClassificationTaskWithRenamedSplits
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tasks/eleuther.py:256
↓ 1 callersClassEleutherTaskWithRenamedSplits
This task is different because EAI relabels the datasets.
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/tasks/eleuther.py:219
↓ 1 callersClassEleutherTaskWithRenamedSplits
This task is different because EAI relabels the datasets.
inference/efficiency/dependencies/previous_version/efficiency_benchmark/tasks/eleuther.py:219
↓ 1 callersClassExitCodeError
inference/efficiency/dependencies/efficiency-pentathlon/efficiency_benchmark/dependencies/lm_eval/utils.py:13
next →1–100 of 799, ranked by callers