MCPcopy Create free account

hub / github.com/Tencent-Hunyuan/HY-SOAR / functions

Functions148 in github.com/Tencent-Hunyuan/HY-SOAR

Method__init__
(self, mean, std)
soar/flow_grpo/hpsv2_scorer.py:43
Method__init__
(self, global_std=False)
soar/flow_grpo/stat_tracking.py:5
Method__init__
(self, dtype, device)
soar/flow_grpo/aesthetic_scorer.py:34
Method__init__
OCR reward calculator :param use_gpu: Whether to use GPU acceleration for PaddleOCR
soar/flow_grpo/ocr.py:11
Method__init__
(self, device="cuda", dtype=torch.float32)
soar/flow_grpo/imagereward_scorer.py:8
Method__init__
(self, device)
soar/flow_grpo/clip_scorer.py:34
Method__init__
(self, device="cuda", dtype=torch.float32)
soar/flow_grpo/pickscore_scorer.py:7
Method__init__
(self, image: Image.Image, objects)
soar/flow_grpo/gen_eval.py:78
Method__iter__
(self)
soar/utils/data.py:138
Method__len__
(self)
soar/evaluation.py:64
Method__len__
(self)
soar/evaluation.py:80
Method__len__
(self)
soar/utils/data.py:67
Method__len__
(self)
soar/utils/data.py:135
Method__len__
(self)
soar/flow_grpo/gen_eval.py:87
Method__post_init__
(self)
soar/flow_grpo/diffusers_patch/solver.py:195
Function_collate_fn
(examples)
soar/utils/data.py:183
Function_fn
(images, prompts, metadata)
soar/flow_grpo/rewards.py:10
Functionaesthetic_score
(device)
soar/flow_grpo/rewards.py:34
Functionclip_score
(device)
soar/flow_grpo/rewards.py:51
Functioncollate_fn
(examples)
soar/evaluation.py:87
Methodcopy_ema_to
(self, parameters: Iterable[torch.nn.Parameter], store_temp: bool = True, grad=False)
soar/flow_grpo/ema.py:64
Methodcopy_temp_to
(self, parameters: Iterable[torch.nn.Parameter])
soar/flow_grpo/ema.py:75
Functioncounting
(nouns_file, low, high)
soar/flow_grpo/prompts.py:68
Functionencode_prompt
( text_encoders, tokenizers, prompt: str, max_sequence_length, device=None, num_images
soar/flow_grpo/diffusers_patch/train_dreambooth_lora_sd3.py:98
Methodforward
(self, img)
soar/flow_grpo/hpsv2_scorer.py:26
Methodforward
(self, tensor)
soar/flow_grpo/hpsv2_scorer.py:47
Methodforward
(self, embed)
soar/flow_grpo/aesthetic_scorer.py:29
Functiongeneral_ocr
()
soar/flow_grpo/prompts.py:49
Functiongeneval_score
(device)
soar/flow_grpo/rewards.py:114
Methodget_mean_of_top_rewards
(self, top_percentage)
soar/flow_grpo/stat_tracking.py:41
Functionhpsv2_score
(device)
soar/flow_grpo/rewards.py:66
Functionimagenet_all
()
soar/flow_grpo/prompts.py:33
Functionimagenet_animals
()
soar/flow_grpo/prompts.py:37
Functionimagenet_dogs
()
soar/flow_grpo/prompts.py:41
Functionimagereward_score
(device)
soar/flow_grpo/rewards.py:97
Functionjpeg_compressibility
()
soar/flow_grpo/rewards.py:24
Functionload_model_hook
(models, input_dir)
soar/utils/model.py:154
Functionnouns_activities
(nouns_file, activities_file)
soar/flow_grpo/prompts.py:62
Functionocr_score
(device)
soar/flow_grpo/rewards.py:164
Functionpickscore_score
(device)
soar/flow_grpo/rewards.py:81
Functionpipeline_with_logprob
( self, prompt: Union[str, List[str]] = None, prompt_2: Optional[Union[str, List[str]]] = None,
soar/flow_grpo/diffusers_patch/pipeline_with_logprob.py:28
Functionsave_model_hook
(models, weights, output_dir)
soar/utils/model.py:140
Functionsimple_animals
()
soar/flow_grpo/prompts.py:45
Functionsimple_ocr_animals
()
soar/flow_grpo/prompts.py:53
Methodsync_with_model
Force the EMA parameters to be a direct copy of the given model parameters. This is used to create a snapshot for the rollout policy.
soar/flow_grpo/ema.py:55
Functiontimed
(fn)
soar/flow_grpo/gen_eval.py:23
Functionunifiedreward_score_sglang
(device)
soar/flow_grpo/rewards.py:180
Functionwrapper
(*args, **kwargs)
soar/flow_grpo/gen_eval.py:24
← previous101–148 of 148, ranked by callers