Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/allenai/molmo2
/ types & classes
Types & classes
480 in github.com/allenai/molmo2
⨍
Functions
2,270
◇
Types & classes
480
↓ 57 callers
Class
EvaluatorConfig
Config for `Evaluator` objects that compute metrics
olmo/eval/inf_evaluator.py:183
↓ 25 callers
Class
WeightedDataset
Dataset, its sampling rate, and its token weight
olmo/data/data_loader.py:50
↓ 18 callers
Class
UnifiedPointFormatter
olmo/preprocessing/point_formatter.py:110
↓ 15 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/nn/beam_search.py:901
↓ 13 callers
Class
OLMoConfigurationError
An error with a configuration file.
olmo/exceptions.py:17
↓ 12 callers
Class
MessageWeight
How to weight a message
olmo/preprocessing/text_preprocessor.py:21
↓ 12 callers
Class
MockDataset
tests/data/test_data_iterator.py:26
↓ 12 callers
Class
TensorSpec
The expected shape and dtype of a tensor
olmo/preprocessing/preprocessor_utils.py:50
↓ 11 callers
Class
BoxesToVisualize
Boxes to draw on an image
olmo/html_utils.py:534
↓ 11 callers
Class
IterableDatasetMixture
Infinitely iterates over a mixture of datasets
olmo/data/iterable_dataset_mixture.py:61
↓ 10 callers
Class
VitConfig
Config for a vision transformer
olmo/nn/image_vit.py:43
↓ 9 callers
Class
LlmConfig
Configuration for a multi-layer transformer
olmo/nn/llm.py:276
↓ 9 callers
Class
TokenizerConfig
olmo/tokenizer.py:177
↓ 8 callers
Class
MolmoVisionBackboneConfig
Vision ViT and the Image/Language Connector
olmo/nn/vision_backbone.py:51
↓ 8 callers
Class
RepeatedNGramBlockingConstraint
olmo/nn/beam_search.py:845
↓ 7 callers
Class
Molmo2RMSNorm
olmo/hf_model/modeling_molmo2.py:554
↓ 7 callers
Class
Molmo2VideoTrackEval
Evaluation dataset for video object tracking. Contains 3.7k examples across 5 source datasets with ground-truth masks for computing segmentat
olmo/data/molmo2_video_track_datasets.py:437
↓ 7 callers
Class
Molmo2VideoTrackInstruction
Training dataset for video object tracking with pre-computed instruction data. This is the primary class used for training. It loads from the ins
olmo/data/molmo2_video_track_datasets.py:116
↓ 7 callers
Class
VideoPreprocessorConfig
Video preprocessor, converts videos into crops and tokens
olmo/preprocessing/video_preprocessor.py:15
↓ 6 callers
Class
DataFormatter
Applies prompt templates and adds system prompts to construct text inputs/output Includes methods for formatting points, video points, and a
olmo/preprocessing/data_formatter.py:715
↓ 6 callers
Class
DataLoaderConfig
Configuration for a torch `DataLoader`
olmo/data/data_loader.py:86
↓ 6 callers
Class
Mevis
MeViS: https://github.com/henghuiding/MeViS
olmo/data/academic_video_track_datasets.py:553
↓ 6 callers
Class
Molmo2PreprocessorConfig
Molmo2 preprocessor configuration
olmo/models/molmo2/molmo2_preprocessor.py:12
↓ 6 callers
Class
Molmo2RotaryEmbedding
olmo/hf_model/modeling_molmo2.py:511
↓ 6 callers
Class
Molmo2TextConfig
r""" This is the configuration class to store the configuration of a [`Molmo2TextModel`]. It is used to instantiate a `Molmo2TextModel` accord
olmo/hf_model/configuration_molmo2.py:156
↓ 6 callers
Class
Molmo2VitConfig
r""" This is the configuration class to store the configuration of a [`Molmo2VisionTransformer`]. It is used to instantiate a `Molmo2VisionTra
olmo/hf_model/configuration_molmo2.py:14
↓ 6 callers
Class
ViTMultiHeadDotProductAttention
MDPA for the image ViT
olmo/nn/image_vit.py:126
↓ 5 callers
Class
CosWithWarmup
olmo/train/optim.py:337
↓ 5 callers
Class
DeterministicDataset
Dataset wrapper that supports padding and control the random seed based on the epoch
olmo/data/dataset.py:47
↓ 5 callers
Class
FSDPConfig
Configures FSDP
olmo/train/trainer_config.py:117
↓ 5 callers
Class
Message
olmo/models/molmo_point/molmo_point_data_formatter.py:23
↓ 5 callers
Class
Molmo2AdapterConfig
r""" This is the configuration class to store the configuration of Molmo2Adapter. With Molmo2VitConfig, It is used to instantiate an Molmo2Vis
olmo/hf_model/configuration_molmo2.py:87
↓ 5 callers
Class
MultiCropConfig
Config for preprocessing and tokenizing image(s)
olmo/preprocessing/multicrop_preprocessor.py:19
↓ 5 callers
Class
OLMoEnvironmentError
An error from incorrect environment variables.
olmo/exceptions.py:29
↓ 5 callers
Class
VariablePaddingSpec
Indicates a key can have a variable shape after collation
olmo/preprocessing/preprocessor_utils.py:101
↓ 5 callers
Class
Youcook2
YouCook2 dataset for video clip captioning and action localization.
olmo/data/academic_video_datasets.py:2648
↓ 4 callers
Class
ActivityNet
ActivityNet Video dataset (Captioning / ActivityNetQA)
olmo/data/academic_video_datasets.py:1606
↓ 4 callers
Class
CharadesSTA
CharadesSTA Video dataset
olmo/data/academic_video_datasets.py:3973
↓ 4 callers
Class
Ego4d
Ego4d NLQ/MQ subsets **Please use Ego4dCachedClips for faster training as it uses pre-extracted clips.** NLQ: the query is expressed in text
olmo/data/academic_video_datasets.py:3021
↓ 4 callers
Class
KwargsMixture
Group of datasets with a fixed sampling rate
olmo/data/data_loader.py:42
↓ 4 callers
Class
LegacyPointFormatting
olmo/preprocessing/point_formatter.py:552
↓ 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/nn/beam_search.py:591
↓ 4 callers
Class
Molmo2Config
Molmo2 model configuration
olmo/models/molmo2/molmo2.py:51
↓ 4 callers
Class
Molmo2VideoPoint
Loads allenai/Molmo2-VideoPoint from HuggingFace. Each example (msg) has: subset, example_id, label, answer, count, points (sorted), timestam
olmo/data/molmo2_datasets.py:739
↓ 4 callers
Class
Molmo2VisionTransformer
olmo/hf_model/modeling_molmo2.py:283
↓ 4 callers
Class
MolmoPreprocessorConfig
olmo/models/molmo/molmo_preprocessor.py:13
↓ 4 callers
Class
RemoteFileSystemReader
A :class:`~torch.distributed.checkpoint.StorageReader` based on :class:`~torch.distributed.checkpoint.FileSystemReader` that can read data di
olmo/train/remote_filesystem.py:334
↓ 4 callers
Class
STKey
olmo/safetensors_util.py:19
↓ 4 callers
Class
TimeSampler
Decides how to sample timestamps from a video based on duration
olmo/data/video_loader.py:126
↓ 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/nn/beam_search.py:216
↓ 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/data/dataset_builders/ai2d.py:92
↓ 3 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/torch_util.py:234
↓ 3 callers
Class
Burst
Annotations from Tracking Any Object Amodally (TAO-Amodal) dataset: https://github.com/WesleyHsieh0806/TAO-Amodal BURST uses the same videos
olmo/data/academic_video_track_datasets.py:1123
↓ 3 callers
Class
COIN
COIN dataset
olmo/data/academic_video_datasets.py:1805
↓ 3 callers
Class
CompilerConfig
olmo/train/trainer_config.py:69
↓ 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/data/dataset_builders/count_bench_qa.py:15
↓ 3 callers
Class
DatasetEvaluatorConfig
Configuration for an offline dataset evaluation, it could be for loss or generation
olmo/eval/model_evaluator.py:81
↓ 3 callers
Class
DvQaBuilder
olmo/data/dataset_builders/dv_qa.py:9
↓ 3 callers
Class
FigureQaBuilder
olmo/data/dataset_builders/figure_qa.py:9
↓ 3 callers
Class
FlatRotaryEmbedding
Rotary embedding module that operates on an individual [batch, seq_len] array This is used for rotating patch key/queries in MolmoPoint
olmo/models/molmo_point/modules.py:29
↓ 3 callers
Class
IterableDataMixtureCheckpoint
Light-weight checkpoint that stores the state of a `IterableDatasetMixture`
olmo/data/iterable_dataset_mixture.py:43
↓ 3 callers
Class
LVVIS
LV-VIS: Large Vocabulary Video Instance Segmentation.
olmo/data/academic_video_track_datasets.py:1198
↓ 3 callers
Class
LossDatasetEvaluatorConfig
Configuration for a loss evaluation
olmo/eval/loss_evaluator.py:255
↓ 3 callers
Class
MMCollator
Converts list of examples from our datasets into a tensor batch
olmo/preprocessing/multimodal_collator.py:64
↓ 3 callers
Class
MMMU
olmo/data/academic_image_datasets.py:557
↓ 3 callers
Class
MockPacker
tests/data/test_data_iterator.py:155
↓ 3 callers
Class
MolmoConfig
Molmo model configuration
olmo/models/molmo/molmo.py:36
↓ 3 callers
Class
OLMoGenerateOutput
olmo/models/model.py:77
↓ 3 callers
Class
OLMoOutput
olmo/models/model.py:23
↓ 3 callers
Class
OptimizerConfig
olmo/train/optim.py:49
↓ 3 callers
Class
PackingConfig
olmo/data/dynamic_packer.py:303
↓ 3 callers
Class
PerceptionTest
PerceptionTest dataset for video understanding evaluation.
olmo/data/academic_video_datasets.py:2875
↓ 3 callers
Class
PixMoCap
olmo/data/pixmo_datasets.py:365
↓ 3 callers
Class
PlotQaBuilder
olmo/data/dataset_builders/plot_qa.py:9
↓ 3 callers
Class
ReVOS
ReVOS: Reasoning Video Object Segmentation.
olmo/data/academic_video_track_datasets.py:1388
↓ 3 callers
Class
RemoteFileSystemWriter
A :class:`~torch.distributed.checkpoint.StorageWriter` that can write directly to both cloud and local storage.
olmo/train/remote_filesystem.py:194
↓ 3 callers
Class
SchedulerConfig
olmo/train/optim.py:459
↓ 3 callers
Class
SpeedMonitorConfig
Configures throughput monitoring
olmo/train/trainer_config.py:62
↓ 3 callers
Class
TabMwpBuilder
olmo/data/dataset_builders/tabe_wmpd.py:9
↓ 3 callers
Class
TokenizedVisionData
Data for visual input that has been converted into tokens
olmo/preprocessing/preprocessor_utils.py:15
↓ 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/nn/beam_search.py:159
↓ 3 callers
Class
TrainConfig
Configuration for a training run
olmo/train/trainer_config.py:512
↓ 3 callers
Class
ViCaS
ViCaS: Video Camouflaged Animal Segmentation.
olmo/data/academic_video_track_datasets.py:1293
↓ 3 callers
Class
VideoFrames
Frames from a video and frame metadata
olmo/data/video_loader.py:24
↓ 3 callers
Class
WandbConfig
Configures wandb logging
olmo/train/trainer_config.py:47
↓ 2 callers
Class
AOkVqa
olmo/data/academic_image_datasets.py:166
↓ 2 callers
Class
BeakerLogger
Logs progress to Ai2 beaker's server
olmo/train/trainer.py:91
↓ 2 callers
Class
BlockCollection
olmo/nn/image_vit.py:306
↓ 2 callers
Class
ChartQa
ChartQA dataset from HuggingFace M4 project. Can be weighted to balanced human/synthetic data
olmo/data/academic_image_datasets.py:789
↓ 2 callers
Class
Checkpointer
olmo/train/checkpointer.py:122
↓ 2 callers
Class
CinepileHf
CinePile Video QA dataset — multi-choice QA on movie clips. Annotations auto-downloaded from HuggingFace. Videos (YouTube movie clips) requir
olmo/data/academic_video_datasets.py:5189
↓ 2 callers
Class
ClockEval
olmo/eval/evaluators.py:916
↓ 2 callers
Class
Constraint
olmo/data/dynamic_packer.py:331
↓ 2 callers
Class
Countix
Countix — repetition counting QA on Kinetics-700 videos. Annotations auto-downloaded from HuggingFace. Videos (Kinetics-700) require manual d
olmo/data/academic_video_datasets.py:5335
↓ 2 callers
Class
DefaultTimestampFormatter
olmo/preprocessing/point_formatter.py:17
↓ 2 callers
Class
DinoVisionTransformer
olmo/nn/image_vit.py:679
↓ 2 callers
Class
DownloadError
olmo/data/dataset_builders/download_urls.py:41
↓ 2 callers
Class
EpicKitchens
Epic Kitchens 100 dataset for short video clip captioning. Epic Kitchens is a large-scale dataset of egocentric videos in kitchen environments
olmo/data/academic_video_datasets.py:2005
↓ 2 callers
Class
EvalConfig
Configuration for an offline dataset evaluation, it could be for loss or generation
olmo/eval/model_evaluator.py:166
↓ 2 callers
Class
ExamplePreprocessor
Preprocesses examples dictionaries as returned by our data loaders Includes loading the multi-modal data and formatting the text for the LLM
olmo/preprocessing/multimodal_preprocessor.py:189
next →
1–100 of 480, ranked by callers