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
Function
test_multi_message
()
tests/data/test_preprocessor.py:140
Function
test_multi_message_in_middle
()
tests/data/test_preprocessor.py:148
Method
test_multinomial_sampler
(self)
tests/beam_search_test.py:417
Method
test_p_val
(self, p_val)
tests/beam_search_test.py:342
Function
test_parse_timestamp
()
tests/preprocessing/test_point_formatter.py:16
Method
test_repeated_ngram_blocking_constraint_apply
(self)
tests/beam_search_test.py:533
Method
test_repeated_ngram_blocking_constraint_init_state
(self)
tests/beam_search_test.py:519
Method
test_repeated_ngram_blocking_constraint_update_state
(self)
tests/beam_search_test.py:562
Method
test_repeated_ngram_blocking_end_indices
Ensures that the ngram blocking does not mess up when one sequence is shorter than another, which would result in repeated "end" symb
tests/beam_search_test.py:715
Method
test_repeated_ngram_blocking_end_to_end_bigrams
(self)
tests/beam_search_test.py:685
Method
test_repeated_ngram_blocking_end_to_end_trigrams
(self)
tests/beam_search_test.py:700
Method
test_repeated_ngram_blocking_end_to_end_unigrams
(self)
tests/beam_search_test.py:660
Function
test_restore_packing_global
(world_size, num_workers, checkpoint_at)
tests/data/test_data_iterator.py:215
Function
test_restore_packing_simple
()
tests/data/test_data_iterator.py:184
Method
test_search
(self, step_function)
tests/beam_search_test.py:146
Function
test_seconds_to_timestamp
()
tests/preprocessing/test_point_formatter.py:7
Function
test_select_checkpoint
()
tests/util_test.py:15
Function
test_single_dataset
()
tests/data/test_data_iterator.py:38
Method
test_single_step
(self)
tests/beam_search_test.py:195
Method
test_stochastic_beam_search
(self)
tests/beam_search_test.py:386
Function
test_stratify
()
tests/data/test_data_iterator.py:269
Method
test_take_repeated_ngram_step
Tests to ensure the top-k from the `repeated_ngram_transition_probabilities_0` transition matrix is expected. The transitions are:
tests/beam_search_test.py:594
Method
test_take_short_sequence_step
Tests to ensure the top-k from the short_sequence_transition_probabilities transition matrix is expected
tests/beam_search_test.py:217
Function
test_text_only
()
tests/data/test_preprocessor.py:65
Function
test_time_sampling_basic
()
tests/preprocessing/test_frame_sampling.py:6
Function
test_time_sampling_max_1fps
()
tests/preprocessing/test_frame_sampling.py:12
Function
test_time_sampling_max_2fps
()
tests/preprocessing/test_frame_sampling.py:27
Method
test_top_k_sampler
(self)
tests/beam_search_test.py:427
Method
test_top_k_search
(self)
tests/beam_search_test.py:353
Method
test_top_p_sampler
(self)
tests/beam_search_test.py:438
Method
test_top_p_search
(self)
tests/beam_search_test.py:320
Function
test_track_sorting_chaos
Chaotic scenario: - Frame 0: 3 points appear - Frame 1: 2 new points appear, one existing disappears - Frame 2: disappeared point ret
tests/preprocessing/test_point_formatter.py:168
Function
test_track_sorting_small
()
tests/preprocessing/test_point_formatter.py:158
Method
test_warn_for_bad_log_probs
(self)
tests/beam_search_test.py:299
Method
threshold_cnt
Find images with count above threshold
olmo/preprocessing/data_formatter.py:1179
Method
tie_weights
(self)
olmo/hf_model/modeling_molmo_point.py:1672
Method
token_ids_to_coordinates
Extract points from the model's output text: str output of the model, used to extract example ids targets: [N, 3] or [N, 2] token ind
olmo/models/molmo_point/molmo_point_example_preprocessor.py:152
Method
tokenizer
(self)
olmo/models/molmo_point/molmo_point_example_preprocessor.py:253
Method
tokens_per_batch
(self)
olmo/train/trainer.py:416
Function
transpose_dict_of_lists
(data: Dict[Any, List])
olmo/util.py:493
Method
unflatten_past_key_values
( past_key_values: Dict[str, torch.Tensor], )
olmo/models/molmo/molmo.py:603
Method
unflatten_past_key_values
( past_key_values: Dict[str, torch.Tensor], )
olmo/models/molmo_point/molmo_point.py:1282
Method
unflatten_past_key_values
( past_key_values: Dict[str, torch.Tensor], )
olmo/models/molmo2/molmo2.py:918
Method
unnormalize_image
(self, image: np.ndarray)
olmo/preprocessing/image_preprocessor.py:340
Function
unshard_checkpoint
Convert a checkpoint saved via :func:`save_model_and_optim_state()` into unsharded model and optimizer checkpoint files that can be loaded di
olmo/train/distributed_checkpointing.py:456
Method
update_legacy_settings
(cls, config: D)
olmo/eval/loss_evaluator.py:283
Method
update_legacy_settings
Remove deprecated keys from old checkpoints.
olmo/nn/llm.py:683
Method
update_legacy_settings
(cls, config: D)
olmo/nn/vision_backbone.py:119
Method
update_legacy_settings
(cls, config: D)
olmo/nn/image_vit.py:88
Method
update_legacy_settings
(cls, config: D)
olmo/models/molmo_point/molmo_point.py:112
Method
update_legacy_settings
(cls, config)
olmo/models/molmo_point/molmo_point_connector.py:57
Method
update_legacy_settings
(cls, config: D)
olmo/models/molmo2/molmo2_preprocessor.py:19
Method
update_legacy_settings
(cls, config: D)
olmo/models/molmo2/molmo2.py:77
Method
update_legacy_settings
Handle backward compatibility for renamed attributes.
olmo/train/trainer_config.py:407
Method
uses_3d_pos_ids
(cls)
olmo/models/molmo_point/molmo_point.py:95
Method
validate_checkpoint_id
(cls, checkpoint_id: PathOrStr)
olmo/train/remote_filesystem.py:329
Method
validate_checkpoint_id
(cls, checkpoint_id: PathOrStr)
olmo/train/remote_filesystem.py:462
Method
version
(self)
olmo/data/iterable_dataset_mixture.py:38
Method
vision_backbone
(self)
olmo/hf_model/modeling_molmo_point.py:1695
Method
vocab_size
(self)
olmo/tokenizer.py:97
Method
vocab_size
(self)
olmo/hf_model/configuration_molmo2.py:380
Method
vocab_size
(self)
olmo/hf_model/configuration_molmo_point.py:246
Method
warmup_cache
Pre-fill the buffer-cache
olmo/models/model.py:122
Method
warmup_cache
Pre-fill the buffer-cache
olmo/models/molmo/molmo.py:165
Method
warmup_cache
Pre-fill the buffer-cache
olmo/models/molmo_point/molmo_point.py:497
Method
warmup_cache
(self, device, cp_enabled: bool = False)
olmo/models/molmo_point/modules.py:43
Method
warmup_cache
Pre-fill the buffer-cache
olmo/models/molmo2/molmo2.py:202
Method
write_data
( self, plan: dist_cp.SavePlan, planner: dist_cp.SavePlanner, )
olmo/train/remote_filesystem.py:237
Method
write_items
(buckets: List[List[WriteItem]])
olmo/train/remote_filesystem.py:255
Method
zig_zag
(cls, degree: int, head_stride: int = 1)
olmo/train/trainer_config.py:389
← previous
2,201–2,270 of 2,270, ranked by callers