Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FeiElysia/Tempo
/ functions
Functions
7,449 in github.com/FeiElysia/Tempo
⨍
Functions
7,449
◇
Types & classes
488
↳
Endpoints
41
↓ 2 callers
Function
separate_text_and_latex
(text)
lmms_eval/tasks/megabench/metrics/scoring/latex_expr_equality.py:49
↓ 2 callers
Method
set_seed
Set random seeds for reproducibility
lmms_eval/models/simple/mmada.py:223
↓ 2 callers
Function
set_task_context
Set the current task name used as fallback by ``log_usage``. The evaluator calls this before each task's ``process_results`` phase so that LL
lmms_eval/models/model_utils/usage_metrics.py:65
↓ 2 callers
Function
spatial_doc_to_text_image
(doc, lmmseval_specific_kwargs=None)
lmms_eval/tasks/sitebench/utils.py:111
↓ 2 callers
Function
spatial_doc_to_text_video
(doc, lmmseval_specific_kwargs=None)
lmms_eval/tasks/sitebench/utils.py:131
↓ 2 callers
Function
spatial_doc_to_visual_image
(doc)
lmms_eval/tasks/sitebench/utils.py:99
↓ 2 callers
Method
split_by_comma
(self, expr: str)
lmms_eval/tasks/olympiadbench_mimo/olympiadbench_evals.py:43
↓ 2 callers
Method
split_by_comma
(self, expr: str)
lmms_eval/tasks/olympiadbench/olympiadbench_evals.py:41
↓ 2 callers
Function
stats_to_df
Convert stats dict to a pandas DataFrame.
lmms_eval/tasks/sitebench/merge_results.py:156
↓ 2 callers
Method
stop
Stop the job scheduler and cleanup resources.
lmms_eval/entrypoints/job_scheduler.py:77
↓ 2 callers
Function
str_to_coords
(coord_list, dim=2)
lmms_eval/tasks/megabench/metrics/scoring/common/conversions.py:123
↓ 2 callers
Method
strip_changes
Strips off the changes.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:666
↓ 2 callers
Method
strip_changes
Strips off the changes.
lmms_eval/tasks/ifeval/instructions.py:681
↓ 2 callers
Function
strip_reasoning_tags
Remove reasoning tag blocks from model output. Args: text: Raw model output string tag_pairs: List of [start_tag, end_tag] pairs,
lmms_eval/api/reasoning.py:5
↓ 2 callers
Function
summarize
(bucket)
lmms_eval/tasks/scivideobench/utils.py:171
↓ 2 callers
Method
sympy_sub_pi
(self, expression_sympy)
lmms_eval/tasks/olympiadbench_mimo/olympiadbench_evals.py:128
↓ 2 callers
Method
sympy_sub_pi
(self, expression_sympy)
lmms_eval/tasks/olympiadbench/olympiadbench_evals.py:126
↓ 2 callers
Method
telephone2chntext
(self, fixed=False)
lmms_eval/tasks/librispeech/cn_tn.py:783
↓ 2 callers
Function
timestamp_to_seconds
(timestamp)
lmms_eval/tasks/longvideobench/utils.py:18
↓ 2 callers
Function
to_float
(pred)
lmms_eval/tasks/sparbench/utils.py:270
↓ 2 callers
Function
to_float
(pred)
lmms_eval/tasks/vsibench/utils.py:105
↓ 2 callers
Function
toggleTask
(taskId: string)
lmms_eval/tui/web/src/App.tsx:483
↓ 2 callers
Method
tok_encode
lmms_eval/models/simple/llava_onevision.py:244
↓ 2 callers
Function
tokenize
(text)
lmms_eval/tasks/wenet_speech/utils.py:25
↓ 2 callers
Function
tokenize
Tokenize the text and return the tokens. Parameters: text (str): The text to tokenize. language (str): The language of the text.
lmms_eval/tasks/vcr_wiki/utils.py:82
↓ 2 callers
Method
tokenize
(self, sent: str)
lmms_eval/tasks/asr_wer_utils.py:64
↓ 2 callers
Method
training_docs
:return: Iterable[obj] A iterable of any object, that doc_to_text can handle
lmms_eval/api/task.py:351
↓ 2 callers
Method
trans_plus_minus_sign
(self, expr_list: list)
lmms_eval/tasks/olympiadbench_mimo/olympiadbench_evals.py:62
↓ 2 callers
Method
trans_plus_minus_sign
(self, expr_list: list)
lmms_eval/tasks/olympiadbench/olympiadbench_evals.py:60
↓ 2 callers
Function
uniform_sample
(m, n)
lmms_eval/tasks/plm_videobench/eval_utils.py:241
↓ 2 callers
Function
unwrap_generation_output
Normalize a model output into ``(text, token_counts | None)``. Accepts ``str``, ``GenerationResult``, or ``(str, dict)`` tuples for maximum b
lmms_eval/api/instance.py:44
↓ 2 callers
Function
update_accuracy_metrics
Update accuracy metrics for all settings. Args: results: Results dictionary to update Returns: Updated results dictionary
lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/core/base_metrics.py:63
↓ 2 callers
Function
validate_clockwise_points
Validates that the points are in clockwise order.
lmms_eval/tasks/ocrbench_v2/spotting_eval/rrc_evaluation_funcs_1_1.py:310
↓ 2 callers
Function
validate_cogmap_format
Validate if a cognitive map has the correct format. Args: cogmap: The cognitive map to validate Returns: Tuple of (is_valid,
lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_metrics.py:112
↓ 2 callers
Function
vcr_aggregate_results
Args: results: List[List[Dict]], list of results returned by process_results Returns: A float value representing the final sc
lmms_eval/tasks/vcr_wiki/utils.py:274
↓ 2 callers
Function
vcr_process_results_single
Args: doc: an instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name (in this case
lmms_eval/tasks/vcr_wiki/utils.py:99
↓ 2 callers
Function
video2text_gpt_judge_for_closeended_freeform
(prompt, gold_ans, response)
lmms_eval/tasks/mix_evals/video2text/utils.py:39
↓ 2 callers
Function
video_holmes_doc_to_visual
(doc)
lmms_eval/tasks/video_holmes/utils.py:63
↓ 2 callers
Function
videomme_doc_to_text_qwen3vl
Adapted from: https://github.com/open-compass/VLMEvalKit/blob/main/vlmeval/vlm/qwen3_vl/prompt.py#L93
lmms_eval/tasks/videomme/utils.py:167
↓ 2 callers
Function
vqa_evaluation_case_sensitive
(predict, answers)
lmms_eval/tasks/ocrbench_v2/vqa_metric.py:101
↓ 2 callers
Function
vqav2_process_results
(doc, result)
lmms_eval/tasks/vqav2/utils.py:15
↓ 2 callers
Function
weighted_mean
(items)
lmms_eval/api/metrics.py:455
↓ 2 callers
Function
wemath_aggregate_results
(results, metric_name)
lmms_eval/tasks/wemath/reasoning/utils.py:64
↓ 2 callers
Function
wemath_doc_to_text_cot
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/wemath/reasoning/utils.py:18
↓ 2 callers
Function
wups
:param pred: :param truth: :param alpha: :return:
lmms_eval/tasks/nextqa/utils.py:207
↓ 2 callers
Function
zip_folder
(source_folder, destination_zip)
lmms_eval/tasks/ocrbench_v2/spotting_metric.py:112
↓ 1 callers
Function
HD_transform
(img, im_num=16)
lmms_eval/models/simple/xcomposer2_4KHD.py:245
↓ 1 callers
Function
HD_transform_padding
(frames, image_size=224, hd_num=6)
lmms_eval/models/simple/internvideo2.py:146
↓ 1 callers
Function
HD_transform_padding
(frames, image_size=224, hd_num=6)
lmms_eval/models/simple/videochat2.py:111
↓ 1 callers
Method
PhyX_auxeval
(self, line)
lmms_eval/tasks/phyx/phyx_evals.py:233
↓ 1 callers
Method
PhyX_auxeval_MC
(self, line)
lmms_eval/tasks/phyx/phyx_evals.py:272
↓ 1 callers
Function
STEDS
(pred_tree, ref_tree)
lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:475
↓ 1 callers
Method
Seephys_auxeval
Use the LLM judger to compare extracted answer with GT. Prefetch (fast path) tries symbolic/string match before calling judge LLM.
lmms_eval/tasks/seephys/seephys_evals.py:363
↓ 1 callers
Method
Seephys_process_line
Quick rule-based checking for cases where we can avoid LLM judger. Returns dict with match (1/0) and extracted value.
lmms_eval/tasks/seephys/seephys_evals.py:404
↓ 1 callers
Method
__init__
(self, config: Optional[ServerConfig] = None)
lmms_eval/llm_judge/base.py:12
↓ 1 callers
Method
__init__
:param data_dir: str Stores the path to a local folder containing the `Task`'s data files. Use this to specify the pa
lmms_eval/api/task.py:242
↓ 1 callers
Method
__init__
(self)
lmms_eval/tasks/gigaspeech/whisper_normalizer/english.py:445
↓ 1 callers
Method
__init__
(self)
lmms_eval/tasks/librispeech/whisper_normalizer/english.py:445
↓ 1 callers
Method
__init__
regex_pattern: The basic regex pattern to use. If fails to match, we will use the customized match procedure - step 1
lmms_eval/tasks/realworldqa/utils.py:67
↓ 1 callers
Method
__init__
(self, **kwargs)
lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:61
↓ 1 callers
Method
__init__
( self, truncation: Optional[bool] = True, device: Optional[str] = "cuda:0", b
lmms_eval/models/simple/moviechat.py:69
↓ 1 callers
Method
__init__
( self, pretrained: str = "OpenGVLab/VideoChat2_HD_stage4_Mistral_7B_hf", modality: st
lmms_eval/models/simple/videochat2.py:193
↓ 1 callers
Method
__init__
(self, config: Qwen3Config)
tempo/language_model/modeling_tempo_qwen.py:45
↓ 1 callers
Method
__init__
(self)
tempo/multimodal_projector/builder.py:5
↓ 1 callers
Method
__str__
(self)
lmms_eval/tasks/librispeech/cn_tn.py:411
↓ 1 callers
Function
_abs_dist_norm
(pred, target)
lmms_eval/tasks/vsisuper/count_streaming/vsc_streaming_utils.py:37
↓ 1 callers
Method
_add_images_to_messages
Add images to messages - reuse from base implementation
lmms_eval/llm_judge/providers/async_azure_openai.py:126
↓ 1 callers
Method
_add_images_to_messages
Add images to messages - reuse from base implementation
lmms_eval/llm_judge/providers/async_openai.py:121
↓ 1 callers
Function
_add_speaker_and_signal
Add speaker and start/end signal on each round.
tempo/mm_datautils.py:170
↓ 1 callers
Function
_adjust_config
(task_dict)
lmms_eval/evaluator.py:396
↓ 1 callers
Function
_aggregate_overall
Overall score: average of component scores across pages.
lmms_eval/tasks/omnidocbench/utils.py:768
↓ 1 callers
Function
_alias_str
(name: str)
lmms_eval/cli/models_cmd.py:39
↓ 1 callers
Method
_analyze_excerpts_with_sentence_boundaries
(self, text: str)
lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:81
↓ 1 callers
Method
_analyze_excerpts_without_sentence_boundaries
(self, text: str)
lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:94
↓ 1 callers
Function
_anls_score
(prediction: str, answer: str, threshold: float = 0.5)
lmms_eval/tasks/dude/utils.py:82
↓ 1 callers
Function
_anls_score
(prediction: str, answer: str, threshold: float = 0.5)
lmms_eval/tasks/egotempo/utils.py:211
↓ 1 callers
Function
_answers_match
(prediction: str, answer: str)
lmms_eval/tasks/hipho/utils.py:166
↓ 1 callers
Function
_apply_tool
(tool_name, arguments, state)
lmms_eval/tasks/vending_bench2/utils.py:31
↓ 1 callers
Function
_apply_tool
(tool_name, arguments, state)
lmms_eval/tasks/tau2_bench/utils.py:137
↓ 1 callers
Function
_as_optional_float
(value)
lmms_eval/models/simple/dummy.py:34
↓ 1 callers
Function
_build_available_models_preferred
()
lmms_eval/models/__init__.py:216
↓ 1 callers
Function
_build_builtin_manifests
()
lmms_eval/models/__init__.py:155
↓ 1 callers
Function
_build_cache_key
( image: ImageInput, *, image_format: str, convert_rgb: bool, quality: Optional[int], )
lmms_eval/models/model_utils/media_encoder.py:31
↓ 1 callers
Function
_build_command
Build the full CLI command list.
lmms_eval/cli/wizard.py:220
↓ 1 callers
Function
_build_context_block
(doc: dict)
lmms_eval/tasks/mmlongbench/utils.py:86
↓ 1 callers
Method
_build_conversation
(self, context: str, visuals: Any)
lmms_eval/models/simple/penguinvl.py:247
↓ 1 callers
Function
_build_instruction
(doc: dict)
lmms_eval/tasks/mmlongbench/utils.py:109
↓ 1 callers
Function
_build_mcp_client
(server_path: str)
lmms_eval/models/chat/sglang.py:61
↓ 1 callers
Method
_build_message
Build message in the format expected by OmniVinci. Note: OmniVinci processor expects: - Images: use 'image_pil' key for PIL Images, o
lmms_eval/models/simple/omnivinci.py:294
↓ 1 callers
Method
_build_message_content
Build message content with special tokens for media.
lmms_eval/models/simple/baichuan_omni.py:261
↓ 1 callers
Method
_build_message_content
Build message content list for model.chat().
lmms_eval/models/simple/minicpm_o.py:285
↓ 1 callers
Method
_build_metrics_payload
(self)
lmms_eval/models/simple/dummy.py:154
↓ 1 callers
Method
_build_prompt
(self, question: str)
lmms_eval/models/simple/tempo.py:311
↓ 1 callers
Function
_build_question_block
(doc: dict)
lmms_eval/tasks/mmlongbench/utils.py:99
↓ 1 callers
Function
_build_shell_command
Build the shell command for execution.
lmms_eval/tui/server.py:543
↓ 1 callers
Method
_build_visual_content
(self, clip: list[Any], wrap_single_image_in_list: bool = False)
lmms_eval/models/simple/penguinvl.py:222
↓ 1 callers
Function
_cache_max_items
()
lmms_eval/models/model_utils/media_encoder.py:14
↓ 1 callers
Method
_calc_stopped_samples
(self, prev_input_ids: Iterable[int])
lmms_eval/models/model_utils/qwen/qwen_generate_utils.py:322
↓ 1 callers
Method
_calculate_accuracy
(self, gt, pred)
lmms_eval/tasks/multidocvqa/utils.py:88
↓ 1 callers
Method
_calculate_anls
(self, gt, pred)
lmms_eval/tasks/multidocvqa/utils.py:98
← previous
next →
1,101–1,200 of 7,449, ranked by callers