MCPcopy Create free account

hub / github.com/MARIO-Math-Reasoning/Super_MARIO / functions

Functions137 in github.com/MARIO-Math-Reasoning/Super_MARIO

Method_sub_run
(bodys)
mcts_math/tools/python_tool.py:133
Function_tool
(query)
mcts_math/agents/tree.py:28
Functionasyn_llm_engine
with Manager() as manager: public_prompts = manager.dict() # input text for generator public_outputs = manager.dict() # genrate
mcts_math/llms/local_llm_engine.py:107
Methodbase_run
(query: str)
mcts_math/tools/python_tool.py:177
Methodcompute_logits
(self, hidden_states: torch.Tensor, sampling_metadata: SamplingMetadata)
scripts/modeling_value_head.py:180
Methodcreate_llm
(self)
mcts_math/agents/react.py:69
Methodcreate_llm
(self)
mcts_math/agents/step_beam.py:59
Methodcreate_prompt
if is_value_only, the prompt is used to produce value estimate.
mcts_math/agents/step_beam.py:74
Methodforward
(self, hidden_states)
scripts/modeling_value_head.py:56
Methodforward
( self, input_ids: torch.Tensor, positions: torch.Tensor, kv_caches: List[KVCa
scripts/modeling_value_head.py:163
Methodgenerate
generate as a linked list root -> x -> y -> z
mcts_math/agents/react.py:98
Methodgenerate
subclass must implement
mcts_math/agents/tree.py:107
Methodgenerate_next_step
process output from vllm e.g., outputs = llm.generate(prompts, sampling_params) for output in outputs: step_gener
mcts_math/agents/step_beam.py:129
Methodis_root
(self)
mcts_math/nodes/base_node.py:36
Methodload_weights
(self, model_name_or_path: str, cache_dir: Optional[str] = None,
scripts/modeling_value_head.py:146
Functionlocal_generator
( prompts: List[str], sampling_params: SamplingParams, engine: LLM, )
mcts_math/llms/local_llms.py:53
Functionlocal_vllm
This one is not for batch inference.
mcts_math/llms/local_llms.py:10
Methodprocessor
(solver: BaseTree, output: List[RequestOutput])
mcts_math/solver.py:104
Methodprocessor
(solver: REACT, output: RequestOutput)
mcts_math/react_batch.py:74
Functionreact_obs_wrap
(observation: str)
mcts_math/agents/utils.py:52
Functionreact_prompt_wrap
( question: str, partial_solution: str, config, )
mcts_math/agents/utils.py:26
Functionreact_sft_obs_wrap
(observation: str)
mcts_math/agents/utils.py:110
Functionreact_sft_prompt_wrap
( question: str, partial_solution: str, config, )
mcts_math/agents/utils.py:95
Functionreact_sft_step_result_unwrap
( text: str, final_answer_action: str = FINAL_ANSWER_ACTION, )
mcts_math/agents/utils.py:114
Functionreact_step_result_unwrap
( text: str, final_answer_action: str = FINAL_ANSWER_ACTION, action: str = ACTION, action_inpu
mcts_math/agents/utils.py:56
Methodreturn_states
(self)
mcts_math/agents/tree.py:121
Methodreturn_states
(self)
mcts_math/agents/step_beam.py:167
Functionserver_generator
( prompts: List[str], engine: Any, )
mcts_math/llms/local_llms.py:36
Methodshould_generate_next
(self)
mcts_math/agents/step_beam.py:66
Methodupdate_visit_count
(self, count: int)
mcts_math/nodes/mcts_node.py:31
Methodvalidate_config
(cls, cfg: Any)
mcts_math/solver.py:83
Methodvalidate_config
(cls, cfg: Any)
mcts_math/react_batch.py:42
Methodvalidate_config
(cls, cfg: Any)
mcts_math/agents/react.py:53
Methodvalidate_config
(cls, cfg: Any)
mcts_math/agents/tree.py:81
Methodvalidate_config
(cls, cfg: Any)
mcts_math/agents/mcts.py:41
Methodvalidate_config
(cls, cfg: Any)
mcts_math/agents/step_beam.py:49
Methodvalidate_python_version
Validate valid python version.
mcts_math/tools/python_tool.py:118
← previous101–137 of 137, ranked by callers