MCPcopy Create free account

hub / github.com/AMAP-ML/GPG / functions

Functions443 in github.com/AMAP-ML/GPG

↓ 1 callersFunctioncleanup
(dataset: Dataset)
open-r1/scripts/decontaminate.py:127
↓ 1 callersFunctioncompute_giou
(gt_bbox, student_bbox)
Visual-RFT/src/virft/src/open_r1/grpo_lisa.py:74
↓ 1 callersFunctioncompute_iou
(pred_mask, gt_mask)
Visual-RFT/lisa_evaluation/mask_iou.py:17
↓ 1 callersFunctioncompute_iou
计算 IoU (Intersection over Union) boxA, boxB 格式: [x1, y1, x2, y2]
Visual-RFT/lisa_evaluation/Qwen2_VL_lisa_infere.py:71
↓ 1 callersFunctioncompute_metrics
(testset_data, all_predicts)
R1-V/src/eval/test_qwen2vl_geoqa_multigpu.py:145
↓ 1 callersFunctioncompute_reward_confidence
(iou_results)
Visual-RFT/src/virft/src/open_r1/grpo.py:220
↓ 1 callersFunctioncompute_reward_iou_v2
(iou_results, len_gt)
Visual-RFT/src/virft/src/open_r1/grpo.py:198
↓ 1 callersFunctionconvert_example
correct example into "messages" eg: { "system": "You are a helpful assistant.", "conversations": [ {"from": "user"
R1-V/src/r1-v/src/open_r1/sft.py:93
↓ 1 callersFunctioncreate_r1_train_dataset
( valid_pair_json, data_dir, img_dir="/home/lilei/Visual-R1/CLEVR_CoGenT_v1.0/images/trainA/", )
R1-V/src/distill_r1/create_hf_dataset.py:11
↓ 1 callersFunctiondynamic_preprocess
(image, min_num=1, max_num=12, image_size=448, use_thumbnail=False)
VisualThinker-R1-Zero/src/open-r1-multimodal/test.py:37
↓ 1 callersFunctiondynamic_preprocess
(image, min_num=1, max_num=12, image_size=448, use_thumbnail=False)
VisualThinker-R1-Zero/src/open-r1-multimodal/src/open_r1/trainer/InternVL2.py:36
↓ 1 callersFunctionensure_csv_exists
Ensure the CSV file exists by converting from Parquet if necessary.
VisualThinker-R1-Zero/src/data/SAT/process_dataset.py:12
↓ 1 callersFunctionevaluate_model
(tasks)
Visual-RFT/lisa_evaluation/Qwen2_VL_lisa_infere.py:88
↓ 1 callersMethodexecute
Requests to the IOI package return the score as a float in the stdout, as well as optional feedback/errors in stderr. Returns a tuple
open-r1/src/open_r1/utils/ioi/piston_client.py:115
↓ 1 callersFunctionextract_answer
(output_str)
VisualThinker-R1-Zero/src/eval/evaluate_Qwen2_VL_CVBench-base.py:24
↓ 1 callersFunctionextract_answer
(output_str)
VisualThinker-R1-Zero/src/eval/evaluate_Qwen2_VL_CVBench.py:26
↓ 1 callersFunctionextract_answer_from_query
Extract answer from query results, specifically looking for: - Numbers within asterisks - Yes/No answers in various formats Args:
R1-V/src/distill_r1/filter_r1.py:7
↓ 1 callersFunctionextract_bbox
(response)
Visual-RFT/lvis_evaluation/Qwen2_VL_lvis_infere.py:56
↓ 1 callersFunctionextract_bbox
(response)
Visual-RFT/coco_evaluation/Qwen2_VL_coco_infere.py:56
↓ 1 callersFunctionextract_code
(completion: str)
open-rs/src/open_r1/rewards.py:392
↓ 1 callersFunctionextract_images
Extract image bytes from string using regex.
VisualThinker-R1-Zero/src/data/SAT/process_dataset.py:19
↓ 1 callersFunctionextract_letters
(text)
VisualThinker-R1-Zero/src/open-r1-multimodal/src/open_r1/grpo.py:78
↓ 1 callersFunctionextract_number_answer
(output_str)
R1-V/src/eval/test_qwen2vl_counting_superclevr.py:88
↓ 1 callersFunctionextract_problem_solution
(gpt4o_response)
Visual-RFT/src/virft/local_scripts/prepare_hf_data.py:32
↓ 1 callersFunctionextract_problem_solution
(gpt4o_response)
R1-V/src/r1-v/local_scripts/prepare_hf_data.py:32
↓ 1 callersFunctionfind_closest_aspect_ratio
(aspect_ratio, target_ratios, width, height, image_size)
VisualThinker-R1-Zero/src/open-r1-multimodal/test.py:22
↓ 1 callersFunctionfind_closest_aspect_ratio
(aspect_ratio, target_ratios, width, height, image_size)
VisualThinker-R1-Zero/src/open-r1-multimodal/src/open_r1/trainer/InternVL2.py:21
↓ 1 callersFunctionformat_query
(qa_dict: Dict, v2=False)
R1-V/src/distill_r1/query_r1.py:21
↓ 1 callersFunctiongenerate_batch
(batch_messages)
VisualThinker-R1-Zero/src/eval/evaluate_Qwen2_VL_CVBench-base.py:139
↓ 1 callersFunctiongenerate_batch
(batch_messages)
VisualThinker-R1-Zero/src/eval/evaluate_Qwen2_VL_CVBench.py:138
↓ 1 callersFunctiongenerate_completion
(session, prompt, args)
open-r1/scripts/generate_reasoning.py:21
↓ 1 callersFunctionget_eval_config
()
R1-V/src/eval/test_qwen2vl_geoqa_multigpu.py:16
↓ 1 callersFunctionget_gpu_count_for_vllm
vLLM enforces a constraint that the number of attention heads must be divisible by the number of GPUs and 64 must be divisible by the number of GPUs.
open-r1/src/open_r1/utils/hub.py:120
↓ 1 callersFunctionget_gpu_count_for_vllm
vLLM enforces a constraint that the number of attention heads must be divisible by the number of GPUs and 64 must be divisible by the number of GPUs.
open-rs/src/open_r1/utils/hub.py:120
↓ 1 callersFunctionget_image_data_url
(image_input)
Visual-RFT/src/virft/local_scripts/create_vision_cot_data.py:47
↓ 1 callersFunctionget_image_data_url
(image_input)
R1-V/src/r1-v/local_scripts/create_vision_cot_data.py:47
↓ 1 callersFunctionget_param_count_from_repo_id
Function to get model param counts from safetensors metadata or find patterns like 42m, 1.5b, 0.5m or products like 8x7b in a repo ID.
open-r1/src/open_r1/utils/hub.py:88
↓ 1 callersFunctionget_param_count_from_repo_id
Function to get model param counts from safetensors metadata or find patterns like 42m, 1.5b, 0.5m or products like 8x7b in a repo ID.
open-rs/src/open_r1/utils/hub.py:88
↓ 1 callersFunctionget_piston_client_from_env
()
open-r1/src/open_r1/utils/ioi/piston_client.py:17
↓ 1 callersFunctionget_slurm_piston_endpoints
Get list of active piston worker endpoints from squeue output
open-r1/src/open_r1/utils/ioi/piston_client.py:227
↓ 1 callersMethodget_supported_runtimes
(self)
open-r1/src/open_r1/utils/ioi/piston_client.py:112
↓ 1 callersFunctionget_tensor_parallel_size
(model_name: str, revision: str = None, default_tp: int = 8)
open-r1/scripts/get_tensor_parallel_size.py:5
↓ 1 callersFunctiongpt4o_query
(image, prompt, max_retries=5, initial_delay=3)
Visual-RFT/src/virft/local_scripts/create_vision_cot_data.py:70
↓ 1 callersFunctiongpt4o_query
(image, prompt, max_retries=5, initial_delay=3)
R1-V/src/r1-v/local_scripts/create_vision_cot_data.py:70
↓ 1 callersFunctionhas_answer_pattern
(text)
Visual-RFT/src/virft/local_scripts/prepare_hf_data.py:138
↓ 1 callersFunctionhas_answer_pattern
(text)
R1-V/src/r1-v/local_scripts/prepare_hf_data.py:138
↓ 1 callersFunctionhas_empty_tags
(text)
Visual-RFT/src/virft/local_scripts/prepare_hf_data.py:132
↓ 1 callersFunctionhas_empty_tags
(text)
R1-V/src/r1-v/local_scripts/prepare_hf_data.py:132
↓ 1 callersFunctionhas_valid_image_size
(example)
Visual-RFT/src/virft/local_scripts/prepare_hf_data.py:144
↓ 1 callersFunctionhas_valid_image_size
(example)
R1-V/src/r1-v/local_scripts/prepare_hf_data.py:144
↓ 1 callersFunctioninit_model
init a model(args.model_path) on a specific gpu
R1-V/src/eval/test_qwen2vl_geoqa_multigpu.py:58
↓ 1 callersFunctionioi_code_reward
Reward function that evaluates IOI problems using Piston+our IOI package. Assumes the dataset has the same format as hf.co/datasets/open-r1/ioi
open-r1/src/open_r1/rewards.py:390
↓ 1 callersFunctionis_slurm_available
()
open-r1/src/open_r1/utils/callbacks.py:28
↓ 1 callersFunctionis_slurm_available
()
open-rs/src/open_r1/utils/callbacks.py:28
↓ 1 callersFunctionload_image
(image_file, input_size=448, max_num=12)
VisualThinker-R1-Zero/src/open-r1-multimodal/test.py:75
↓ 1 callersFunctionload_image_from_path
(image_path)
Visual-RFT/src/virft/local_scripts/prepare_hf_data.py:58
↓ 1 callersFunctionload_image_from_path
(image_path)
R1-V/src/r1-v/local_scripts/prepare_hf_data.py:58
↓ 1 callersFunctionload_images
(messsages)
VisualThinker-R1-Zero/src/eval/evaluate_Qwen2_VL_CVBench-base.py:59
↓ 1 callersFunctionload_ioi_tests
Load IOI tests for a given year and problem id.
open-r1/src/open_r1/utils/ioi/utils.py:38
↓ 1 callersFunctionload_ioi_tests_for_year
Load IOI tests for a given year.
open-r1/src/open_r1/utils/ioi/utils.py:27
↓ 1 callersFunctionload_json
(json_path)
Visual-RFT/lisa_evaluation/box2mask.py:9
↓ 1 callersFunctionload_processed_uuids
(output_file, uuid_column)
open-r1/scripts/generate_reasoning.py:91
↓ 1 callersFunctionmain
()
Visual-RFT/lvis_evaluation/Qwen2_VL_lvis_infere.py:327
↓ 1 callersFunctionmain
()
Visual-RFT/src/virft/local_scripts/create_vision_cot_data.py:136
↓ 1 callersFunctionmain
(script_args, training_args, model_args)
Visual-RFT/src/virft/src/open_r1/grpo_classification.py:139
↓ 1 callersFunctionmain
(script_args, training_args, model_args)
Visual-RFT/src/virft/src/open_r1/sft.py:53
↓ 1 callersFunctionmain
(script_args, training_args, model_args)
Visual-RFT/src/virft/src/open_r1/grpo_lisa.py:183
↓ 1 callersFunctionmain
(script_args, training_args, model_args)
Visual-RFT/src/virft/src/open_r1/grpo.py:402
↓ 1 callersFunctionmain
()
Visual-RFT/coco_evaluation/Qwen2_VL_coco_infere.py:334
↓ 1 callersFunctionmain
()
Visual-RFT/classification/Qwen2_VL_classification_infere.py:220
↓ 1 callersFunctionmain
(json_path, sam_checkpoint, output_json_path, model_type="vit_h")
Visual-RFT/lisa_evaluation/box2mask.py:35
↓ 1 callersFunctionmain
(script_args, training_args, model_args)
VisualThinker-R1-Zero/src/open-r1-multimodal/src/open_r1/sft.py:85
↓ 1 callersFunctionmain
(script_args, training_args, model_args)
VisualThinker-R1-Zero/src/open-r1-multimodal/src/open_r1/grpo.py:159
↓ 1 callersFunctionmain
()
VisualThinker-R1-Zero/src/data/SAT/process_dataset.py:74
↓ 1 callersFunctionmain
(script_args, training_args, model_args)
open-r1/src/open_r1/sft.py:67
↓ 1 callersFunctionmain
(script_args, training_args, model_args)
open-r1/src/open_r1/gpg.py:41
↓ 1 callersFunctionmain
(script_args, training_args, model_args)
open-r1/src/open_r1/grpo.py:38
↓ 1 callersFunctionmain
()
open-r1/scripts/upload_details.py:40
↓ 1 callersFunctionmain
()
open-r1/scripts/run_benchmarks.py:39
↓ 1 callersFunctionmain
()
open-r1/scripts/generate_reasoning.py:104
↓ 1 callersFunctionmain
()
R1-V/src/r1-v/local_scripts/create_vision_cot_data.py:136
↓ 1 callersFunctionmain
(script_args, training_args, model_args)
R1-V/src/r1-v/src/open_r1/sft.py:168
↓ 1 callersFunctionmain
(script_args, training_args, model_args)
R1-V/src/r1-v/src/open_r1/grpo.py:133
↓ 1 callersFunctionmain
(script_args, training_args, model_args)
open-rs/src/open_r1/sft.py:67
↓ 1 callersFunctionmain
(script_args, training_args, model_args)
open-rs/src/open_r1/gpg.py:113
↓ 1 callersFunctionmain
(script_args, training_args, model_args)
open-rs/src/open_r1/grpo.py:113
↓ 1 callersFunctionmain
(script_args, training_args, model_args)
open-rs/src/open_r1/gpg_std.py:113
↓ 1 callersFunctionmake_conversation_sat
(example)
VisualThinker-R1-Zero/src/open-r1-multimodal/src/open_r1/sft.py:111
↓ 1 callersFunctionmake_conversation_sat
(example, base_model_prompt=False)
VisualThinker-R1-Zero/src/open-r1-multimodal/src/open_r1/grpo.py:174
↓ 1 callersFunctionmask_to_rle
(mask)
Visual-RFT/lisa_evaluation/box2mask.py:25
↓ 1 callersFunctionmulti_gpu_inference
let each gpu (along with a model) answer a chunk of questions
R1-V/src/eval/test_qwen2vl_geoqa_multigpu.py:112
↓ 1 callersFunctionparse_arguments
()
VisualThinker-R1-Zero/src/eval/evaluate_Qwen2_VL_CVBench-base.py:14
↓ 1 callersFunctionparse_arguments
()
VisualThinker-R1-Zero/src/eval/evaluate_Qwen2_VL_CVBench.py:16
↓ 1 callersFunctionpolygon_to_mask
(polygon, size)
Visual-RFT/lisa_evaluation/mask_iou.py:8
↓ 1 callersFunctionprepare_inputs
(img_path, instruction)
Visual-RFT/lisa_evaluation/Qwen2_VL_lisa_infere.py:39
↓ 1 callersFunctionprepare_test_messages
(testset_path)
R1-V/src/eval/test_qwen2vl_geoqa_multigpu.py:30
↓ 1 callersFunctionprocess_data
Process dataset and generate conversation JSON files.
VisualThinker-R1-Zero/src/data/SAT/process_dataset.py:39
↓ 1 callersFunctionprocess_example
(example, session, args, output_file, pbar)
open-r1/scripts/generate_reasoning.py:45
↓ 1 callersFunctionprocess_image
(image_path)
Visual-RFT/lisa_evaluation/Qwen2_VL_lisa_infere.py:34
↓ 1 callersFunctionprocess_qa_pairs_parallel
(qa_pairs: List[Dict], output_file: str, max_workers: int = 10)
R1-V/src/distill_r1/query_r1.py:69
← previousnext →101–200 of 443, ranked by callers