MCPcopy Create free account

hub / github.com/DataArcTech/DataArc-SynData-Toolkit / functions

Functions2,774 in github.com/DataArcTech/DataArc-SynData-Toolkit

Method__init__
Initialize the synthetic data generator. Args: model: ModelClient instance config: TextDistillConfig instanc
sdgsystem/distillation/evol_instruct.py:23
Method__init__
(self, config: TranslationConfig)
sdgsystem/translation/translator.py:77
Method__init__
( self, job_id: str, task_type: str, task_name: str, throttle_interval
sdgsystem/app/core/progress.py:17
Method__init__
(self, job_id: str, method: str, config: dict)
sdgsystem/app/core/progress.py:212
Method__init__
(self)
sdgsystem/app/core/job_manager.py:12
Method__init__
(self)
sdgsystem/app/core/job_manager.py:70
Method__init__
(self, config: Dict[str, Any])
sdgsystem/app/services/sdg_service.py:16
Method__init__
Initialize training service. Args: config_dict: Training configuration dictionary verl_path: Optional path t
sdgsystem/app/services/training_service.py:16
Method__init__
Initialize the training launcher. Args: verl_path: Optional path to verl installation. If None, assumes verl is installe
sdgsystem/trainer/launcher.py:18
Method__init__
(self, config: BaseTaskConfig, llm: ModelClient)
sdgsystem/tasks/base.py:11
Method__init__
(self, config: BaseTaskConfig, llm: ModelClient, parallel_executor = None,
sdgsystem/tasks/base.py:23
Method__init__
(self, config: SDGSTaskConfig, llm: ModelClient )
sdgsystem/tasks/task_executor.py:10
Method__init__
Initialize keyword extractor. Args: llm: ModelClient instance for LLM calls
sdgsystem/tasks/keyword_extractor.py:13
Method__init__
(self, config: ImageLocalConfig, llm: ModelClient)
sdgsystem/tasks/image/local.py:28
Method__init__
(self, config: ImageWebConfig, llm: ModelClient)
sdgsystem/tasks/image/web.py:35
Method__init__
(self, config: TextDistillConfig, llm: ModelClient )
sdgsystem/tasks/text/distill.py:14
Method__init__
(self, config: TextLocalConfig, llm: ModelClient )
sdgsystem/tasks/text/local.py:24
Method__init__
(self, config: TextWebConfig, llm: ModelClient, )
sdgsystem/tasks/text/web.py:18
Method__init__
(self, model_config: ModelConfig, answer_config: AnswerExtractionConfig = None, pos
sdgsystem/models/client.py:12
Method__init__
Initialize token and time counter Args: total: Anticipated number of each iteration unit. name: The module n
sdgsystem/models/usage_counter.py:11
Method__init__
(self, config)
sdgsystem/models/models.py:20
Method__init__
Initialize the base model configuration (lazy loading). Args: config: LocalModelConfig instance containing model path,
sdgsystem/models/models.py:404
Method__init__
(self, config: AnswerExtractionConfig)
sdgsystem/models/answer_extraction.py:10
Method__init__
(self, processor: Union[BaseLanguageModel, BasePostProcessor])
sdgsystem/models/postprocess/base.py:101
Method__init__
(self, model: BaseLanguageModel, config: PostProcessConfig )
sdgsystem/models/postprocess/processor.py:16
Method__init__
(self, processor: Union[BaseLanguageModel, "BasePostProcessor"], config: MajorityVotingConfi
sdgsystem/models/postprocess/majority_voting.py:28
Method__init__
(self, config: ExactMatchVotingConfig)
sdgsystem/models/postprocess/majority_voting.py:256
Method__init__
(self, config: SemanticClusteringVotingConfig)
sdgsystem/models/postprocess/majority_voting.py:278
Method__init__
(self, config: LLMJudgeVotingConfig, model: BaseLanguageModel)
sdgsystem/models/postprocess/majority_voting.py:394
Method__init__
Initialize the evaluator. Args: base_model: BaseModel instance for inference llm: LLM client for answer comp
sdgsystem/evaluation/evaluator.py:28
Method__init__
(self, config: BaseComparisonConfig)
sdgsystem/evaluation/answer_comparison.py:62
Method__init__
(self, config: ExactMatchComparisonConfig)
sdgsystem/evaluation/answer_comparison.py:114
Method__init__
(self, config: SemanticComparisonConfig)
sdgsystem/evaluation/answer_comparison.py:145
Method__init__
(self, config: LLMJudgeComparisonConfig, model: BaseLanguageModel)
sdgsystem/evaluation/answer_comparison.py:226
Method__init__
(self, hf_token)
sdgsystem/huggingface/crawl.py:13
Method__iter__
Implement the iterator protocol. Allows iterating over the attribute names of the instance. Yields: str: The name of each field i
verl/base_config.py:70
Method__iter__
(cls)
verl/utils/py_functional.py:214
Method__len__
Return the number of fields in the dataclass. Returns: int: The number of fields in the dataclass.
verl/base_config.py:79
Method__len__
(self)
verl/protocol.py:345
Method__len__
(self)
verl/utils/dataset/rm_dataset.py:117
Method__len__
(self)
verl/utils/dataset/sft_dataset.py:133
Method__len__
(self)
verl/utils/dataset/rl_dataset.py:266
Method__len__
(self)
verl/utils/dataset/multiturn_sft_dataset.py:163
Method__len__
Get the number of samples in the dataset.
sdgsystem/dataset/dataset.py:96
Method__lt__
(self, other)
verl/utils/seqlen_balancing.py:53
Method__lt__
(self, other)
verl/utils/seqlen_balancing.py:88
Method__new__
(cls, *args, **kwargs)
verl/utils/rollout_trace.py:53
Method__post_init__
(self)
verl/protocol.py:341
Method__post_init__
(self)
verl/model_merger/base_model_merger.py:119
Method__post_init__
(self)
verl/utils/profiler/config.py:31
Method__post_init__
config validation logics go here
verl/utils/profiler/config.py:47
Method__post_init__
config validation logics go here
verl/utils/profiler/config.py:65
Method__post_init__
config validation logics go here
verl/utils/profiler/config.py:90
Method__post_init__
config validation logics go here
verl/utils/profiler/config.py:152
Method__post_init__
(self)
verl/trainer/config/config.py:117
Method__post_init__
(self)
verl/workers/config/optimizer.py:82
Method__post_init__
Validate router replay configuration.
verl/workers/config/actor.py:53
Method__post_init__
Validate FSDP actor configuration parameters.
verl/workers/config/actor.py:251
Method__post_init__
Validate FSDP actor configuration parameters.
verl/workers/config/actor.py:284
Method__post_init__
Validate FSDP critic configuration parameters.
verl/workers/config/critic.py:196
Method__post_init__
(self)
verl/workers/config/reward_model.py:62
Method__post_init__
(self)
verl/workers/config/rollout.py:82
Method__post_init__
Validate the rollout config
verl/workers/config/rollout.py:210
Method__post_init__
(self)
verl/workers/config/engine.py:127
Method__post_init__
(self)
verl/workers/config/engine.py:179
Method__post_init__
(self)
verl/workers/config/model.py:97
Method__reduce_ex__
(cls, protocol)
verl/utils/py_functional.py:226
Method__reduce_ex__
Unpickle via: getattr(import_module(module).Dispatch, 'ONE_TO_ALL') so the existing class is reused instead of re-executed.
verl/utils/py_functional.py:248
Method__repr__
(self)
verl/utils/seqlen_balancing.py:96
Method__repr__
(self)
verl/utils/py_functional.py:245
Method__setstate__
(self, data)
verl/protocol.py:415
Method__str__
(self)
verl/trainer/ppo/utils.py:40
Method__str__
(self)
sdgsystem/models/usage_counter.py:132
Method_build_batch_prompt
( self, )
sdgsystem/distillation/base.py:53
Function_call_with_kwargs
Calls `raw_fn` by merging `extra_kwargs` into call-time `kwargs`, with `extra_kwargs` taking precedence. This function is used to merge additiona
verl/trainer/ppo/reward.py:45
Function_call_with_kwargs_async
Calls `raw_fn` by merging `extra_kwargs` into call-time `kwargs`, with `extra_kwargs` taking precedence. This function is used to merge additiona
verl/trainer/ppo/reward.py:54
Method_check_mutually_exclusive
Validate mutually exclusive micro batch size configuration options.
verl/workers/config/actor.py:217
Function_connectSSE
(jobId: string)
sdgsystem/webui/src/pages/configuration-page/index.tsx:337
Method_convert_mlp_param
(self, name: str, params: list[torch.Tensor])
verl/models/mcore/weight_converter.py:104
Method_convert_mlp_param
(self, name: str, params: list[torch.Tensor])
verl/models/mcore/weight_converter.py:423
Method_convert_mlp_param
(self, name: str, params: list[torch.Tensor])
verl/models/mcore/weight_converter.py:447
Function_custom_post_process_node_forward_impl
(self, hidden_states)
verl/models/mcore/model_forward_1f1b_overlap.py:219
Function_default_compute_score
Legacy function API to be deprecated. Please use `default_compute_score` instead.
verl/utils/reward_score/__init__.py:118
Method_download_files
()
verl/utils/dataset/rm_dataset.py:78
Method_estimate_apertus_flops
(self, tokens_sum, batch_seqlens, delta_time)
verl/utils/flops_counter.py:340
Method_estimate_deepseek_v3_flops
(self, tokens_sum, batch_seqlens, delta_time)
verl/utils/flops_counter.py:183
Method_estimate_gemma3_flops
(self, tokens_sum, batch_seqlens, delta_time)
verl/utils/flops_counter.py:273
Method_estimate_qwen2_flops
(self, tokens_sum, batch_seqlens, delta_time)
verl/utils/flops_counter.py:149
Method_estimate_qwen2_moe_flops
(self, tokens_sum, batch_seqlens, delta_time)
verl/utils/flops_counter.py:237
Method_estimate_unknown_flops
(self, tokens_sum, batch_seqlens, delta_time)
verl/utils/flops_counter.py:146
Method_forward_head
(self, hidden_states)
verl/models/qwen2/megatron/modeling_qwen2_megatron.py:396
Method_forward_head
(self, hidden_states)
verl/models/qwen2/megatron/modeling_qwen2_megatron.py:718
Method_forward_head
(self, hidden_states)
verl/models/llama/megatron/modeling_llama_megatron.py:395
Method_forward_head
(self, hidden_states)
verl/models/llama/megatron/modeling_llama_megatron.py:669
Function_fused_GPTModel_forward
Patch self._postprocess in forward for GPT models to enable fused kernel support. https://github.com/NVIDIA/Megatron-LM/blob/core_v0.13.0/meg
verl/models/mcore/model_forward_fused.py:137
Method_fuw_execute
(self, method_name: str, *args, **kwargs)
verl/single_controller/ray/base.py:987
Method_get_responses
(self, prompts: Union[str, List[str]], n: int=1, usage_counter: ModelUsageCounter = No
sdgsystem/models/models.py:198
Method_get_responses
(self, prompts: Union[str, List[str]], n: int=1, usage_counter: ModelUsageCounter = No
sdgsystem/models/models.py:456
Method_get_responses_with_images
Get responses from VLM API with image inputs. Supports OpenAI-compatible vision APIs (GPT-4V, Qwen-VL, etc.) and Anthropic Claude.
sdgsystem/models/models.py:263
Method_get_responses_with_images
Get responses from local VLM model with image inputs. Uses vLLM with multimodal support (requires vLLM >= 0.4.0 for vision models).
sdgsystem/models/models.py:533
← previousnext →1,701–1,800 of 2,774, ranked by callers