Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MARIO-Math-Reasoning/Super_MARIO
/ functions
Functions
137 in github.com/MARIO-Math-Reasoning/Super_MARIO
⨍
Functions
137
◇
Types & classes
17
Method
_sub_run
(bodys)
mcts_math/tools/python_tool.py:133
Function
_tool
(query)
mcts_math/agents/tree.py:28
Function
asyn_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
Method
base_run
(query: str)
mcts_math/tools/python_tool.py:177
Method
compute_logits
(self, hidden_states: torch.Tensor, sampling_metadata: SamplingMetadata)
scripts/modeling_value_head.py:180
Method
create_llm
(self)
mcts_math/agents/react.py:69
Method
create_llm
(self)
mcts_math/agents/step_beam.py:59
Method
create_prompt
if is_value_only, the prompt is used to produce value estimate.
mcts_math/agents/step_beam.py:74
Method
forward
(self, hidden_states)
scripts/modeling_value_head.py:56
Method
forward
( self, input_ids: torch.Tensor, positions: torch.Tensor, kv_caches: List[KVCa
scripts/modeling_value_head.py:163
Method
generate
generate as a linked list root -> x -> y -> z
mcts_math/agents/react.py:98
Method
generate
subclass must implement
mcts_math/agents/tree.py:107
Method
generate_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
Method
is_root
(self)
mcts_math/nodes/base_node.py:36
Method
load_weights
(self, model_name_or_path: str, cache_dir: Optional[str] = None,
scripts/modeling_value_head.py:146
Function
local_generator
( prompts: List[str], sampling_params: SamplingParams, engine: LLM, )
mcts_math/llms/local_llms.py:53
Function
local_vllm
This one is not for batch inference.
mcts_math/llms/local_llms.py:10
Method
processor
(solver: BaseTree, output: List[RequestOutput])
mcts_math/solver.py:104
Method
processor
(solver: REACT, output: RequestOutput)
mcts_math/react_batch.py:74
Function
react_obs_wrap
(observation: str)
mcts_math/agents/utils.py:52
Function
react_prompt_wrap
( question: str, partial_solution: str, config, )
mcts_math/agents/utils.py:26
Function
react_sft_obs_wrap
(observation: str)
mcts_math/agents/utils.py:110
Function
react_sft_prompt_wrap
( question: str, partial_solution: str, config, )
mcts_math/agents/utils.py:95
Function
react_sft_step_result_unwrap
( text: str, final_answer_action: str = FINAL_ANSWER_ACTION, )
mcts_math/agents/utils.py:114
Function
react_step_result_unwrap
( text: str, final_answer_action: str = FINAL_ANSWER_ACTION, action: str = ACTION, action_inpu
mcts_math/agents/utils.py:56
Method
return_states
(self)
mcts_math/agents/tree.py:121
Method
return_states
(self)
mcts_math/agents/step_beam.py:167
Function
server_generator
( prompts: List[str], engine: Any, )
mcts_math/llms/local_llms.py:36
Method
should_generate_next
(self)
mcts_math/agents/step_beam.py:66
Method
update_visit_count
(self, count: int)
mcts_math/nodes/mcts_node.py:31
Method
validate_config
(cls, cfg: Any)
mcts_math/solver.py:83
Method
validate_config
(cls, cfg: Any)
mcts_math/react_batch.py:42
Method
validate_config
(cls, cfg: Any)
mcts_math/agents/react.py:53
Method
validate_config
(cls, cfg: Any)
mcts_math/agents/tree.py:81
Method
validate_config
(cls, cfg: Any)
mcts_math/agents/mcts.py:41
Method
validate_config
(cls, cfg: Any)
mcts_math/agents/step_beam.py:49
Method
validate_python_version
Validate valid python version.
mcts_math/tools/python_tool.py:118
← previous
101–137 of 137, ranked by callers