MCPcopy Create free account

hub / github.com/FeiElysia/Tempo / functions

Functions7,449 in github.com/FeiElysia/Tempo

↓ 2 callersFunctionformat_choices
Format multiple choice options as (A), (B), (C), etc.
lmms_eval/tasks/unig2u/babyvision/utils.py:154
↓ 2 callersMethodformat_output
Format output as JSON string
lmms_eval/models/simple/bagel_unig2u.py:744
↓ 2 callersMethodfrom_raw
( cls, min_concurrency: int, max_concurrency: int, target_latency_s: float,
lmms_eval/models/model_utils/concurrency_control.py:16
↓ 2 callersFunctionfunqa_aggregate_results
(results, metric, args)
lmms_eval/tasks/funqa/utils.py:301
↓ 2 callersFunctionfuzzy_matching
(pred)
lmms_eval/tasks/vsibench/utils.py:80
↓ 2 callersFunctiongenerate_combinations
Function to generate all possible combinations of values from a dictionary.
lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:330
↓ 2 callersMethodgenerate_text_and_image
Generate text and image from prompt (optionally conditioned on input image) Args: prompt: Input text prompt
lmms_eval/models/simple/bagel_unig2u.py:444
↓ 2 callersMethodgenerate_until
Generate outputs. Mode selection: - gen_kwargs visual_cot: true -> Visual CoT two-stage pipeline - bagel_interleaved -> Uni-M
lmms_eval/models/simple/qwen_image_edit.py:605
↓ 2 callersMethodget_acc_with_contion
Calculate the accuracy of predictions with a specific condition
lmms_eval/tasks/mathvista/mathvista_evals.py:337
↓ 2 callersFunctionget_anls
(s1, s2)
lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:521
↓ 2 callersFunctionget_cache_dir
(config, sub_dir="videos")
lmms_eval/tasks/_task_utils/video_loader.py:4
↓ 2 callersFunctionget_caption_judge_prompt
(gt, pred)
lmms_eval/tasks/plm_videobench/eval_utils.py:154
↓ 2 callersFunctionget_chat_response
( prompt, model=MODEL_VERSION, temperature=0.0, max_tokens=128, patience=3, sleep_time
lmms_eval/tasks/mmvetv2/utils.py:206
↓ 2 callersFunctionget_chat_response
(prompt, model=MODEL_VERSION, temperature=0.0, max_tokens=128, patience=3, sleep_time=5)
lmms_eval/tasks/mmvet/utils.py:40
↓ 2 callersMethodget_chunks
Divides an iterable into chunks of specified size or based on a given function. Useful for batching Parameters: - it
lmms_eval/utils.py:1298
↓ 2 callersFunctionget_column_value
(doc, candidates)
lmms_eval/tasks/wenet_speech/utils.py:18
↓ 2 callersFunctionget_commit_from_path
(repo_path: Union[Path, str])
lmms_eval/loggers/utils.py:63
↓ 2 callersMethodget_context
(self, doc, num_fewshot)
lmms_eval/api/samplers.py:20
↓ 2 callersFunctionget_discovery_cache
()
lmms_eval/tui/discovery.py:182
↓ 2 callersFunctionget_eval
(question, answer, pred, max_tokens: int, retries: int = 5)
lmms_eval/tasks/activitynetqa/utils.py:85
↓ 2 callersFunctionget_eval
(max_tokens: int, content: str, retries: int = retries)
lmms_eval/tasks/air_bench/utils.py:65
↓ 2 callersFunctionget_eval_banner
Build a branded banner printed above the results table. Example output:: LMMs-Eval: Probing Intelligence in the Real World > Bet
lmms_eval/utils.py:844
↓ 2 callersFunctionget_f1_score
(a_pred, a_gold)
lmms_eval/tasks/mmsearch/score/f1_score.py:34
↓ 2 callersFunctionget_file_task_name
Given the sample results filenames, extracts and returns the task name.
lmms_eval/utils.py:321
↓ 2 callersFunctionget_filter
(filter_name)
lmms_eval/filters/__init__.py:22
↓ 2 callersMethodget_function_list
Connect to the MCP server and retrieve the list of available functions.
lmms_eval/mcp/client.py:18
↓ 2 callersFunctionget_gt
(doc)
lmms_eval/tasks/air_bench/utils.py:259
↓ 2 callersMethodget_instruction_args
Returns the keyward args of `build_description`.
lmms_eval/tasks/ifeval/instructions.py:850
↓ 2 callersMethodget_job_with_position
Get a job by ID, updating queue position if queued (thread-safe).
lmms_eval/entrypoints/job_scheduler.py:106
↓ 2 callersFunctionget_key_subresponses
(response)
lmms_eval/tasks/cmmmu/utils.py:319
↓ 2 callersFunctionget_metric
(name: str, hf_evaluate_metric=False)
lmms_eval/api/registry.py:118
↓ 2 callersMethodget_model_class
Resolve, import, and validate a model class. Validates that the loaded class is a subclass of ``lmms`` and that its ``is_simple`` fla
lmms_eval/models/registry_v2.py:106
↓ 2 callersFunctionget_number_instruction
(answer)
lmms_eval/tasks/charxiv/reasoning_utils.py:59
↓ 2 callersFunctionget_pdf_bytes
(doc)
lmms_eval/tasks/prismm_bench/utils.py:34
↓ 2 callersFunctionget_popular_models
()
lmms_eval/tui/discovery.py:123
↓ 2 callersFunctionget_popular_tasks
()
lmms_eval/tui/discovery.py:108
↓ 2 callersFunctionget_repo_root
()
lmms_eval/tui/server.py:243
↓ 2 callersFunctionget_running_totals
Return aggregated totals suitable for tqdm postfix display.
lmms_eval/models/model_utils/usage_metrics.py:139
↓ 2 callersFunctionget_score_SSR_CRR
(response, gt)
lmms_eval/tasks/ovobench/score_utils/score.py:31
↓ 2 callersFunctionget_setting_from_id
Extract setting type from item ID. Args: item_id: The item identifier Returns: Setting type ('around', 'rotation', 'translat
lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/core/extractors.py:210
↓ 2 callersMethodget_sinusoid_encoding_table
Sinusoid position encoding table
lmms_eval/models/simple/videochat2.py:352
↓ 2 callersFunctionget_subtask_list
(task_dict, task_root=None, depth=0)
lmms_eval/evaluator_utils.py:230
↓ 2 callersFunctionget_symbol
(char, system)
lmms_eval/tasks/librispeech/cn_tn.py:564
↓ 2 callersFunctionget_text
(doc)
lmms_eval/tasks/av_odyssey/utils.py:114
↓ 2 callersFunctionget_tl_line_values
Validate the format of the line. If the line is not valid an exception will be raised. If maxWidth and maxHeight are specified, all points mu
lmms_eval/tasks/ocrbench_v2/spotting_eval/rrc_evaluation_funcs_1_1.py:124
↓ 2 callersFunctionget_tokens
(s)
lmms_eval/tasks/mmsearch/score/f1_score.py:26
↓ 2 callersFunctionget_tree
(input_str)
lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:453
↓ 2 callersFunctionget_video
(prefix: str, video_name: str, suffix: str = "mp4")
lmms_eval/tasks/_task_utils/video_loader.py:21
↓ 2 callersFunctionget_website_information
result_brief: [{'title', 'text','screenshot_path'}]
lmms_eval/tasks/mmsearch/utils/prompt_utils.py:12
↓ 2 callersFunctiongpt_eval
(data_dict)
lmms_eval/tasks/FALCONBench/utils.py:463
↓ 2 callersMethodgroup
Groups elements of an iterable based on a provided function. Parameters: - arr (Iterable): The iterable to be grouped.
lmms_eval/utils.py:1268
↓ 2 callersMethodhas_training_docs
Whether the task has a training set
lmms_eval/api/task.py:337
↓ 2 callersFunctionhighlightShell
(code: string)
lmms_eval/tui/web/src/App.tsx:71
↓ 2 callersFunctionhrbench_doc_to_options
(doc)
lmms_eval/tasks/hrbench/utils.py:40
↓ 2 callersFunctionimage2text_gpt_judge_for_closeended_freeform
(prompt, gold_ans, response)
lmms_eval/tasks/mix_evals/image2text/utils.py:38
↓ 2 callersFunctionimage_to_base64
Convert PIL Image or image path to base64 string
lmms_eval/tasks/imgedit/utils.py:70
↓ 2 callersMethodinit_run
(self)
lmms_eval/logging_utils.py:85
↓ 2 callersFunctioninitialize_basic_results_structure
Initialize the basic results data structure. Returns: Empty results structure with all required fields
lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/core/base_metrics.py:23
↓ 2 callersFunctioninsert_separator
(X, sep)
tempo/mm_datautils.py:879
↓ 2 callersFunctionintersection_with_tolerance
(a, b, tol_word, tol_num)
lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:699
↓ 2 callersFunctionisDirectlyLoadableImageSource
(value: string)
lmms_eval/tui/web/src/LogViewer.tsx:132
↓ 2 callersMethodis_change
Check if there is change in the response in the form of *change me*.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:662
↓ 2 callersMethodis_change
Check if there is change in the response in the form of *change me*.
lmms_eval/tasks/ifeval/instructions.py:677
↓ 2 callersFunctionis_complex_format
Determine if the cognitive map uses complex format (with objects/views arrays) or simple key-value format. Args: cogmap: The cognitiv
lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_metrics.py:20
↓ 2 callersFunctionis_deterministic
Check if a request produces deterministic output (safe to cache). ``loglikelihood`` is always deterministic. For generation requests, return
lmms_eval/caching/response_cache.py:196
↓ 2 callersFunctionis_equal
Judge if `asw` is equivalent to `gt_asw`. This function checks if the given answers are equivalent, considering various scenarios such a
lmms_eval/tasks/mathvision/eval_utils.py:81
↓ 2 callersFunctionis_forward_task
(doc)
lmms_eval/tasks/ovobench/utils.py:17
↓ 2 callersFunctionis_iambic_pair
Whether the pair of stresses is a valid iambic pair.
lmms_eval/tasks/megabench/metrics/scoring/constrained_generation.py:191
↓ 2 callersFunctionis_int_between_0_and_10
(s)
lmms_eval/tasks/gedit_bench/viescore/utils.py:105
↓ 2 callersMethodis_interval
(self, expr)
lmms_eval/tasks/olympiadbench_mimo/olympiadbench_evals.py:124
↓ 2 callersMethodis_interval
(self, expr)
lmms_eval/tasks/olympiadbench/olympiadbench_evals.py:122
↓ 2 callersFunctionis_video_file
(file_path)
lmms_eval/tasks/megabench/image_video_utils.py:71
↓ 2 callersFunctionjoin_latex
(latex_exps)
lmms_eval/tasks/megabench/metrics/scoring/latex_expr_equality.py:69
↓ 2 callersMethodjudge
(self, expression1, expression2, precision=1e-8)
lmms_eval/tasks/olympiadbench/olympiadbench_evals.py:72
↓ 2 callersMethodjudger_generate
(self, prompt, temperature=0, max_tokens=128, n=1, patience=5, sleep_time=0)
lmms_eval/tasks/phyx/phyx_evals.py:44
↓ 2 callersFunctionlaunch_server
Launch the evaluation server with the given arguments. Args: args: ServerArgs instance containing host, port, and scheduler configur
lmms_eval/entrypoints/http_server.py:242
↓ 2 callersFunctionlemmatize_phrase
Lemmatizes a phrase (multiple words).
lmms_eval/tasks/megabench/metrics/scoring/constrained_generation.py:31
↓ 2 callersFunctionlevenshtein_distance
(s1, s2)
lmms_eval/api/metrics.py:276
↓ 2 callersMethodlist_model_names
Return all known requestable model names (ids + aliases).
lmms_eval/models/registry_v2.py:160
↓ 2 callersFunctionlivebench_process_results_for_name
(doc, results, model, eval_name)
lmms_eval/tasks/live_bench/utils.py:161
↓ 2 callersFunctionlivebench_process_results_for_name
(doc, results, model, eval_name)
lmms_eval/tasks/live_bench/utils_v2.py:160
↓ 2 callersFunctionllm_as_judge_sync
(predict_str, ground_truth, extra_info)
lmms_eval/tasks/_task_utils/reasoning_utils.py:358
↓ 2 callersMethodload_html_tree
Converts HTML tree to the format required by apted
lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:92
↓ 2 callersMethodload_image
Load image from path or return PIL Image directly.
lmms_eval/models/simple/qwen_image_edit.py:226
↓ 2 callersFunctionload_json
Load JSON file and return the data.
lmms_eval/tasks/amber_g/utils.py:74
↓ 2 callersMethodload_model
(self, device_map=None)
tempo/multimodal_encoder/siglip_encoder.py:22
↓ 2 callersFunctionload_seephys_config
()
lmms_eval/tasks/seephys/seephys_evals.py:18
↓ 2 callersFunctionload_subtitle_v2
Load Video-MME-v2 subtitle from a JSONL file. Each line is: {"text": "word", "start_time": float, "end_time": float} Returns all text concate
lmms_eval/tasks/videomme_v2/utils.py:121
↓ 2 callersFunctionload_subtitles
(subtitle_path)
lmms_eval/tasks/egoplan/utils.py:39
↓ 2 callersFunctionload_video
(video_path, bound=None, input_size=448, max_num=1, num_segments=32)
lmms_eval/models/simple/internvl2.py:115
↓ 2 callersMethodload_video
(self, video_path, max_frames_num)
lmms_eval/models/simple/ola.py:272
↓ 2 callersMethodload_video
(self, video_path, max_frames_num)
lmms_eval/models/simple/oryx.py:207
↓ 2 callersMethodload_video
(self, video_path, max_frames_num, fps, force_sample=False)
lmms_eval/models/simple/llava_vid.py:331
↓ 2 callersMethodload_video
(self, video_path, max_frames_num)
lmms_eval/models/simple/vila.py:200
↓ 2 callersFunctionlocation_to_coords
(country: str, province_or_state: str, municipality: str)
lmms_eval/tasks/megabench/metrics/scoring/geo_proximity.py:138
↓ 2 callersFunctionlongvt_doc_to_visual
(doc)
lmms_eval/tasks/longvt/utils.py:29
↓ 2 callersFunctionmake_context
( tokenizer: PreTrainedTokenizer, query: str, history: List[Tuple[str, str]] = None, system: s
lmms_eval/models/model_utils/qwen/qwen_generate_utils.py:117
↓ 2 callersFunctionmake_context
( tokenizer: PreTrainedTokenizer, query: str, history: List[Tuple[str, str]] = None, system: s
lmms_eval/models/simple/cambrian.py:62
↓ 2 callersFunctionmake_progress
Create a progress tracker — tqdm for interactive, SlurmProgress for batch. Args: total: Total number of items. desc: Description
lmms_eval/models/model_utils/progress.py:99
↓ 2 callersMethodmake_table
(columns: List[str], key: str = "results")
lmms_eval/logging_utils.py:169
← previousnext →901–1,000 of 7,449, ranked by callers