PRIME
Scalable RL solution for advanced reasoning of language models
파일 탐색기
최종 버전 다운로드 (.zip)- __init__.py
- grader.py
- math_normalize.py
- README.md
- sft_prompt.py
- stage1_filter.py
- stage2_format_choice.py
- stage3_merge.py
- stage4_judge.py
- evaluate_human_eval.py
- evaluate_leetcode.py
- contamination1.png
- contamination2.png
- lc_barchart.png
- lcb.png
- lcb_vs_he.png
- tasks_radar.png
- __init__.py
- code_execution.py
- code_generation.py
- test_output_prediction.py
- __init__.py
- compute_code_execution_metrics.py
- compute_code_generation_metrics.py
- compute_scores.py
- compute_test_output_prediction_metrics.py
- old_results_check.py
- pass_k_utils.py
- testing_util.py
- utils_execute.py
- func.json
- stdin.json
- __init__.py
- code_execution.py
- code_generation.py
- self_repair.py
- test_output_prediction.py
- base_runner.py
- claude3_runner.py
- claude_runner.py
- cohere_runner.py
- custom_evaluator.py
- deepseek_runner.py
- gemini_runner.py
- main.py
- mistral_runner.py
- oai_runner.py
- parser.py
- runner_utils.py
- scenario_router.py
- vllm_runner.py
- extraction_utils.py
- multiprocess.py
- path_utils.py
- scenarios.py
- lm_styles.py
- .gitignore
- ERRATA.md
- lcb_sky.yml
- LICENSE
- poetry.lock
- pyproject.toml
- README.md
- evaluate_mbpp.py
- aimo-validation-aime.jsonl
- aimo-validation-amc.jsonl
- test.jsonl
- test.jsonl
- HumanEval.jsonl.gz
- leetcode-test.json
- math_test_cleaned.json
- new_mbpp.json
- test.jsonl
- test.jsonl
- evaluate_aime.py
- evaluate_amc.py
- evaluate_math.py
- __init__.py
- PS.interp
- PS.tokens
- PSLexer.interp
- PSLexer.py
- PSLexer.tokens
- PSListener.py
- PSParser.py
- linalg_equations.py
- linalg_span.py
- matrix.py
- matrix_placeholders.py
- sandbox.py
- sandbox_equality.py
- sectan.py
- vector.py
- compile.sh
- coverage-ci.sh
- coverage.sh
- pre-commit
- pre-push
- publish.sh
- setup-hooks.sh
- setup.sh
- test.sh
- __init__.py
- abs_test.py
- all_bad_test.py
- all_good_test.py
- atom_expr_test.py
- binomial_test.py
- ceil_test.py
- complex_test.py
- context.py
- exp_test.py
- floor_test.py
- gcd_test.py
- greek_test.py
- grouping_test.py
- lcm_test.py
- left_right_cdot_test.py
- linalg_test.py
- max_test.py
- min_test.py
- mod_test.py
- overline_test.py
- pi_test.py
- trig_test.py
- variable_test.py
- .coveragerc
- .gitignore
- __init__.py
- antlr-4.11.1-complete.jar
- asciimath_printer.py
- description.txt
- dev-requirements.in
- dev-requirements.txt
- icon.png
- latex2sympy2.py
- LICENSE.txt
- PS.g4
- README.md
- requirements.in
- requirements.txt
- setup.cfg
- setup.py
- eval.sh
- run_eval_qwen2_math.sh
- data_loader.py
- evaluate.py
- examples.py
- grader.py
- LICENSE
- math_eval.py
- math_utils.py
- model_utils.py
- parser.py
- python_executor.py
- README.md
- requirements.txt
- rm_maj_eval.py
- run.sh
- trajectory.py
- utils.py
- README.md
- data.py
- evaluation.py
- evaluation_leetcode.py
- execution.py
- execution_leetcode.py
- grader.py
- math_equivalence.py
- python_interpreter.py
- util.py
- README.md
- requirements_lcb.txt
- requirements_prime.txt
- requirements_qwen_math.txt
- run.sh
- system_prompt.md
- performance.png
- prime-algo.png
- prm.gif
- run_prime_main.sh
- data_prepare.py
- __init__.py
- llama_loader.py
- llama_saver.py
- __init__.py
- parallel_attention.py
- parallel_decoder.py
- parallel_linear.py
- parallel_mlp.py
- parallel_rmsnorm.py
- __init__.py
- modeling_llama_megatron.py
- __init__.py
- __init__.py
- README.md
- registry.py
- weight_loader_registry.py
- __init__.py
- worker.py
- worker_group.py
- __init__.py
- ray.py
- __init__.py
- decorator.py
- dp.py
- worker.py
- worker_group.py
- __init__.py
- base.py
- decorator.py
- dist_data_pass_protocol.py
- dp.py
- megatron.py
- version
- __init__.py
- __init__.py
- arg_utils.py
- config.py
- llm.py
- llm_engine_sp.py
- model_loader.py
- model_runner.py
- parallel_state.py
- tokenizer.py
- weight_loaders.py
- worker.py
- __init__.py
- arg_utils.py
- config.py
- dtensor_weight_loaders.py
- hf_weight_loader.py
- llm.py
- llm_engine_sp.py
- megatron_weight_loaders.py
- model_loader.py
- model_runner.py
- parallel_state.py
- spmd_gpu_executor.py
- tokenizer.py
- worker.py
- __init__.py
- arg_utils.py
- config.py
- dtensor_weight_loaders.py
- hf_weight_loader.py
- llm.py
- llm_engine_sp.py
- megatron_weight_loaders.py
- model_loader.py
- model_runner.py
- parallel_state.py
- spmd_gpu_executor.py
- tokenizer.py
- worker.py
- __init__.py
- arg_utils.py
- config.py
- dtensor_weight_loaders.py
- hf_weight_loader.py
- llm.py
- llm_engine_sp.py
- megatron_weight_loaders.py
- model_loader.py
- model_runner.py
- parallel_state.py
- spmd_gpu_executor.py
- tokenizer.py
- worker.py
- __init__.py
- __init__.py
- evaluation.yaml
- generation.yaml
- ppo_megatron_trainer.yaml
- ppo_trainer.yaml
- sft_trainer.yaml
- __init__.py
- core_algos.py
- ray_trainer.py
- __init__.py
- fsdp_sft_trainer.py
- main_eval.py
- main_generation.py
- main_ppo.py
- runtime_env.yaml
- __init__.py
- README.md
- rl_dataset.py
- rm_dataset.py
- sft_dataset.py
- __init__.py
- performance.py
- trajectory_tracker.py
- __init__.py
- aggregate_logger.py
- __init__.py
- memory.py
- optimizer.py
- optimizer_config.py
- pipeline_parallel.py
- sequence_parallel.py
- tensor_parallel.py
- __init__.py
- ray_backend.py
- __init__.py
- testing_util.py
- utils.py
- __init__.py
- grader.py
- math_normalize.py
- __init__.py
- gsm8k.py
- math.py
- prime.py
- __init__.py
- config.py
- distributed.py
- fs.py
- fsdp_utils.py
- hdfs_io.py
- import_utils.py
- logging_utils.py
- megatron_utils.py
- memory_buffer.py
- model.py
- py_functional.py
- ray_utils.py
- tokenizer.py
- torch_dtypes.py
- torch_functional.py
- tracking.py
- version
- __init__.py
- base.py
- dp_actor.py
- dp_prime.py
- megatron_actor.py
- __init__.py
- base.py
- dp_critic.py
- megatron_critic.py
- __init__.py
- base.py
- fsdp_vllm.py
- megatron_vllm.py
- __init__.py
- reward_model.py
- __init__.py
- base.py
- __init__.py
- naive_rollout.py
- __init__.py
- vllm_rollout.py
- __init__.py
- base.py
- hf_rollout.py
- tokenizer.py
- __init__.py
- fsdp_workers.py
- megatron_workers.py
- __init__.py
- protocol.py
- README.md
- requirements.txt
- setup.py
- .gitignore
- LICENSE
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/PRIME-RL/PRIME
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd PRIME
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Python
쉬움 추천사전 준비물
pip install -r eval/Math/Qwen25-Math/evaluation/latex2sympy/requirements.txt
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
python <실행할 파일명>.py # README에서 정확한 실행 파일명을 확인하세요
파이썬 스크립트(또는 모듈)를 실행합니다.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
// repository documentation
Was this content helpful?
(0 ratings)
