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
↓ 1 callers
Function
filteredResponsesText
(value: unknown)
lmms_eval/tui/web/src/LogViewer.tsx:115
↓ 1 callers
Method
finalize
Log stats, close DB, barrier, and merge all rank shards into root cache.db. Call this once after evaluation completes. Handles: - Sta
lmms_eval/caching/response_cache.py:867
↓ 1 callers
Function
find_closest_aspect_ratio
(aspect_ratio, target_ratios, width, height, image_size)
lmms_eval/models/simple/internvideo2.py:189
↓ 1 callers
Function
find_closest_aspect_ratio
(aspect_ratio, target_ratios, width, height, image_size)
lmms_eval/models/simple/internvl2.py:43
↓ 1 callers
Function
find_closest_aspect_ratio
(aspect_ratio, target_ratios, width, height, image_size)
lmms_eval/models/simple/internvideo2_5.py:46
↓ 1 callers
Function
find_closest_aspect_ratio
(aspect_ratio, target_ratios, width, height, image_size)
lmms_eval/models/simple/videochat2.py:149
↓ 1 callers
Function
find_closest_aspect_ratio
Find the closest aspect ratio from a set of target ratios. Args: aspect_ratio: The aspect ratio of the input image. target_ratios
lmms_eval/models/simple/internvl3.py:53
↓ 1 callers
Function
find_first_json_substring
Extract first JSON object from text.
lmms_eval/tasks/unig2u/uni_mmmu/utils.py:84
↓ 1 callers
Function
find_latest_sitebench_files
Find the latest site_bench_image and site_bench_video JSONL files. Returns: tuple of (image_jsonl_path, video_jsonl_path)
lmms_eval/tasks/sitebench/merge_results.py:189
↓ 1 callers
Function
find_math_answer
(s: str)
lmms_eval/tasks/mathvision/eval_utils.py:393
↓ 1 callers
Function
find_number
(pred: str)
lmms_eval/tasks/spatialtreebench/metrics/rule_metrics.py:259
↓ 1 callers
Function
find_test_root
Search upward in the directory tree to a maximum of three layers to find and return the package root (containing the 'tests' folder)
lmms_eval/utils.py:742
↓ 1 callers
Function
find_test_root
Search upward in the directory tree to a maximum of three layers to find and return the package root (containing the 'tests' folder)
lmms_eval/evaluator_utils.py:575
↓ 1 callers
Method
finish
(self)
lmms_eval/logging_utils.py:81
↓ 1 callers
Function
fix_json
(input_str)
lmms_eval/tasks/gedit_bench/viescore/utils.py:10
↓ 1 callers
Function
fix_overline_underscores
Puts underscores that are outside \overline within overline.
lmms_eval/tasks/megabench/metrics/scoring/common/transformations.py:31
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/whisper_tt.py:251
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/phi3v.py:120
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/gemini_api.py:76
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/claude.py:77
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/aero.py:180
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/internvideo2.py:339
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/internvl2.py:299
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/minicpm_v.py:134
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/xcomposer2_4KHD.py:130
↓ 1 callers
Method
flatten
(self, input_list)
lmms_eval/models/simple/ovis_u1.py:238
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/instructblip.py:135
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/llama_vid.py:200
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/gpt4v.py:137
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/internvideo2_5.py:263
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/plm.py:151
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/llava_vid.py:426
↓ 1 callers
Method
flatten
Flatten nested lists.
lmms_eval/models/simple/gpt4o_audio.py:202
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/video_llava.py:166
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/openai.py:284
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/qwen2_5_omni.py:149
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/mplug_owl_video.py:148
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/qwen2_vl.py:166
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/aria.py:175
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/minimonkey.py:135
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/batch_gpt4.py:112
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/qwen2_audio.py:157
↓ 1 callers
Method
flatten
(self, input_list)
lmms_eval/models/simple/omnivinci.py:203
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/qwen3_omni.py:142
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/llama_vision.py:147
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/internvl.py:451
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/cogvlm2.py:134
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/phi4_multimodal.py:175
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/whisper.py:124
↓ 1 callers
Method
flatten
(self, input_list)
lmms_eval/models/simple/baichuan_omni.py:203
↓ 1 callers
Method
flatten
Flatten a nested list
lmms_eval/models/simple/mmada.py:420
↓ 1 callers
Method
flatten
(self, input_list)
lmms_eval/models/simple/minicpm_o.py:226
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/vita.py:211
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/vora.py:124
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/videollama3.py:146
↓ 1 callers
Method
flatten
Flatten a nested list.
lmms_eval/models/simple/internvl3.py:363
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/xcomposer2d5.py:130
↓ 1 callers
Method
flatten
(self, input)
lmms_eval/models/simple/qwen_vl_api.py:125
↓ 1 callers
Function
format_options
(opts)
lmms_eval/tasks/scivideobench/utils.py:70
↓ 1 callers
Method
format_output
Format output as JSON string
lmms_eval/models/chat/bagel_lmms_engine.py:270
↓ 1 callers
Method
format_output
Format output as JSON string
lmms_eval/models/simple/mmada.py:415
↓ 1 callers
Function
format_prompt
(question, ground_truth_answer, answer, criteria)
lmms_eval/tasks/live_bench/utils.py:82
↓ 1 callers
Function
format_prompt
(question, ground_truth_answer, answer, criteria)
lmms_eval/tasks/live_bench/utils_v2.py:81
↓ 1 callers
Method
format_prompt
(self, question)
lmms_eval/models/simple/mplug_owl_video.py:155
↓ 1 callers
Function
format_question_and_options
Formats a question and a list of options into a single string with options labeled A, B, C, etc. Parameters: - question (str): The quest
lmms_eval/tasks/cinepile/utils.py:39
↓ 1 callers
Method
fraction2chntext
(self)
lmms_eval/tasks/librispeech/cn_tn.py:808
↓ 1 callers
Method
free_video
(self)
lmms_eval/models/simple/gemini_api.py:71
↓ 1 callers
Function
freeze_structure
Freeze a structure and make it hashable.
lmms_eval/tasks/megabench/metrics/scoring/common/conversions.py:12
↓ 1 callers
Method
from_taskdict
(cls, task_name: str, task)
lmms_eval/evaluator_utils.py:83
↓ 1 callers
Function
funqa_aggregate_results_bleurt
(results, args)
lmms_eval/tasks/funqa/utils.py:269
↓ 1 callers
Function
funqa_aggregate_submissions
(results, args, task)
lmms_eval/tasks/funqa/utils.py:260
↓ 1 callers
Method
generate
( self, pixel_values: Optional[torch.FloatTensor] = None, input_ids: Optional[torch.Fl
lmms_eval/models/simple/internvl.py:408
↓ 1 callers
Function
generate_allocation_plot
Token allocation visualization function
app.py:86
↓ 1 callers
Function
generate_prompt
(d, response)
lmms_eval/tasks/mia_bench/utils.py:91
↓ 1 callers
Function
generate_prompt_final_qa
Build a reasoning-mode VQA prompt with image metadata (WxH).
lmms_eval/models/model_utils/thyme/utils.py:44
↓ 1 callers
Function
generate_prompt_simple_qa
Build a minimal VQA prompt that answers directly with no reasoning.
lmms_eval/models/model_utils/thyme/utils.py:32
↓ 1 callers
Function
generate_response
(question, caption)
lmms_eval/tasks/vdc/utils.py:214
↓ 1 callers
Function
generate_run_id
Generate a unique run ID based on timestamp and UUID.
lmms_eval/models/simple/bagel.py:105
↓ 1 callers
Method
generate_sync
(self, request)
lmms_eval/models/simple/srt_api.py:212
↓ 1 callers
Method
generate_text_and_image
Generate text and image from prompt Args: prompt: Input text prompt image: Input image doc_id: D
lmms_eval/models/chat/bagel_lmms_engine.py:213
↓ 1 callers
Method
generate_text_and_image
Generate text and image from prompt Args: prompt: Input text prompt doc_id: Document ID for file naming
lmms_eval/models/simple/mmada.py:324
↓ 1 callers
Method
generate_uni_mmmu_interleaved
Uni-MMMU interleaved generation: - Jigsaw: gen_image(cand0) -> gen_image(cand1) -> gen_text(answer) - Maze/Sliding: [gen_text
lmms_eval/models/simple/ovis_u1.py:825
↓ 1 callers
Method
generate_uni_mmmu_interleaved
Uni-MMMU interleaved generation - Fully aligned with Bagel implementation. For Qwen-Image-Edit, this requires both editing and under
lmms_eval/models/simple/qwen_image_edit.py:246
↓ 1 callers
Method
generate_uni_mmmu_interleaved
Uni-MMMU interleaved generation aligned with original benchmark. This implements the exact generation flow from the original Uni-MMM
lmms_eval/models/simple/bagel_unig2u.py:494
↓ 1 callers
Method
generate_uni_mmmu_interleaved
Uni-MMMU interleaved generation for ILLUME+ Visual CoT mode. This implements the full interleaved generation flow: - Jig
lmms_eval/models/simple/illume_plus.py:1535
↓ 1 callers
Method
generate_until
Generate greedily until a stopping sequence :param requests: list[Instance] A list of Instance objects with property `args` which
lmms_eval/api/model.py:84
↓ 1 callers
Method
generate_until
Generate text for each request, auto-detecting mode: - [GEN_PROMPT] tags → Visual CoT two-stage pipeline - bagel_interleaved
lmms_eval/models/simple/ovis_u1.py:716
↓ 1 callers
Method
generate_until
Main inference method. Auto-detects mode: - [GEN_PROMPT] tags → Visual CoT two-stage pipeline - bagel_interleaved config → Un
lmms_eval/models/simple/bagel_unig2u.py:862
↓ 1 callers
Method
generate_until
(self, requests: List[Instance])
lmms_eval/models/simple/illume_plus.py:1777
↓ 1 callers
Method
generate_until
(self, requests)
lmms_eval/models/simple/dummy.py:210
↓ 1 callers
Method
get_ICE
(self)
lmms_eval/tasks/phyx/phyx_evals.py:82
↓ 1 callers
Method
get_ICE_MC
(self)
lmms_eval/tasks/phyx/phyx_evals.py:127
↓ 1 callers
Method
get_ICE_scoring
(self)
lmms_eval/tasks/seephys/seephys_evals.py:189
↓ 1 callers
Method
get_OCR_prompts
(self, caption, OCR_text)
lmms_eval/tasks/capability/prompt.py:226
↓ 1 callers
Function
get_TF_prediction
get the prediction from the generated response, return a list of predicted strings or numbers
lmms_eval/tasks/cmmmu/utils.py:363
↓ 1 callers
Method
get_acc_with_contion
Calculate the accuracy of predictions with a specific condition
lmms_eval/tasks/mathverse/mathverse_evals.py:112
↓ 1 callers
Method
get_action_prompts
(self, caption, action)
lmms_eval/tasks/capability/prompt.py:101
↓ 1 callers
Function
get_aggregation
(name)
lmms_eval/api/registry.py:144
↓ 1 callers
Method
get_all_values
(cls)
lmms_eval/tasks/megabench/metrics/metric_type.py:197
↓ 1 callers
Function
get_answer
(response)
lmms_eval/tasks/vocalsound/utils.py:70
← previous
next →
2,101–2,200 of 7,449, ranked by callers