MCPcopy Create free account

hub / github.com/Gen-Verse/OpenClaw-RL / functions

Functions10,561 in github.com/Gen-Verse/OpenClaw-RL

Methodembed_text
Embed a single text string. Primarily used for on-the-fly embeddings, particularly during analysis or debugging. For large scale, use
Megatron-LM/tools/bert_embedding/huggingface.py:105
Methodembed_text
Embed a simple string of text. Args: text (str): A single text sample. Returns: A 1D ndarray with shape (dim
Megatron-LM/megatron/core/datasets/retro/config/bert_embedders.py:33
Methodembed_text_dataset
Embed a text dataset.
Megatron-LM/tools/bert_embedding/embed.py:259
Methodenabled
Can be called to check the enabled state of the instance Note: After the request to toggle the state, the actual stat
Megatron-LM/megatron/core/utils.py:1846
Methodencode
(self, input_pair)
Megatron-LM/tools/preprocess_mmdata.py:52
Methodencode
(self, text)
Megatron-LM/tools/preprocess_data_nmt.py:26
Methodencode_batch
(self, batch_data: Dict)
Megatron-LM/examples/mimo/data/energon_avlm_task_encoder.py:350
Methodencode_batch
(self, batch_data: Dict)
Megatron-LM/examples/mimo/data/energon_vlm_task_encoder.py:270
Methodencode_batch
(self, batch: ImageTaskBatchPacked)
Megatron-LM/examples/multimodal/dataset_helpers.py:864
Functionencode_image
(image_content: bytes)
gui-rl/agents/qwen35_agent.py:22
Functionencode_image
(image_content: bytes)
gui-rl/agents/qwen3vl_agent.py:20
Methodencode_sample
Return tokenised multimodal sample.
Megatron-LM/examples/mimo/data/energon_avlm_task_encoder.py:168
Methodencode_sample
Return tokenised multimodal sample.
Megatron-LM/examples/mimo/data/energon_vlm_task_encoder.py:147
Methodencode_sample
(self, sample: Union[CaptioningSample, OCRSample, VQASample, SimilarityInterleavedSample])
Megatron-LM/examples/multimodal/dataset_helpers.py:219
Methodencoder
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:458
Methodencoder_and_decoder
Deprecated property - use encoder_or_decoder instead.
Megatron-LM/megatron/core/enums.py:14
Methodencoder_and_decoder
Deprecated property - use encoder_or_decoder instead.
Megatron-LM/megatron/core/transformer/enums.py:18
Methodend_layer
(self)
slime/slime/backends/sglang_utils/qwen3_5.py:122
Functionend_recording
()
gui-rl/env_pool_server.py:446
Functionend_recording
()
gui-rl/desktop_env/server/main.py:1537
Methodend_recording
Ends recording the screen.
gui-rl/desktop_env/controllers/python.py:431
Functionensure_bridge_plugins_registered
Register only the bridge plugins needed for the current model type.
slime/slime_plugins/megatron_bridge/__init__.py:26
Functionensure_template
(value: Any)
Megatron-LM/megatron/rl/inference/inference_interface.py:89
Functionensure_test_data
Ensure test data is available at /opt/data by downloading if necessary.
Megatron-LM/tests/unit_tests/conftest.py:75
Methodentrypoint
Class method to instantiate and run the coordinator, for use in a separate process. This method initializes the coordinator, signals
Megatron-LM/megatron/core/inference/data_parallel_inference_coordinator.py:283
Methodenum_type_handler
(cli_arg)
Megatron-LM/megatron/training/argument_utils.py:91
Methodenv
(self)
swe-rl/mini-swe-agent/src/minisweagent/agents/interactive_textual.py:326
Functionenv_constructor
(loader, node)
Megatron-LM/megatron/training/yaml_arguments.py:25
Methodeod
Returns id of end of document token.
Megatron-LM/megatron/core/tokenizers/text/text_tokenizer.py:181
Methodeod
Returns eod token.
Megatron-LM/megatron/core/tokenizers/text/libraries/null_tokenizer.py:80
Methodeod
Get the end-of-document ID.
Megatron-LM/megatron/core/tokenizers/text/libraries/bytelevel_tokenizer.py:153
Methodeod
Returns EOD token id.
Megatron-LM/megatron/core/tokenizers/text/libraries/huggingface_tokenizer.py:298
Methodeod
Property alias to match MegatronTokenizer; returns eod_id if available.
Megatron-LM/megatron/core/tokenizers/text/libraries/abstract_tokenizer.py:117
Methodeod
Returns id of end of document token.
Megatron-LM/megatron/core/tokenizers/text/libraries/tiktoken_tokenizer.py:251
Methodeod
The EOD token id Raises: NotImplementedError: Non-abstract, optional attribute
Megatron-LM/megatron/core/datasets/megatron_tokenizer.py:129
Methodeod
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:182
Methodeod
Copy of eod property for inference pipeline compatibility
Megatron-LM/megatron/training/tokenizer/tokenizer.py:301
Methodeod
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:360
Methodeod
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:522
Methodeod
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:570
Methodeod
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:624
Methodeod
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:765
Methodeod
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:863
Methodeod
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:936
Methodeod
End of sentence token ID.
Megatron-LM/megatron/training/tokenizer/multimodal_tokenizer.py:323
Methodeod
End of sentence token ID.
Megatron-LM/megatron/training/tokenizer/sft_tokenizer.py:179
Methodeos
Returns id of end of sentence token. Need for legacy.
Megatron-LM/megatron/core/tokenizers/text/text_tokenizer.py:201
Methodeos
The EOS token id Raises: NotImplementedError: Non-abstract, optional attribute
Megatron-LM/megatron/core/datasets/megatron_tokenizer.py:147
Methodeos
Id of the end of sentence token in the vocabulary.
Megatron-LM/megatron/training/tokenizer/tokenizer.py:296
Methodeos
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:364
Methodeos
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:526
Methodeos
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:574
Methodeos
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:628
Methodeos
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:753
Methodeos
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:867
Methodeos
(self)
Megatron-LM/megatron/training/tokenizer/tokenizer.py:940
Methodeos_id
Get the end-of-sequence ID.
Megatron-LM/megatron/core/tokenizers/text/libraries/bytelevel_tokenizer.py:146
Methodeos_id
Returns id of end of sentence token.
Megatron-LM/megatron/core/tokenizers/text/libraries/huggingface_tokenizer.py:293
Methodeos_id
Returns id of end of sentence token.
Megatron-LM/megatron/core/tokenizers/text/libraries/sentencepiece_tokenizer.py:332
Methodeos_id
Property alias to match MegatronTokenizer; returns eos_id if available.
Megatron-LM/megatron/core/tokenizers/text/libraries/abstract_tokenizer.py:136
Methodeos_id
Returns id of end of sentence token.
Megatron-LM/megatron/core/tokenizers/text/libraries/tiktoken_tokenizer.py:246
Methodeos_token
End of sentence token id
Megatron-LM/megatron/training/tokenizer/tokenizer.py:311
Functionequal
(x, y)
slime/slime/utils/arguments.py:2031
Functionerf_gelu
(x)
Megatron-LM/megatron/legacy/model/utils.py:58
Functionerf_gelu
(x)
Megatron-LM/megatron/core/transformer/utils.py:69
Methoderror_message
(self, metric_name: str)
Megatron-LM/tests/functional_tests/python_test_utils/common.py:64
Functionevaluate
(request: Request)
terminal-rl/router_server.py:355
Functionevaluate
(request: Request)
terminal-rl/remote/pool_server.py:512
Functionevaluate
()
gui-rl/env_pool_server.py:416
Functionevaluate
()
swe-rl/server/swe_env_pool_server.py:302
Methodevaluate
(self)
terminal-rl/remote/terminal_env.py:211
Methodevaluate
(self, response_text: str, next_state_text: str, next_state_role: str, turn_data: dict,
openclaw-tinker/scorers.py:348
Methodevaluate
(self, response_text: str, next_state_text: str, next_state_role: str, turn_data: dict,
openclaw-tinker/scorers.py:432
Functionevaluate_alignment
(docx_path)
gui-rl/desktop_env/evaluators/metrics/docs.py:860
Functionevaluate_and_print_results_rl
Helper function to evaluate and dump results on screen. Args: data_iterator: Iterator over batches of evaluation dataset. model:
Megatron-LM/megatron/rl/rl_utils.py:2026
Functionevaluate_colored_words_in_tables
(file_path1, file_path2, **kwargs)
gui-rl/desktop_env/evaluators/metrics/docs.py:700
Functionevaluate_conversion
(file_path)
gui-rl/desktop_env/evaluators/metrics/docs.py:792
Functionevaluate_one_problem
Get model response and score for one problem.
openclaw-rl/oel/eval/select_hard_problems.py:102
Functionevaluate_presentation_fill_to_rgb_distance
(pptx_file, rules)
gui-rl/desktop_env/evaluators/metrics/slides.py:763
Functionevaluate_spacing
(file_path)
gui-rl/desktop_env/evaluators/metrics/docs.py:818
Functionevaluate_strike_through_last_paragraph
(file_path1, file_path2)
gui-rl/desktop_env/evaluators/metrics/docs.py:768
Methodevaluation_prompts
( self, num_prompts: int, validation: bool = False )
Megatron-LM/examples/rl/environments/math/dapo_agent.py:33
Methodevaluation_prompts
( self, num_prompts: int, validation: bool = False )
Megatron-LM/examples/rl/environments/math/aime_agent.py:22
Methodevaluation_prompts
( self, num_prompts: int, validation: bool = False )
Megatron-LM/examples/rl/environments/math/bigmath_agent.py:22
Methodevaluation_prompts
( self, num_prompts: int, validation: bool = False )
Megatron-LM/examples/rl/environments/math/openmath_agent.py:22
Methodevaluation_prompts
( self, num_prompts: int, validation: bool = False )
Megatron-LM/examples/rl/environments/math/gsm8k_agent.py:40
Methodevaluation_prompts
( self, num_prompts: int, validation: bool = False )
Megatron-LM/examples/rl/environments/countdown/countdown_agent.py:30
Methodevent
Gets the CUDA event for synchronization.
Megatron-LM/megatron/core/models/common/model_chunk_schedule_plan.py:392
Functionexact_match
(result, rules)
gui-rl/desktop_env/evaluators/metrics/general.py:41
Methodexamples
Return a list of information on function examples.
Megatron-LM/tools/retro/config_utils.py:216
Functionexchange_loaded_tensors_broadcast
Exchange the tensors loaded by different ranks by a series of broadcasts. For each rank for each loaded tensor do a broadcast to the whole group.
Megatron-LM/megatron/core/dist_checkpointing/exchange_utils.py:457
Functionexchange_loaded_tensors_gather_object
Exchange the tensors loaded by different ranks with a simple all_gather_object call. This version can be used for debugging purposes do to its si
Megatron-LM/megatron/core/dist_checkpointing/exchange_utils.py:378
Functionexchange_loaded_tensors_gather_rounds
Exchange the tensors loaded by different ranks with several all_gather calls. Groups tensors by dtype, divide tensors that will be exchanged into
Megatron-LM/megatron/core/dist_checkpointing/exchange_utils.py:260
Functionexec_cmd
()
swe-rl/server/swe_env_pool_server.py:265
Functionexec_tool
(request: Request)
terminal-rl/router_server.py:350
Functionexec_tool
(request: Request)
terminal-rl/remote/pool_server.py:470
Methodexec_tool
(self, name: str, arguments: dict[str, Any])
terminal-rl/remote/terminal_env.py:188
Methodexecute_action
(self, action: dict)
swe-rl/mini-swe-agent/src/minisweagent/agents/interactive.py:93
Methodexecute_action
(self, action: dict)
swe-rl/mini-swe-agent/src/minisweagent/agents/interactive_textual.py:75
Functionexecute_command
()
gui-rl/desktop_env/server/main.py:78
← previousnext →7,201–7,300 of 10,561, ranked by callers