MCPcopy Create free account

hub / github.com/InternScience/SciReason / functions

Functions3,711 in github.com/InternScience/SciReason

↓ 1 callersMethod_get_token
(self)
opencompass/models/pangu_api.py:91
↓ 1 callersMethod_infer_result
(self, request, sess)
opencompass/models/bailing_api_oc.py:223
↓ 1 callersMethod_inference
(self)
opencompass/tasks/openicl_attack.py:91
↓ 1 callersMethod_init_reader
(self, **kwargs)
opencompass/datasets/base.py:47
↓ 1 callersMethod_initialize
Build resource when request in real.
opencompass/openicl/icl_evaluator/icl_toxic_evaluator.py:47
↓ 1 callersFunction_inner_call_method
(_method)
opencompass/datasets/apps.py:789
↓ 1 callersFunction_inner_call_method
(_method)
opencompass/datasets/taco.py:739
↓ 1 callersFunction_inner_call_method
(_method)
opencompass/datasets/livecodebench/testing_util.py:672
↓ 1 callersMethod_is_chinese_char
Checks whether CP is the codepoint of a CJK character.
opencompass/datasets/lawbench/utils/modules/tokenization.py:214
↓ 1 callersFunction_is_control
Checks whether `chars` is a control character.
opencompass/datasets/lawbench/utils/modules/tokenization.py:321
↓ 1 callersFunction_is_gzip
(filename)
opencompass/utils/fileio.py:472
↓ 1 callersFunction_is_punctuation
Checks whether `chars` is a punctuation character.
opencompass/datasets/lawbench/utils/modules/tokenization.py:333
↓ 1 callersFunction_is_tar
(filename)
opencompass/utils/fileio.py:460
↓ 1 callersFunction_is_targz
(filename)
opencompass/utils/fileio.py:464
↓ 1 callersFunction_is_tarxz
(filename)
opencompass/utils/fileio.py:456
↓ 1 callersFunction_is_tgz
(filename)
opencompass/utils/fileio.py:468
↓ 1 callersFunction_is_whitespace
Checks whether `chars` is a whitespace character.
opencompass/datasets/lawbench/utils/modules/tokenization.py:309
↓ 1 callersFunction_is_zip
(filename)
opencompass/utils/fileio.py:476
↓ 1 callersMethod_job_failed
(self, return_code: int, output_paths: List[str])
opencompass/runners/slurm.py:160
↓ 1 callersMethod_job_failed
(self, task_status: str, output_paths: List[str])
opencompass/runners/volc.py:250
↓ 1 callersMethod_job_failed
(self, return_code: int, output_paths: List[str])
opencompass/runners/dlc.py:356
↓ 1 callersMethod_launch
Launch a single task. Args: task (BaseTask): Task to launch. Returns: tuple[str, int]: Task name and exit co
opencompass/runners/local.py:198
↓ 1 callersMethod_launch
Launch a single task. Args: cfg (ConfigDict): Task config. random_sleep (bool): Whether to sleep for a random time be
opencompass/runners/slurm.py:79
↓ 1 callersMethod_launch
Launch a single task. Args: task_cfg (ConfigDict): Task config. random_sleep (bool): Whether to sleep for a random ti
opencompass/runners/volc.py:81
↓ 1 callersMethod_launch
(self, cfg: ConfigDict, child_conn: Pipe = None)
opencompass/runners/slurm_sequential.py:166
↓ 1 callersMethod_launch
Launch a single task. Args: cfg (ConfigDict): Task config. random_sleep (bool): Whether to sleep for a random time be
opencompass/runners/dlc.py:89
↓ 1 callersMethod_launch_wo_debug
(self, tasks: List[Dict[str, Any]])
opencompass/runners/slurm_sequential.py:89
↓ 1 callersFunction_livereasonbench_postprocess
(judgement: str)
opencompass/datasets/livereasonbench/livereasonbench.py:171
↓ 1 callersMethod_load_and_preprocess_test_data
Load test dataset and apply postprocessing if needed.
opencompass/tasks/openicl_eval.py:106
↓ 1 callersMethod_load_dataset
(self, dataset_abbr: str)
opencompass/tasks/llm_eval.py:46
↓ 1 callersMethod_load_dataset
(self)
opencompass/datasets/teval/evaluators/reason_retrieve_understand_evaluator.py:50
↓ 1 callersMethod_load_dataset
(self)
opencompass/datasets/teval/evaluators/reason_retrieve_understand_evaluator.py:274
↓ 1 callersMethod_load_dataset
(self)
opencompass/datasets/teval/evaluators/planning_evaluator.py:49
↓ 1 callersMethod_load_dataset
(self)
opencompass/datasets/teval/evaluators/instruct_evaluator.py:25
↓ 1 callersMethod_load_dataset
(self)
opencompass/datasets/teval/evaluators/review_evaluator.py:26
↓ 1 callersMethod_load_ground_truths
加载 ground truth 元素和材料
opencompass/datasets/bulk_modulus_material.py:75
↓ 1 callersMethod_load_model
(self, from_pretrained_kwargs)
opencompass/models/accessory.py:44
↓ 1 callersMethod_load_model
(self, path: str, add_model_kwargs: dict = None, n
opencompass/models/vllm.py:49
↓ 1 callersMethod_load_model
(self, path: str, max_seq_len: int, tokenizer_path
opencompass/models/intern_model.py:34
↓ 1 callersMethod_load_model
(self, path: str, model_config: Optional[str] = None,
opencompass/models/interntrain.py:208
↓ 1 callersMethod_load_model
(self, path: str, max_seq_len: int, max_batch_size
opencompass/models/mixtral.py:47
↓ 1 callersMethod_load_model
(self, **kwargs)
opencompass/models/glm.py:34
↓ 1 callersMethod_load_model
(self, path: str, added_model_kwargs: dict = dict())
opencompass/models/vllm_with_tf_above_v4_33.py:54
↓ 1 callersMethod_load_model
(self, path: str, model_kwargs: dict, peft_path: O
opencompass/models/huggingface.py:196
↓ 1 callersMethod_load_model
(self, path: str, max_seq_len: int, max_batch_size
opencompass/models/llama2.py:46
↓ 1 callersMethod_load_model
(self, path: str, max_seq_len: int, max_batch_size
opencompass/models/llama2.py:179
↓ 1 callersMethod_load_model_judgements
( self, model_cfg: Union[ConfigDict, List[ConfigDict]], dataset_cfg: ConfigDict,
opencompass/tasks/subjective_eval.py:225
↓ 1 callersMethod_load_original_inputs
(self)
opencompass/datasets/composition_material.py:115
↓ 1 callersMethod_load_predictions
Load model predictions from files.
opencompass/tasks/openicl_eval.py:129
↓ 1 callersMethod_load_tokenizer
(self, from_pretrained_kwargs)
opencompass/models/accessory.py:57
↓ 1 callersMethod_load_tokenizer
(self, tokenizer_path: str, tokenizer_type: str, max_seq_len: int)
opencompass/models/intern_model.py:52
↓ 1 callersMethod_load_tokenizer
(self, tokenizer_path: str, tokenizer_type: str)
opencompass/models/interntrain.py:275
↓ 1 callersMethod_load_tokenizer
(self, tokenizer_path: str)
opencompass/models/mixtral.py:62
↓ 1 callersMethod_load_tokenizer
(self, path: str, tokenizer_path: Optional[str], tokenizer_kwargs: dict)
opencompass/models/huggingface.py:131
↓ 1 callersMethod_load_tokenizer
(self, tokenizer_path: str)
opencompass/models/llama2.py:57
↓ 1 callersMethod_load_tokenizer
(self, tokenizer_path: str)
opencompass/models/llama2.py:197
↓ 1 callersFunction_load_weights
Loads the weights from either a url or a local file. If from url, Args: weights_url: a url for the weights weights_file: a l
opencompass/datasets/unconditional_protein_generation/omegafold/pipeline.py:316
↓ 1 callersFunction_make_aa_constants
Fill the arrays above.
opencompass/datasets/unconditional_protein_generation/omegafold/utils/protein_utils/residue_constants.py:501
↓ 1 callersFunction_make_config
Recursively go through dictionary
opencompass/datasets/unconditional_protein_generation/omegafold/config.py:32
↓ 1 callersMethod_make_prompt
(self, question: str, responses: List[str])
opencompass/tasks/llm_eval.py:73
↓ 1 callersFunction_numerical_postprocess
(judgement: str)
opencompass/datasets/matbench/post_process.py:38
↓ 1 callersMethod_output_df_to_file
Output summary dataframe to file. Args: output_path (str): Output path timestamp (str): Timestamp for file suffix
opencompass/summarizers/llm_compression.py:137
↓ 1 callersMethod_output_to_file
(self, output_path, time_str, table, raw_txts, judge_abbr)
opencompass/summarizers/default_subjective.py:340
↓ 1 callersMethod_output_to_file
(self, output_path, time_str, table, raw_txts)
opencompass/summarizers/needlebench.py:489
↓ 1 callersMethod_output_to_file
(self, output_path, time_str, table, raw_txts)
opencompass/summarizers/needlebench.py:672
↓ 1 callersMethod_output_to_file
( self, output_path, time_str: str, tables: Dict, metadata: Dict,
opencompass/summarizers/subjective/compass_arena_bradley_terry.py:847
↓ 1 callersFunction_parse
(item, prompt_mode)
opencompass/datasets/MedCalc_Bench.py:212
↓ 1 callersFunction_parse
(item, prompt_mode)
opencompass/datasets/medmcqa.py:12
↓ 1 callersFunction_parse
(item: dict, prompt_mode: str)
opencompass/datasets/Medbullets.py:13
↓ 1 callersFunction_parse
(item, prompt_mode)
opencompass/datasets/CARDBiomedBench.py:8
↓ 1 callersFunction_parse
(item, prompt_mode)
opencompass/datasets/MedXpertQA.py:12
↓ 1 callersFunction_parse
(item, prompt_mode)
opencompass/datasets/nejmaibench.py:13
↓ 1 callersFunction_parse
(item, prompt_mode, discipline)
opencompass/datasets/SciKnowEval.py:11
↓ 1 callersFunction_parse
(item)
opencompass/datasets/ProteinLMBench.py:10
↓ 1 callersFunction_parse
(item, template, prompt_mode)
opencompass/datasets/supergpqa/supergpqa.py:16
↓ 1 callersFunction_parse_formula
(formula, _stack)
opencompass/datasets/smolinstruct.py:60
↓ 1 callersFunction_parse_formula
(formula, _stack)
opencompass/datasets/LLM4Chem/utils/metrics.py:277
↓ 1 callersMethod_pick_up_results
The function reads the numerical results of evaluations from the output folder based on the configuration file, and ultimately returns
opencompass/summarizers/default_subjective.py:73
↓ 1 callersMethod_pick_up_results
The function reads the numerical results of evaluations from the output folder based on the configuration file, and ultimately returns
opencompass/summarizers/subjective/compass_arena_bradley_terry.py:648
↓ 1 callersMethod_post_process
(self, results_list)
opencompass/datasets/teval/evaluators/reason_retrieve_understand_evaluator.py:173
↓ 1 callersMethod_post_process
(self, results_list)
opencompass/datasets/teval/evaluators/reason_retrieve_understand_evaluator.py:441
↓ 1 callersMethod_post_process
(self, results_list)
opencompass/datasets/teval/evaluators/planning_evaluator.py:388
↓ 1 callersMethod_post_process
(self, results_list)
opencompass/datasets/teval/evaluators/instruct_evaluator.py:141
↓ 1 callersMethod_postprocess
Postprocess for final scores. Args: scores (dict): Dict of calculated scores of metrics. Returns: dict: post
opencompass/openicl/icl_evaluator/icl_hf_evaluator.py:50
↓ 1 callersMethod_prepare
Prepare evaluation dataset by calculating total number of characters and from original text and concatenating encodings into a single
opencompass/openicl/icl_inferencer/icl_sw_ce_loss_inferencer.py:289
↓ 1 callersMethod_preprocess
Preprocess the final predictions and references to needed format. Args: predictions (List): List of predictions of each sample.
opencompass/openicl/icl_evaluator/icl_hf_evaluator.py:35
↓ 1 callersMethod_process_completions
Process code completions to extract the relevant code. Args: completion (str): Code completion string. Returns:
opencompass/openicl/icl_evaluator/code_evaluator.py:119
↓ 1 callersMethod_process_predictions
Apply various processing steps to predictions.
opencompass/tasks/openicl_eval.py:172
↓ 1 callersMethod_process_response
Process the response to needed format. Args: datum(dict): inputs. Returns: dict: Processed response data sampl
opencompass/datasets/teval/evaluators/reason_retrieve_understand_evaluator.py:103
↓ 1 callersMethod_process_response
Process the response to needed format. Args: datum(dict): inputs. Returns: dict: Processed response data sampl
opencompass/datasets/teval/evaluators/reason_retrieve_understand_evaluator.py:328
↓ 1 callersMethod_process_response
Process the response to needed format. Args: datum(dict): inputs. Returns: dict: Processed response data sampl
opencompass/datasets/teval/evaluators/planning_evaluator.py:87
↓ 1 callersMethod_process_response
Process the response to needed format. Args: datum(dict): inputs. Returns: dict: Processed response data sam
opencompass/datasets/teval/evaluators/instruct_evaluator.py:39
↓ 1 callersMethod_process_seq
(self, seq, src_tokens, tgt_tokens)
opencompass/datasets/lawbench/utils/modules/merger.py:34
↓ 1 callersMethod_rank_models
Returns model ranking.
opencompass/tasks/llm_eval.py:85
↓ 1 callersMethod_read_and_sort_dataframe
(self, file_path)
opencompass/summarizers/needlebench.py:621
↓ 1 callersFunction_register
(index)
opencompass/datasets/lawbench/lawbench.py:79
↓ 1 callersMethod_remove_prefix
Determine the truncation point in the completion based on the last line of the prompt, remove all content before that line in the comp
opencompass/datasets/multipl_e.py:86
↓ 1 callersFunction_remove_right_units
(string)
opencompass/datasets/agieval/math_equivalence.py:52
↓ 1 callersFunction_remove_right_units
(string)
opencompass/datasets/medbench/math_equivalence.py:52
↓ 1 callersMethod_remove_right_units
(self, string)
opencompass/datasets/math.py:276
← previousnext →701–800 of 3,711, ranked by callers