MCPcopy Create free account

hub / github.com/allenai/molmo2 / functions

Functions2,270 in github.com/allenai/molmo2

↓ 1 callersMethodvideo_to_patches_and_tokens
( self, frames, frame_prefixes: List[List[int]], is_training=False, rn
olmo/preprocessing/video_preprocessor.py:117
↓ 1 callersFunctionvqa_score
Evaluation with VQA 2 style preprocessing
olmo/eval/vqa.py:100
↓ 1 callersFunctionvsi_bench_na_score
( pred: str, target: str, start: float = 0.5, end: float = 0.95, interval: float = 0.05, )
olmo/eval/vsi_bench_utils.py:38
↓ 1 callersMethodwrap
(cls, scheduler: Scheduler, warmup_start: int, warmup_end: int)
olmo/train/optim.py:403
↓ 1 callersMethodwrite_file
(self, dir: PathOrStr, fname: str, contents: Union[str, bytes, Callable])
olmo/train/checkpointer.py:201
↓ 1 callersFunctionwrite_json
(path: PathOrStr, data: Any, **kwargs)
olmo/io.py:127
Method__call__
(self, example_id, example)
tests/data/test_data_iterator.py:164
Method__call__
(self, time)
olmo/preprocessing/point_formatter.py:18
Method__call__
( self, messages, is_training=False, rng=None, image=None, vid
olmo/preprocessing/multimodal_preprocessor.py:50
Method__call__
(self, example, rng=np.random)
olmo/preprocessing/multimodal_preprocessor.py:207
Method__call__
Returns a formatted example and example metadata
olmo/preprocessing/data_formatter.py:1891
Method__call__
( self, video_frames: VideoFrames, is_training=False, rng=None, metada
olmo/preprocessing/video_preprocessor.py:181
Method__call__
(self, batch: List[Dict[str, Any]])
olmo/preprocessing/multimodal_collator.py:91
Method__call__
( self, image: ImageInput, is_training=False, rng=np.random, )
olmo/preprocessing/multicrop_preprocessor.py:114
Method__call__
( self, images, is_training=False, rng=None, )
olmo/preprocessing/multicrop_preprocessor.py:275
Method__call__
(self, example_id: int, example: Dict)
olmo/data/dynamic_packer.py:427
Method__call__
Decide what time stamps to sample
olmo/data/video_loader.py:134
Method__call__
Decide what frame indices to sample
olmo/data/video_loader.py:195
Method__call__
Load frames from a video
olmo/data/video_loader.py:304
Method__call__
(self, input_ids, scores)
olmo/hf_model/modeling_molmo_point.py:569
Method__call__
to_pool: [n_to_pool, pooling_dim, vit_dim] to_pool_mask: [n_to_pool, pooling_dim] returns: pooled_features: [n_to_po
olmo/hf_model/modeling_molmo_point.py:914
Method__call__
(self, hidden_states, slice_indices=None)
olmo/hf_model/modeling_molmo_point.py:1614
Method__call__
Args: text (`str`, `list[str]`, `list[list[str]]`): The sequence or batch of sequences to be encoded. Each seque
olmo/hf_model/processing_molmo2.py:250
Method__call__
(self, message, **kwargs)
olmo/eval/open_ended_qa_eval.py:36
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/open_ended_qa_eval.py:183
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:270
Method__call__
(self, metadatas, predictions, tokenizer, step=None, scores=None)
olmo/eval/evaluators.py:294
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:496
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:557
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:666
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:697
Method__call__
(self, metadata, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:858
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:934
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:1171
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:1262
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:1310
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:1354
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:1383
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:1545
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:1689
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:1780
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:1827
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:1927
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:1976
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:2012
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:2183
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:2225
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:2317
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:2380
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:2447
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:2535
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:2608
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:2663
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:2828
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:2924
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:2953
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:3017
Method__call__
(self, metadatas, predictions, tokenizer, step=None)
olmo/eval/evaluators.py:3043
Method__call__
(self, predictions, example_metadata, tokenizer, device, step=None, **kwargs)
olmo/eval/inf_evaluator.py:49
Method__call__
(self, example, rng=np.random)
olmo/models/molmo_point/molmo_point_example_preprocessor.py:413
Method__call__
Returns a formatted example and example metadata
olmo/models/molmo_point/molmo_point_data_formatter.py:1110
Method__call__
to_pool: [n_to_pool, pooling_dim, vit_dim] to_pool_mask: [n_to_pool, pooling_dim] returns: pooled_features: [n_to_po
olmo/models/molmo_point/molmo_point_connector.py:177
Method__enter__
(self)
olmo/train/trainer.py:1449
Method__exit__
(self, exc_type, exc_val, exc_tb)
olmo/train/trainer.py:1452
Method__getitem__
(self, item)
olmo/data/dataset.py:34
Method__getitem__
(self, idx)
olmo/data/dataset.py:61
Method__getitem__
(self, item)
olmo/data/dataset.py:101
Method__init__
(self, buffer_size, verbose=False)
tests/data/test_data_iterator.py:156
Method__init__
(self, resource: str)
olmo/io.py:975
Method__init__
(self, tokenizer, bos_token_id=None, adds_space=False)
olmo/tokenizer.py:49
Method__init__
(self, fn, *args, **kwargs)
olmo/util.py:394
Method__init__
(self)
olmo/registry.py:22
Method__init__
:param max_text_len: truncate examples longer than this length :param include_metadata: whether to include the metadata in the out ba
olmo/preprocessing/multimodal_collator.py:68
Method__init__
(self, split, sample=None, counting=False, keep_in_memory=False)
olmo/data/pixmo_datasets.py:89
Method__init__
(self, split, kind="both", counting=False, keep_in_memory=False, max_points=None, max_total_p
olmo/data/pixmo_datasets.py:145
Method__init__
(self, split, split_groups=True, keep_in_memory=False)
olmo/data/pixmo_datasets.py:253
Method__init__
(self, split, prefix_how_many=True, keep_in_memory=False, style="synthetic_qa")
olmo/data/pixmo_datasets.py:308
Method__init__
(self, split, mode, prefix_how_many=True, keep_in_memory=False, flatten=False)
olmo/data/pixmo_datasets.py:381
Method__init__
(self, split, prefix_how_many=True, keep_in_memory=False, flat=False, skip_counting=False, sa
olmo/data/pixmo_datasets.py:431
Method__init__
(self, keep_in_memory=False)
olmo/data/pixmo_datasets.py:508
Method__init__
(self, split, keep_in_memory=False, styles=("multi_image_pointing", "multi_image_point_then_c
olmo/data/pixmo_datasets.py:568
Method__init__
(self, split, multi_image_only=False, max_images=None, prefix_how_many=True)
olmo/data/pixmo_datasets.py:611
Method__init__
(self, max_buffer_size: int, constraints: List[Constraint], verbosity=0, cp_world_size: int =
olmo/data/dynamic_packer.py:408
Method__init__
(self, split)
olmo/data/molmo2_datasets.py:263
Method__init__
(self, split)
olmo/data/molmo2_datasets.py:692
Method__init__
(self, split: str, mode: str = "point_count", point_sort_by: str = "xy", max_s
olmo/data/molmo2_datasets.py:781
Method__init__
(self, split)
olmo/data/molmo2_datasets.py:1050
Method__init__
(self, split)
olmo/data/molmo2_datasets.py:1141
Method__init__
(self, split)
olmo/data/molmo2_datasets.py:1254
Method__init__
(self, split, keep_in_memory=False, p_intent=0.8, use_name_as_label=False)
olmo/data/molmo2_datasets.py:1309
Method__init__
( self, split, include_video_caption=False, include_merged_caption=False,
olmo/data/molmo2_datasets.py:1390
Method__init__
(self, split, reasoning_type="ALL", demonstration_type="ALL")
olmo/data/academic_video_datasets.py:131
Method__init__
(self, split, format="original")
olmo/data/academic_video_datasets.py:195
Method__init__
(self, split)
olmo/data/academic_video_datasets.py:275
Method__init__
(self, split, flat: bool = False)
olmo/data/academic_video_datasets.py:336
Method__init__
(self, split, minimum=0.0)
olmo/data/academic_video_datasets.py:385
Method__init__
(self, split, answer_type="multi_choice", flat=False, max_per_video=None)
olmo/data/academic_video_datasets.py:572
Method__init__
(self, split, sample=None)
olmo/data/academic_video_datasets.py:771
Method__init__
(self, split)
olmo/data/academic_video_datasets.py:850
Method__init__
(self, split, allow_subtitle=True, difficulty="all", duration_group="all", with_subtitle=False)
olmo/data/academic_video_datasets.py:1062
← previousnext →1,001–1,100 of 2,270, ranked by callers