Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/allenai/molmo2
/ functions
Functions
2,270 in github.com/allenai/molmo2
⨍
Functions
2,270
◇
Types & classes
480
Method
load
(self)
olmo/data/academic_video_datasets.py:1572
Method
load
(self)
olmo/data/academic_video_datasets.py:1676
Method
load
(self)
olmo/data/academic_video_datasets.py:1895
Method
load
(self)
olmo/data/academic_video_datasets.py:2124
Method
load
(self)
olmo/data/academic_video_datasets.py:2323
Method
load
(self)
olmo/data/academic_video_datasets.py:2527
Method
load
(self)
olmo/data/academic_video_datasets.py:2746
Method
load
(self)
olmo/data/academic_video_datasets.py:2931
Method
load
(self)
olmo/data/academic_video_datasets.py:3373
Method
load
(self)
olmo/data/academic_video_datasets.py:3817
Method
load
(self)
olmo/data/academic_video_datasets.py:3887
Method
load
(self)
olmo/data/academic_video_datasets.py:4030
Method
load
(self)
olmo/data/academic_video_datasets.py:4135
Method
load
(self)
olmo/data/academic_video_datasets.py:4205
Method
load
(self)
olmo/data/academic_video_datasets.py:4299
Method
load
(self)
olmo/data/academic_video_datasets.py:4453
Method
load
(self)
olmo/data/academic_video_datasets.py:4539
Method
load
(self)
olmo/data/academic_video_datasets.py:4623
Method
load
(self)
olmo/data/academic_video_datasets.py:4704
Method
load
(self)
olmo/data/academic_video_datasets.py:4812
Method
load
(self)
olmo/data/academic_video_datasets.py:4935
Method
load
(self)
olmo/data/academic_video_datasets.py:5022
Method
load
(self)
olmo/data/academic_video_datasets.py:5092
Method
load
(self)
olmo/data/academic_video_datasets.py:5291
Method
load
(self)
olmo/data/academic_video_datasets.py:5387
Method
load
(self)
olmo/data/academic_video_datasets.py:5482
Method
load
(self)
olmo/data/academic_video_datasets.py:5622
Method
load
(self)
olmo/data/academic_video_datasets.py:5759
Method
load
(self)
olmo/data/academic_image_datasets.py:242
Method
load
(self)
olmo/data/academic_image_datasets.py:342
Method
load
Load from a YAML file.
olmo/models/model_config.py:89
Method
load
Load from a YAML file.
olmo/train/trainer_config.py:910
Function
load_json
(file)
olmo/util.py:61
Function
load_keys
Load specific keys from a checkpoint. .. warning:: This should only be called in a non-distributed context. Otherwise a :class:`Runt
olmo/train/distributed_checkpointing.py:613
Function
load_pil_image
(image_path: str)
olmo/preprocessing/image_preprocessor.py:37
Function
load_video
Load frames from a video
olmo/data/video_loader.py:375
Function
local_rank0_filter
(record: logging.LogRecord)
olmo/util.py:129
Function
log_record_factory
(*args, **kwargs)
olmo/util.py:101
Method
max_epochs
(self)
olmo/train/trainer.py:424
Method
max_frames
(self)
olmo/preprocessing/video_preprocessor.py:101
Method
max_position_embeddings
(self)
olmo/hf_model/configuration_molmo2.py:384
Method
max_position_embeddings
(self)
olmo/hf_model/configuration_molmo_point.py:250
Method
max_sequence_length
(self)
olmo/models/molmo/molmo.py:112
Method
max_sequence_length
(self)
olmo/models/molmo_point/molmo_point.py:298
Method
max_sequence_length
(self)
olmo/models/molmo2/molmo2.py:135
Method
max_steps
(self)
olmo/train/trainer.py:431
Method
max_tokens
(self)
olmo/train/trainer.py:451
Method
maybe_enable_async_tp
(self, tp_mesh: DeviceMesh)
olmo/train/trainer_config.py:319
Method
merge_overlapping_moments
(moments, new_start, new_end, threshold=0.75)
olmo/data/academic_video_datasets.py:3394
Method
metadata_path
(self)
olmo/train/remote_filesystem.py:318
Function
mlvu_mc
(target: str, prediction: str)
olmo/eval/vqa.py:391
Method
mode
Backward compatibility property for the old 'mode' attribute.
olmo/train/trainer_config.py:370
Method
new
(cls: Type[C], **kwargs)
olmo/config.py:30
Function
new_func
(*args, **kwargs)
olmo/io.py:512
Method
new_step
(last_predictions: torch.Tensor, state: Dict[str, torch.Tensor], time_step: int)
olmo/nn/beam_search.py:1059
Function
normalize_extracted_answer
Normalize the extracted answer to match the answer type
olmo/eval/math_vista_utils.py:55
Method
num_attention_heads
(self)
olmo/hf_model/configuration_molmo2.py:360
Method
num_attention_heads
(self)
olmo/hf_model/configuration_molmo_point.py:226
Method
num_hidden_layers
(self)
olmo/hf_model/configuration_molmo2.py:372
Method
num_hidden_layers
(self)
olmo/hf_model/configuration_molmo_point.py:238
Method
num_key_value_heads
(self)
olmo/hf_model/configuration_molmo2.py:364
Method
num_key_value_heads
(self)
olmo/hf_model/configuration_molmo_point.py:230
Method
num_params
Get the total number of parameters.
olmo/models/molmo/molmo.py:270
Method
num_params
Get the total number of parameters.
olmo/models/molmo_point/molmo_point.py:559
Method
num_params
Get the total number of parameters.
olmo/models/molmo2/molmo2.py:379
Method
on_trace_ready
(p)
olmo/train/trainer.py:1192
Method
one_file_per_tensor
Use the :data:`UnshardStrategy.one_file_per_tensor` strategy.
olmo/train/distributed_checkpointing.py:442
Method
output_multiplier
(self)
olmo/nn/llm.py:1466
Method
output_multiplier
(self)
olmo/nn/llm.py:1498
Method
output_multiplier
(self)
olmo/nn/llm.py:1504
Method
output_multiplier
(self)
olmo/nn/llm.py:1510
Method
output_multiplier
(self)
olmo/nn/llm.py:1516
Method
output_multiplier
(self)
olmo/nn/llm.py:1526
Method
output_multiplier
(self)
olmo/nn/llm.py:1535
Function
packed_iterator
(it, packer)
olmo/data/dynamic_packer.py:295
Function
parse_multi_choice_response
Parse the prediction from the generated response. Return the predicted index e.g., A, B, C, D.
olmo/eval/mmmu_eval_utils.py:11
Function
parse_open_response
Parse the prediction from the generated response. Return a list of predicted strings or numbers.
olmo/eval/mmmu_eval_utils.py:159
Method
parse_prediction
f""" Parse model prediction text to standardized trajectory format. Supported prediction types: - video_track - video_
olmo/eval/object_tracking_utils.py:97
Method
point_count
Point and Count in randomized order to specific object(s) in the images with modified selection logic
olmo/preprocessing/data_formatter.py:906
Method
prepare_global_plan
(self, plans: List[SavePlan])
olmo/train/remote_filesystem.py:230
Method
prepare_global_plan
(self, global_plan: List[dist_cp.LoadPlan])
olmo/train/remote_filesystem.py:454
Method
prepare_inputs_for_generation
( self, input_ids: torch.LongTensor, past_key_values: Optional[list[torch.FloatTensor]
olmo/hf_model/modeling_molmo_point.py:1840
Method
prepare_inputs_for_generation
( self, input_ids: torch.LongTensor, past_key_values: Optional[list[torch.FloatTensor]
olmo/hf_model/modeling_molmo2.py:1691
Method
prepare_local_plan
(self, plan: SavePlan)
olmo/train/remote_filesystem.py:224
Method
prepare_local_plan
(self, plan: dist_cp.LoadPlan)
olmo/train/remote_filesystem.py:451
Method
preprocess
Args: images (`ImageInput`): Image to preprocess. size (`dict[str, int]`, *optional*, defaults to `se
olmo/hf_model/image_processing_molmo2.py:388
Method
preprocess
( self, videos: VideoInput, **kwargs: Unpack[Molmo2VideoProcessorKwargs], )
olmo/hf_model/video_processing_molmo2.py:822
Function
process_single_video
(video_data)
scripts/extract_ego4d_clips.py:372
Function
rank0_filter
(record: logging.LogRecord)
olmo/util.py:121
Method
rank_by_cnt
Rank images by object count
olmo/preprocessing/data_formatter.py:1077
Method
read_data
(self, plan: dist_cp.LoadPlan, planner: dist_cp.LoadPlanner)
olmo/train/remote_filesystem.py:377
Function
read_json
(path: PathOrStr)
olmo/io.py:123
Function
read_video_decord
Decode a video using the Decord backend. Args: video_path (`str`): Path to the video file. sample_timestamps_fn
olmo/hf_model/video_processing_molmo2.py:239
Function
read_video_pyav
Decode a video using the PyAV backend. Args: video_path (`str`): Path to the video file. sample_timestamps_fn (`
olmo/hf_model/video_processing_molmo2.py:359
Function
read_video_torchcodec
Decode a video using torchcodec decoder. Args: video_path (`str`): Path to the video file. sample_timestamps_fn
olmo/hf_model/video_processing_molmo2.py:293
Function
reduce_masked_mean
r"""Masked mean `reduce_masked_mean(x, mask)` computes the mean of a tensor :attr:`input` over a mask :attr:`mask`, returning .. math::
olmo/eval/point_tracking_utils.py:309
Function
repl
(match)
olmo/data/academic_multi_image_datasets.py:27
Method
reset
(self, checkpoint_id: Optional[PathOrStr] = None)
olmo/train/remote_filesystem.py:216
Method
reset
(self, checkpoint_id: Optional[PathOrStr] = None)
olmo/train/remote_filesystem.py:371
Method
reset
(self)
olmo/train/trainer.py:191
← previous
next →
2,001–2,100 of 2,270, ranked by callers