Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/allenai/molmo
/ types & classes
Types & classes
198 in github.com/allenai/molmo
⨍
Functions
893
◇
Types & classes
198
↓ 19 callers
Class
EvaluatorConfig
Config for `Evaluator` objects that compute metrics
olmo/config.py:1042
↓ 13 callers
Class
BeamSearch
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
↓ 12 callers
Class
OLMoConfigurationError
An error with a configuration file.
olmo/exceptions.py:17
↓ 8 callers
Class
MockDataset
tests/data/test_data_iterator.py:27
↓ 8 callers
Class
ModelConfig
OLMo (model) configuration.
olmo/config.py:336
↓ 7 callers
Class
IterableDatasetMixture
Infinitely iterates over a mixture of datasets
olmo/data/iterable_dataset_mixture.py:15
↓ 7 callers
Class
RepeatedNGramBlockingConstraint
olmo/beam_search.py:593
↓ 7 callers
Class
TokenizerConfig
olmo/config.py:312
↓ 7 callers
Class
VisionBackboneConfig
olmo/config.py:273
↓ 6 callers
Class
Molmo
olmo/model.py:1587
↓ 5 callers
Class
DataConfig
Configuration for a dataset to train or evaluate on
olmo/config.py:1077
↓ 4 callers
Class
AndroidControlBuilder
olmo/hf_datasets/android_control.py:156
↓ 4 callers
Class
BoxesToVisualize
Boxes to draw on an image
olmo/html_utils.py:241
↓ 4 callers
Class
CosWithWarmup
olmo/optim.py:593
↓ 4 callers
Class
Dropout
olmo/model.py:165
↓ 4 callers
Class
FSDPConfig
olmo/config.py:1279
↓ 4 callers
Class
LengthNormalizedSequenceLogProbabilityScorer
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 callers
Class
OLMoEnvironmentError
An error from incorrect environment variables.
olmo/exceptions.py:29
↓ 4 callers
Class
OLMoNetworkError
An error with a network request.
olmo/exceptions.py:35
↓ 4 callers
Class
PixMoDocs
olmo/data/pixmo_datasets.py:113
↓ 4 callers
Class
PixMoPoints
olmo/data/pixmo_datasets.py:155
↓ 4 callers
Class
STKey
olmo/safetensors_util.py:18
↓ 4 callers
Class
TopPSampler
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 callers
Class
ViTMultiHeadDotProductAttention
MDPA for the image ViT
olmo/image_vit.py:33
↓ 3 callers
Class
Ai2dDatasetBuilder
AI2D dataset builder, this builder adds the labelled boxes as needed to the AI2D images using both transparent and opaque boxes
olmo/hf_datasets/ai2d.py:92
↓ 3 callers
Class
ClockBenchBuilder
olmo/hf_datasets/clock_bench.py:34
↓ 3 callers
Class
CountQaBuilder
CountQa dataset from PaliGemi, it is built by merging the CountBench image/count pairs with the natural language questions from the PaliGemma pape
olmo/hf_datasets/count_qa.py:15
↓ 3 callers
Class
DatasetEvaluatorConfig
Configuration for a datset and metrics to use to evaluate a model
olmo/config.py:1140
↓ 3 callers
Class
DeterministicDataset
Dataset wrapper that supports padding and control the random seed based on the epoch
olmo/data/dataset.py:36
↓ 3 callers
Class
DvQaBuilder
olmo/hf_datasets/dv_qa.py:9
↓ 3 callers
Class
FigureQaBuilder
olmo/hf_datasets/figure_qa.py:9
↓ 3 callers
Class
FullCheckpointer
A :class:`Checkpointer` that saves a single full model and optimizer state dictionary.
olmo/checkpoint.py:616
↓ 3 callers
Class
ImageProjectorMLP
MLP used for the image projector
olmo/model.py:1302
↓ 3 callers
Class
LinearWithWarmup
olmo/optim.py:612
↓ 3 callers
Class
LocalShardedCheckpointer
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:1474
↓ 3 callers
Class
ModelEvaluator
Evaluates a model on possibly multiple tasks
scripts/mm_eval.py:70
↓ 3 callers
Class
OptimizerConfig
olmo/config.py:917
↓ 3 callers
Class
PixMoCap
olmo/data/pixmo_datasets.py:322
↓ 3 callers
Class
PlotQaBuilder
olmo/hf_datasets/plot_qa.py:9
↓ 3 callers
Class
RemoteFileSystemReader
A :class:`~torch.distributed.checkpoint.StorageReader` based on :class:`~torch.distributed.checkpoint.FileSystemReader` that can read data di
olmo/checkpoint.py:411
↓ 3 callers
Class
TabMwpBuilder
olmo/hf_datasets/tabmwp.py:9
↓ 3 callers
Class
TopKSampler
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
↓ 3 callers
Class
TrainConfig
OLMo training configuration.
olmo/config.py:1366
↓ 2 callers
Class
AOkVqa
olmo/data/academic_datasets.py:134
↓ 2 callers
Class
AOkVqaBuilder
olmo/hf_datasets/a_okvqa.py:59
↓ 2 callers
Class
AndroidControl
olmo/data/academic_datasets.py:614
↓ 2 callers
Class
BlockCollection
olmo/image_vit.py:186
↓ 2 callers
Class
ChartQa
ChartQA dataset from HuggingFace M4 project. This class loads the ChartQA dataset from HuggingFace (https://huggingface.co/datasets/HuggingFa
olmo/data/academic_datasets.py:34
↓ 2 callers
Class
ClockEval
olmo/eval/evaluators.py:805
↓ 2 callers
Class
DataFormatter
Applies prompt templates and adds system prompts to construct text inputs/output
olmo/data/data_formatter.py:298
↓ 2 callers
Class
DownloadError
olmo/data/download_urls.py:42
↓ 2 callers
Class
EvalConfig
olmo/config.py:1831
↓ 2 callers
Class
GELU
olmo/model.py:472
↓ 2 callers
Class
GumbelSampler
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 callers
Class
HtmlTable
Returned as special metric for visualizing predictions
olmo/eval/evaluators.py:50
↓ 2 callers
Class
ImageError
olmo/data/download_urls.py:48
↓ 2 callers
Class
InfDatasetEvaluator
Evaluates a model on a dataset
olmo/eval/inf_evaluator.py:110
↓ 2 callers
Class
LayerNorm
The default :class:`LayerNorm` implementation which can optionally run in low precision.
olmo/model.py:271
↓ 2 callers
Class
MMCollator
Converts list of examples from our datasets into a tensor batch
olmo/data/collator.py:43
↓ 2 callers
Class
MMMU
olmo/data/academic_datasets.py:769
↓ 2 callers
Class
MultiModalPreprocessor
Converts text/images inputs into tensors that can be used in the forward method for the a model
olmo/data/model_preprocessor.py:276
↓ 2 callers
Class
OLMoCheckpointError
An error occurred reading or writing from a checkpoint.
olmo/exceptions.py:41
↓ 2 callers
Class
OLMoCliError
An error from incorrect CLI usage.
olmo/exceptions.py:23
↓ 2 callers
Class
OlmoCoreCheckpointer
olmo/checkpoint.py:1909
↓ 2 callers
Class
PixMoCount
olmo/data/pixmo_datasets.py:73
↓ 2 callers
Class
Preprocessor
olmo/data/model_preprocessor.py:815
↓ 2 callers
Class
SchedulerConfig
olmo/config.py:1003
↓ 2 callers
Class
SpeedMonitorConfig
olmo/config.py:1203
↓ 2 callers
Class
TallyQaBuilder
olmo/hf_datasets/tally_qa.py:8
↓ 2 callers
Class
TorchLegacyShardedCheckpointer
A sharded :class:`Checkpointer` that just uses `torch.save()` with extra logic for handling FSDP model and optim state. The world size m
olmo/checkpoint.py:969
↓ 2 callers
Class
VQAv2BuilderMultiQA
olmo/hf_datasets/vqa_v2.py:80
↓ 2 callers
Class
ViTMLP
olmo/image_vit.py:148
↓ 2 callers
Class
Vqa2
olmo/data/academic_datasets.py:90
↓ 2 callers
Class
WandbConfig
olmo/config.py:1191
↓ 2 callers
Class
_FlatParamShard
olmo/checkpoint.py:1462
↓ 1 callers
Class
AI2D
olmo/data/academic_datasets.py:306
↓ 1 callers
Class
AdamW
olmo/optim.py:544
↓ 1 callers
Class
AndroidControlEval
olmo/eval/evaluators.py:374
↓ 1 callers
Class
BatchStatsMonitor
olmo/train.py:72
↓ 1 callers
Class
BufferCache
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:119
↓ 1 callers
Class
ClockBench
olmo/data/academic_datasets.py:816
↓ 1 callers
Class
ConstantScheduler
olmo/optim.py:685
↓ 1 callers
Class
CountBenchQa
olmo/data/academic_datasets.py:515
↓ 1 callers
Class
CountEval
olmo/eval/evaluators.py:742
↓ 1 callers
Class
DeterministicSampler
A `Sampler` that just deterministically returns the `k` nodes or beams with highest log probability.
olmo/beam_search.py:102
↓ 1 callers
Class
DinoBlockCollection
olmo/image_vit.py:214
↓ 1 callers
Class
DinoResidualAttentionBlock
olmo/image_vit.py:274
↓ 1 callers
Class
DinoVisionTransformer
olmo/image_vit.py:474
↓ 1 callers
Class
DocQa
DocumentVQA dataset from HuggingFace M4 project. This class loads the DocumentVQA dataset from HuggingFace (https://huggingface.co/datasets/H
olmo/data/academic_datasets.py:436
↓ 1 callers
Class
DvQa
olmo/data/academic_datasets.py:675
↓ 1 callers
Class
Element
olmo/hf_datasets/android_control_utils.py:123
↓ 1 callers
Class
Embedding
olmo/model.py:137
↓ 1 callers
Class
FigureQa
olmo/data/academic_datasets.py:570
↓ 1 callers
Class
HfTokenizerWrapper
Tokenizer wrapper This exists mostly for legacy reasons since we used to support other kinds of tokenizers with different API
olmo/tokenizer.py:27
↓ 1 callers
Class
InfEvaluator
Evaluates the text outputs from a model on a task
olmo/eval/inf_evaluator.py:31
↓ 1 callers
Class
InfoQa
olmo/data/academic_datasets.py:391
↓ 1 callers
Class
InvSqrtWithWarmup
olmo/optim.py:631
↓ 1 callers
Class
LRMonitor
olmo/train.py:148
↓ 1 callers
Class
LionW
Adapted from https://github.com/google/automl/blob/master/lion/lion_pytorch.py
olmo/optim.py:434
↓ 1 callers
Class
LlamaSwiGLU
olmo/model.py:490
next →
1–100 of 198, ranked by callers