MCPcopy Create free account

hub / github.com/ML-GSAI/LLaDA / functions

Functions3,438 in github.com/ML-GSAI/LLaDA

↓ 1 callersMethodget_score
(self, time_str)
opencompass/opencompass/summarizers/subjective/fofo.py:62
↓ 1 callersMethodget_score
(self, time_str)
opencompass/opencompass/summarizers/subjective/compass_arena.py:84
↓ 1 callersMethodget_score
(self, time_str)
opencompass/opencompass/summarizers/subjective/compassbench_v13.py:57
↓ 1 callersMethodget_score
(self, time_str)
opencompass/opencompass/summarizers/subjective/qacompassbench.py:50
↓ 1 callersMethodget_score
(self, time_str)
opencompass/opencompass/summarizers/subjective/arenahard.py:246
↓ 1 callersFunctionget_scores
(judged_answers, references)
opencompass/opencompass/summarizers/subjective/followbench.py:62
↓ 1 callersFunctionget_scores
(judged_answers, references)
opencompass/opencompass/datasets/subjective/followbench.py:87
↓ 1 callersFunctionget_sign
(appkey, udid, timestamp, secret)
opencompass/opencompass/models/unigpt_api.py:16
↓ 1 callersFunctionget_solution_text
(problem)
opencompass/opencompass/datasets/tabmwp.py:55
↓ 1 callersMethodget_streaming_response
(self, response: requests.Response)
opencompass/opencompass/models/bluelm_api.py:83
↓ 1 callersMethodget_sub_cost
Calculate the substitution cost between words a and b 计算两个单词替换操作的编辑cost,最大为2,等于一次删除和一次添加
opencompass/opencompass/datasets/lawbench/utils/modules/alignment.py:183
↓ 1 callersFunctionget_table_text
(problem)
opencompass/opencompass/datasets/tabmwp.py:17
↓ 1 callersMethodget_token_len
Get lengths of the tokenized strings. Args: prompt (str): Input string. Returns: int: Length of the input to
opencompass/opencompass/models/dllm.py:360
↓ 1 callersMethodget_token_len
(self, prompt: str, add_special_tokens: bool=True)
opencompass/opencompass/models/huggingface_above_v4_33.py:660
↓ 1 callersMethodget_token_len
Get lengths of the tokenized strings. Args: prompt (str): Input string. Returns: int: Length of the input to
opencompass/opencompass/models/interntrain.py:308
↓ 1 callersMethodget_toxicity_scores
Request toxicity scores for PerspectiveAPI. Args: predictions: Text to perform evaluation. Returns: dict: ou
opencompass/opencompass/openicl/icl_evaluator/icl_toxic_evaluator.py:98
↓ 1 callersFunctionget_unique_entries
( file_path, n, language, unique_arg1=False, unique_arg2=False, unique_combination=Fal
opencompass/opencompass/datasets/needlebench/parallel.py:14
↓ 1 callersFunctionget_unique_entries
( file_path, n, language, unique_arg1=False, unique_arg2=False, unique_combination=Fal
opencompass/opencompass/datasets/needlebench_v2/parallel.py:15
↓ 1 callersFunctionget_unit
(problem)
opencompass/opencompass/datasets/tabmwp.py:51
↓ 1 callersMethodget_url
(self)
opencompass/opencompass/models/xunfei_api.py:70
↓ 1 callersFunctionget_usage_dict
(response_usage)
opencompass/opencompass/datasets/healthbench/healthbench.py:152
↓ 1 callersMethodget_value
Get evaluation value of a partial output. Args: x (str): The input text to be evaluated. y (str): The partial output
opencompass/opencompass/openicl/icl_inferencer/icl_tot_inferencer.py:113
↓ 1 callersMethodget_values
Get evaluation values of partial outputs. Args: x (str): The input text to be solved. ys (List[str]): The partial out
opencompass/opencompass/openicl/icl_inferencer/icl_tot_inferencer.py:143
↓ 1 callersFunctionget_version
()
opencompass/setup.py:100
↓ 1 callersFunctionget_version
()
opencompass/docs/zh_cn/conf.py:33
↓ 1 callersFunctionget_version
()
opencompass/docs/en/conf.py:33
↓ 1 callersMethodget_votes
Get votes of partial outputs. Args: x (str): The input text to be solved. ys (List[str]): The partial outputs to be e
opencompass/opencompass/openicl/icl_inferencer/icl_tot_inferencer.py:174
↓ 1 callersFunctionget_win_rate_column
(df, column, baseline='gpt4-0314')
opencompass/opencompass/datasets/subjective/arena_hard.py:168
↓ 1 callersMethodgold_answers_to_dict
(gold_file)
opencompass/opencompass/datasets/lawbench/utils/rc_f1.py:16
↓ 1 callersFunctiongpt_python_postprocess
Better answer postprocessor for better instruction-aligned models like GPT.
opencompass/tools/collect_code_preds.py:46
↓ 1 callersMethodgrade_sample
( self, prompt: list[dict[str, str]], response_text: str, example_tags: list[s
opencompass/opencompass/datasets/healthbench/healthbench.py:298
↓ 1 callersMethodgreedy_tsp
Solve the Traveling Salesman Problem using a greedy algorithm. :param distance_matrix: 2D numpy array where the element at [i, j] is the dist
opencompass/opencompass/datasets/NPHardEval/hard_TSP.py:186
↓ 1 callersFunctiongreen_bold
(text)
opencompass/opencompass/summarizers/multi_model.py:28
↓ 1 callersFunctiongsm8k_postprocess
(text: str)
opencompass/opencompass/datasets/gsm8k.py:44
↓ 1 callersMethodgt_response
(self, prompt)
opencompass/opencompass/models/lagent.py:45
↓ 1 callersFunctionhumaneval_internal_v2_postprocess
(text: str)
opencompass/opencompass/datasets/humaneval.py:203
↓ 1 callersFunctionhumaneval_postprocess
(text: str)
opencompass/opencompass/models/claude_api/postprocessors.py:29
↓ 1 callersFunctionidentify_model_errors
Identify errors in model responses based on provided items, task, and prompt style. Args: items (list): A list of items containing mo
opencompass/opencompass/datasets/calm/evaluation/errors.py:171
↓ 1 callersFunctionignore_pad_dict
(features)
opencompass/opencompass/openicl/icl_retriever/icl_topk_retriever.py:156
↓ 1 callersFunctionimport_source_file
Import a Python source file and return the loaded module. Args: fname: The full path to the source file. It may container characters
opencompass/opencompass/datasets/ds1000.py:318
↓ 1 callersMethodinfer_every
(self, chat: List[dict], index: int, output_handler)
opencompass/opencompass/openicl/icl_inferencer/icl_chat_inferencer.py:343
↓ 1 callersMethodinfer_every_with_gt
(self, chat: List[dict], index: int, output_handler)
opencompass/opencompass/openicl/icl_inferencer/icl_chat_inferencer.py:381
↓ 1 callersMethodinfer_last
(self, chat: List[dict], index: int, output_handler)
opencompass/opencompass/openicl/icl_inferencer/icl_chat_inferencer.py:328
↓ 1 callersMethodinit_dataset
(self)
opencompass/opencompass/openicl/icl_dataset_reader.py:267
↓ 1 callersFunctioninitialize_config
(config_path)
opencompass/opencompass/datasets/korbench/korbench_utils.py:139
↓ 1 callersFunctioninitialize_config
(config_path)
opencompass/opencompass/datasets/korbench/korbench_dataset_config/config_wrapper.py:44
↓ 1 callersFunctioninitialize_config
(config_path)
opencompass/opencompass/datasets/supergpqa/supergpqa_utils.py:139
↓ 1 callersFunctioninitialize_config
(config_path)
opencompass/opencompass/datasets/supergpqa/supergpqa_dataset_config/config_wrapper.py:44
↓ 1 callersFunctioninitialize_error_identification_components
Initialize error identification components. Args: task (str): The task for which error identification components are being initialized.
opencompass/opencompass/datasets/calm/evaluation/errors.py:11
↓ 1 callersMethodinitialize_model
(self)
opencompass/opencompass/models/interntrain.py:81
↓ 1 callersMethodinterval_equal
Function: Check if two intervals are mathematically equivalent Step 1: Simplify interval expressions, remove irreleva
opencompass/opencompass/datasets/OlympiadBench.py:535
↓ 1 callersFunctionis_chinese
(text)
opencompass/opencompass/datasets/calm/evaluation/accuracy/open-ended.py:5
↓ 1 callersMethodis_equal
(self, pred, refer)
opencompass/opencompass/datasets/mmlu_pro.py:44
↓ 1 callersMethodis_equal
(self, pred, refer)
opencompass/opencompass/datasets/gsm8k.py:66
↓ 1 callersMethodis_equal
(self, pred, refer)
opencompass/opencompass/datasets/gsm8k.py:105
↓ 1 callersMethodis_equal
(self, expression1, expression2)
opencompass/opencompass/datasets/OlympiadBench.py:381
↓ 1 callersFunctionis_equiv
(str1, str2, verbose=False)
opencompass/opencompass/datasets/math_intern.py:330
↓ 1 callersFunctionis_in_idx_ranges
(idx, idx_ranges)
opencompass/opencompass/datasets/korbench/korbench_utils.py:298
↓ 1 callersFunctionis_in_idx_ranges
(idx, idx_ranges)
opencompass/opencompass/datasets/supergpqa/supergpqa_utils.py:298
↓ 1 callersMethodis_num_equal
(predictions, references)
opencompass/opencompass/openicl/icl_evaluator/icl_base_evaluator.py:239
↓ 1 callersMethodis_symbolically_equivalent
(self, formula1, formula2, n_var=2)
opencompass/opencompass/datasets/srbench.py:161
↓ 1 callersMethodjson_format_parse
(self, data_sample)
opencompass/opencompass/datasets/teval/evaluators/instruct_evaluator.py:119
↓ 1 callersMethodjson_format_parse
(self, pred_data)
opencompass/opencompass/datasets/teval/evaluators/review_evaluator.py:90
↓ 1 callersMethodjudge
(self, predictions, references, test_set)
opencompass/opencompass/datasets/livemathbench/livemathbench.py:235
↓ 1 callersMethodknn_search
(self, ice_num)
opencompass/opencompass/openicl/icl_retriever/icl_topk_retriever.py:108
↓ 1 callersMethodkspCheck
Validates the solution for the KSP instance. :param instance: A dictionary of the KSP instance. :param solution: A dictionary of the
opencompass/opencompass/datasets/NPHardEval/cmp_KSP.py:133
↓ 1 callersMethodksp_optimal_solution
Provides the optimal solution for the KSP instance with dynamic programming. :param knapsacks: A dictionary of the knapsacks.
opencompass/opencompass/datasets/NPHardEval/cmp_KSP.py:113
↓ 1 callersFunctionlast_boxed_only_string
(string)
opencompass/opencompass/datasets/math_intern.py:13
↓ 1 callersFunctionlast_boxed_only_string
(string)
opencompass/opencompass/datasets/math.py:16
↓ 1 callersFunctionlast_boxed_only_string
(string)
opencompass/opencompass/datasets/agieval/post_process.py:111
↓ 1 callersFunctionlast_boxed_only_string
(string)
opencompass/opencompass/datasets/medbench/post_process.py:111
↓ 1 callersMethodlaunch
Launch multiple tasks. Args: tasks (list[dict]): A list of task configs, usually generated by Partitioner.
opencompass/opencompass/runners/base.py:43
↓ 1 callersMethodlaunch
Launch multiple tasks. Args: tasks (list[dict]): A list of task configs, usually generated by Partitioner.
opencompass/opencompass/runners/dlc.py:67
↓ 1 callersMethodlength_is_ok
(self, tokenized)
opencompass/opencompass/datasets/babilong/babilong_utils.py:190
↓ 1 callersMethodlevenshtein_distance
(self, s1, s2)
opencompass/opencompass/datasets/needlebench/origin.py:238
↓ 1 callersMethodload
(path, with_bg, **kwargs)
opencompass/opencompass/datasets/scicode.py:27
↓ 1 callersMethodload
Load humaneval dataset for pass k mode. Note that you can use num_repeats > 1 when your model does not support `num_return_sequence`
opencompass/opencompass/datasets/humaneval.py:36
↓ 1 callersMethodload
(**kwargs)
opencompass/opencompass/datasets/truthfulqa.py:26
↓ 1 callersMethodload
(path, file_name=None, local_mode=False)
opencompass/opencompass/datasets/custom.py:168
↓ 1 callersMethodload
(**kwargs)
opencompass/opencompass/datasets/base.py:59
↓ 1 callersMethodload
(path, local_mode: bool = False)
opencompass/opencompass/datasets/cmnli.py:16
↓ 1 callersMethodload
(path)
opencompass/opencompass/datasets/rolebench.py:68
↓ 1 callersMethodload
(path: str)
opencompass/opencompass/datasets/srbench.py:20
↓ 1 callersMethodload
(path, name='main')
opencompass/opencompass/datasets/obqa.py:16
↓ 1 callersMethodload
(path, lang)
opencompass/opencompass/datasets/storycloze.py:17
↓ 1 callersMethodload
(path, subset='en', **kwargs)
opencompass/opencompass/datasets/rbench.py:30
↓ 1 callersMethodload
Load whole dataset. Args: path(str): Path of cibench dataset. internet_check(bool): Whether to check internet.
opencompass/opencompass/datasets/cibench.py:118
↓ 1 callersMethodload
(path: str)
opencompass/opencompass/datasets/natural_question.py:57
↓ 1 callersMethodload
Load humaneval dataset for pass k mode. Note that you can use num_repeats > 1 when your model does not support `num_return_sequence`
opencompass/opencompass/datasets/humaneval_multi.py:48
↓ 1 callersMethodload
(path: str = 'opencompass/CodeCompass', difficulty: Optional[str] = None, source: Op
opencompass/opencompass/datasets/codecompass/CodeCompass.py:48
↓ 1 callersMethodload
( path: str, length: int, depth: int, tokenizer_model: str, file_list:
opencompass/opencompass/datasets/needlebench/multi.py:39
↓ 1 callersMethodload
( path, file_name: str, num_needles: int, language: str, repeats: int,
opencompass/opencompass/datasets/needlebench/atc.py:17
↓ 1 callersMethodload
(path: str = 'livecodebench/code_generation_lite', local_mode: bool = False, release
opencompass/opencompass/datasets/livecodebench/livecodebench.py:207
↓ 1 callersMethodload
( path: str, # depreciated length: int, depth: int, tokenizer_model: str,
opencompass/opencompass/datasets/needlebench_v2/multi.py:81
↓ 1 callersMethodload
(path)
opencompass/opencompass/datasets/IFEval/ifeval.py:18
↓ 1 callersMethodload
(self, path: str, name: str)
opencompass/opencompass/datasets/teval/__init__.py:19
↓ 1 callersMethodload
Args: path (str): The path to the dataset. local_mode (bool): Whether to use local give path or use a
opencompass/opencompass/datasets/bigcodebench/bigcodebench.py:24
↓ 1 callersMethodload
(path: str, name: str, setting_name: str)
opencompass/opencompass/datasets/medbench/medbench.py:26
↓ 1 callersMethodload_char_meta
(fname)
opencompass/opencompass/datasets/lawbench/utils/char_smi.py:118
↓ 1 callersMethodload_config
(self, path, model_config=None)
opencompass/opencompass/models/interntrain.py:65
← previousnext →1,101–1,200 of 3,438, ranked by callers