Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PRIME-RL/PRIME
/ functions
Functions
2,604 in github.com/PRIME-RL/PRIME
⨍
Functions
2,604
◇
Types & classes
287
↳
Endpoints
32
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:4167
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:4221
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:4300
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:4400
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:4493
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:4550
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:4622
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:4693
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:4840
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:4891
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:4990
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:5053
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:5108
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:5176
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:5344
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:5824
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:5885
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:5981
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:6051
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:6087
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:6129
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:6181
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:6232
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:6309
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:6372
Method
exitRule
(self, listener)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:6423
Method
exp
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:2422
Method
exp
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:2783
Method
exp_nofunc
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:2475
Method
exp_nofunc
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:2889
Method
exp_nofunc_sempred
(self, localctx, predIndex)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:6484
Method
exp_sempred
(self, localctx, predIndex)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:6480
Method
expr
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:1017
Method
expr
(self, i=None)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:1487
Method
expr
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:1545
Method
expr
(self, i=None)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:1897
Method
expr
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:2659
Method
expr
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:2724
Method
expr
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:2795
Method
expr
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:2901
Method
expr
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:3250
Method
expr
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:3609
Method
expr
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:3701
Method
expr
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:3878
Method
expr
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:4014
Method
expr
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:4157
Method
expr
(self, i=None)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:4609
Method
expr
(self, i=None)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:4677
Method
expr
(self, i=None)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:5310
Method
expr
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:5808
Method
expr
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:5869
Method
expr
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:5947
Method
expr
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:6041
Method
expr
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:6113
Method
expr
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:6219
Method
expr
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:6296
Function
extract_answer
Extract Answer String from \\boxed expression.
eval/utils/grader.py:346
Function
extract_answer
Extract Answer String from \\boxed expression.
data_preprocessing/math_util/grader.py:346
Function
extract_answer_hf
(completion)
eval/Math/aime/evaluate_aime.py:137
Function
extract_answer_hf
(completion)
eval/Math/amc/evaluate_amc.py:143
Function
extract_answer_hf
(completion)
eval/Math/math/evaluate_math.py:131
Function
extract_code
(model_output: str, lmstyle: LMStyle)
eval/Coding/livecodebench/LiveCodeBench-main/lcb_runner/prompts/self_repair.py:310
Function
extract_multi_choice_answer
(pred_str)
eval/Math/Qwen25-Math/evaluation/parser.py:353
Function
extract_pg_from_exist
(resource_pools: Dict[str, RayResourcePool], src_role_names: List[str], resource_poo
training/verl/single_controller/ray/base.py:91
Method
extract_status_and_steps
(response: str)
data_preprocessing/stage4_judge.py:207
Function
extract_step
(path)
training/verl/trainer/fsdp_sft_trainer.py:51
Function
extract_theoremqa_answer
(pred: str, answer_flag: bool = True)
eval/Math/Qwen25-Math/evaluation/parser.py:459
Method
fit
The training loop of PPO. The driver process only need to call the compute functions of the worker group through RPC to construct the
training/verl/trainer/ppo/ray_trainer.py:920
Method
floor_group
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:3001
Method
floor_group
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:3133
Function
format_prompt_execution
(question, LanguageModelStyle)
eval/Coding/livecodebench/LiveCodeBench-main/lcb_runner/prompts/code_execution.py:68
Function
format_prompt_execution_cot
(question, LanguageModelStyle)
eval/Coding/livecodebench/LiveCodeBench-main/lcb_runner/prompts/code_execution.py:72
Function
format_prompt_test_output
( question: TestOutputPredictionProblem, LanguageModelStyle: LMStyle )
eval/Coding/livecodebench/LiveCodeBench-main/lcb_runner/prompts/test_output_prediction.py:159
Function
forward
( self, embedding: torch.Tensor, hidden_states: torch.Tensor, sampling_metadata: SamplingMetad
training/verl/third_party/vllm/vllm_v_0_3_1/model_loader.py:206
Method
forward
(self, *args, **kwargs)
training/verl/utils/model.py:34
Method
forward
(ctx, vocab_parallel_logits: torch.Tensor)
training/verl/utils/megatron/tensor_parallel.py:103
Method
forward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
training/verl/models/llama/megatron/modeling_llama_megatron.py:175
Method
forward
Args: input_ids: input ids. shape (1, totol_nnz) position_ids: position ids. shape (batch_size, seq_length)
training/verl/models/llama/megatron/modeling_llama_megatron.py:241
Method
forward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
training/verl/models/llama/megatron/modeling_llama_megatron.py:309
Method
forward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
training/verl/models/llama/megatron/modeling_llama_megatron.py:385
Method
forward
Args: input_ids: input ids. shape (1, totol_nnz) position_ids: position ids. shape (batch_size, seq_length)
training/verl/models/llama/megatron/modeling_llama_megatron.py:468
Method
forward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
training/verl/models/llama/megatron/modeling_llama_megatron.py:567
Method
forward
( self, *, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.
training/verl/models/llama/megatron/modeling_llama_megatron.py:651
Method
forward
Args: hidden_states (`torch.FloatTensor`): input to the layer of shape `(batch, seq_len, embed_dim)` attention_mask (
training/verl/models/llama/megatron/layers/parallel_decoder.py:44
Method
forward
( self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] = None,
training/verl/models/llama/megatron/layers/parallel_decoder.py:112
Method
forward
(self, x)
training/verl/models/llama/megatron/layers/parallel_mlp.py:71
Method
forward
(self, x, seq_len=None)
training/verl/models/llama/megatron/layers/parallel_attention.py:61
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
training/verl/models/llama/megatron/layers/parallel_attention.py:234
Method
forward
(self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] =
training/verl/models/llama/megatron/layers/parallel_attention.py:340
Method
forward
(self, hidden_states)
training/verl/models/llama/megatron/layers/parallel_rmsnorm.py:41
Method
forward_step
(batch_iter, model)
training/verl/workers/critic/megatron_critic.py:165
Method
forward_step
(batch_iter, model)
training/verl/workers/actor/megatron_actor.py:286
Method
forward_step
(batch_iter, model)
training/verl/workers/reward_model/megatron/reward_model.py:222
Method
frac
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:3013
Method
frac
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:3142
Method
frac
(self)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:5295
Method
free_cache_engine
(self)
training/verl/third_party/vllm/vllm_v_0_3_1/llm_engine_sp.py:218
Method
free_cache_engine
(self)
training/verl/third_party/vllm/vllm_v_0_3_1/worker.py:176
Method
free_cache_engine
(self)
training/verl/third_party/vllm/vllm_v_0_6_3/llm.py:148
Method
free_cache_engine
(self)
training/verl/third_party/vllm/vllm_v_0_6_3/llm_engine_sp.py:349
← previous
next →
1,901–2,000 of 2,604, ranked by callers