├── .gitignore ├── LICENSE ├── README.md ├── index.html ├── src ├── envs │ ├── MATH │ │ ├── __init__.py │ │ ├── data.py │ │ ├── dataset │ │ │ ├── test500.jsonl │ │ │ ├── test_aime.jsonl │ │ │ └── test_amc.jsonl │ │ ├── env.py │ │ ├── grader.py │ │ ├── latex2sympy │ │ │ ├── .coveragerc │ │ │ ├── .gitignore │ │ │ ├── LICENSE.txt │ │ │ ├── PS.g4 │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── antlr-4.11.1-complete.jar │ │ │ ├── asciimath_printer.py │ │ │ ├── description.txt │ │ │ ├── dev-requirements.in │ │ │ ├── dev-requirements.txt │ │ │ ├── gen │ │ │ │ ├── PS.interp │ │ │ │ ├── PS.tokens │ │ │ │ ├── PSLexer.interp │ │ │ │ ├── PSLexer.py │ │ │ │ ├── PSLexer.tokens │ │ │ │ ├── PSListener.py │ │ │ │ ├── PSParser.py │ │ │ │ └── __init__.py │ │ │ ├── icon.png │ │ │ ├── latex2sympy2.py │ │ │ ├── requirements.in │ │ │ ├── requirements.txt │ │ │ ├── sandbox │ │ │ │ ├── linalg_equations.py │ │ │ │ ├── linalg_span.py │ │ │ │ ├── matrix.py │ │ │ │ ├── matrix_placeholders.py │ │ │ │ ├── sandbox.py │ │ │ │ ├── sandbox_equality.py │ │ │ │ ├── sectan.py │ │ │ │ └── vector.py │ │ │ ├── scripts │ │ │ │ ├── compile.sh │ │ │ │ ├── coverage-ci.sh │ │ │ │ ├── coverage.sh │ │ │ │ ├── pre-commit │ │ │ │ ├── pre-push │ │ │ │ ├── publish.sh │ │ │ │ ├── setup-hooks.sh │ │ │ │ ├── setup.sh │ │ │ │ └── test.sh │ │ │ ├── setup.cfg │ │ │ ├── setup.py │ │ │ └── tests │ │ │ │ ├── __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 │ │ ├── parse_utils_qwen.py │ │ ├── prompt.py │ │ └── verify_utils.py │ ├── __init__.py │ └── base_env.py ├── reason │ ├── evaluation │ │ ├── evaluate.py │ │ ├── evaluator.py │ │ └── methods.py │ ├── guided_search │ │ └── tree.py │ ├── inference │ │ ├── infer_fns.py │ │ ├── lm_call.py │ │ ├── rm_call.py │ │ └── text_generation.py │ ├── llm_service │ │ ├── README.md │ │ └── workers │ │ │ ├── Process_Q_Model │ │ │ └── value_model.py │ │ │ ├── base_model_worker.py │ │ │ ├── inference.py │ │ │ ├── model_worker.py │ │ │ ├── reward_model_worker.py │ │ │ ├── skywork_o1_prm_inference │ │ │ ├── io_utils.py │ │ │ ├── modeling_base.py │ │ │ └── prm_model.py │ │ │ └── vllm_worker.py │ └── reranking │ │ └── vote_utils.py ├── requirements.txt ├── scripts │ ├── run.sh │ ├── serve_gpu1.sh │ ├── serve_gpu2.sh │ ├── serve_gpu3_1-2.sh │ ├── serve_gpu3_2-1.sh │ └── serve_gpu4.sh └── utils.py └── static ├── css ├── bulma-carousel.min.css ├── bulma-slider.min.css ├── bulma.css.map.txt ├── bulma.min.css ├── fontawesome.all.min.css └── index.css ├── images ├── MATH_co_abs.png ├── cot_vs_majority_vs_co.png ├── long-cot.png ├── small_vs_large.png ├── small_vs_large_FLOPS.png └── tts_method.png └── js ├── bulma-carousel.js ├── bulma-carousel.min.js ├── bulma-slider.js ├── bulma-slider.min.js ├── fontawesome.all.min.js └── index.js /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.idea 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/README.md -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/index.html -------------------------------------------------------------------------------- /src/envs/MATH/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/__init__.py -------------------------------------------------------------------------------- /src/envs/MATH/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/data.py -------------------------------------------------------------------------------- /src/envs/MATH/dataset/test500.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/dataset/test500.jsonl -------------------------------------------------------------------------------- /src/envs/MATH/dataset/test_aime.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/dataset/test_aime.jsonl -------------------------------------------------------------------------------- /src/envs/MATH/dataset/test_amc.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/dataset/test_amc.jsonl -------------------------------------------------------------------------------- /src/envs/MATH/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/env.py -------------------------------------------------------------------------------- /src/envs/MATH/grader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/grader.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/.coveragerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/.coveragerc -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/.gitignore -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/LICENSE.txt -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/PS.g4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/PS.g4 -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/README.md -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/__init__.py: -------------------------------------------------------------------------------- 1 | import latex2sympy -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/antlr-4.11.1-complete.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/antlr-4.11.1-complete.jar -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/asciimath_printer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/asciimath_printer.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/description.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/description.txt -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/dev-requirements.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/dev-requirements.in -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/dev-requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/dev-requirements.txt -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/gen/PS.interp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/gen/PS.interp -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/gen/PS.tokens: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/gen/PS.tokens -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/gen/PSLexer.interp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/gen/PSLexer.interp -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/gen/PSLexer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/gen/PSLexer.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/gen/PSLexer.tokens: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/gen/PSLexer.tokens -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/gen/PSListener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/gen/PSListener.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/gen/PSParser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/gen/PSParser.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/gen/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/icon.png -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/latex2sympy2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/latex2sympy2.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/requirements.in: -------------------------------------------------------------------------------- 1 | sympy 2 | antlr4-python3-runtime 3 | -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/requirements.txt -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/sandbox/linalg_equations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/sandbox/linalg_equations.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/sandbox/linalg_span.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/sandbox/linalg_span.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/sandbox/matrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/sandbox/matrix.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/sandbox/matrix_placeholders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/sandbox/matrix_placeholders.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/sandbox/sandbox.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/sandbox/sandbox.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/sandbox/sandbox_equality.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/sandbox/sandbox_equality.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/sandbox/sectan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/sandbox/sectan.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/sandbox/vector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/sandbox/vector.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/scripts/compile.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/scripts/compile.sh -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/scripts/coverage-ci.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/scripts/coverage-ci.sh -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/scripts/coverage.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/scripts/coverage.sh -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/scripts/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/scripts/pre-commit -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/scripts/pre-push: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/scripts/pre-push -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/scripts/publish.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/scripts/publish.sh -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/scripts/setup-hooks.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/scripts/setup-hooks.sh -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/scripts/setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/scripts/setup.sh -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/scripts/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/scripts/test.sh -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/setup.cfg: -------------------------------------------------------------------------------- 1 | [pycodestyle] 2 | max-line-length = 120 3 | ignore = E501 4 | -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/setup.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/abs_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/abs_test.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/all_bad_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/all_bad_test.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/all_good_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/all_good_test.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/atom_expr_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/atom_expr_test.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/binomial_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/binomial_test.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/ceil_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/ceil_test.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/complex_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/complex_test.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/context.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/exp_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/exp_test.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/floor_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/floor_test.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/gcd_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/gcd_test.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/greek_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/greek_test.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/grouping_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/grouping_test.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/lcm_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/lcm_test.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/left_right_cdot_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/left_right_cdot_test.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/linalg_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/linalg_test.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/max_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/max_test.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/min_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/min_test.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/mod_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/mod_test.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/overline_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/overline_test.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/pi_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/pi_test.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/trig_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/trig_test.py -------------------------------------------------------------------------------- /src/envs/MATH/latex2sympy/tests/variable_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/latex2sympy/tests/variable_test.py -------------------------------------------------------------------------------- /src/envs/MATH/parse_utils_qwen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/parse_utils_qwen.py -------------------------------------------------------------------------------- /src/envs/MATH/prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/prompt.py -------------------------------------------------------------------------------- /src/envs/MATH/verify_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/MATH/verify_utils.py -------------------------------------------------------------------------------- /src/envs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/__init__.py -------------------------------------------------------------------------------- /src/envs/base_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/envs/base_env.py -------------------------------------------------------------------------------- /src/reason/evaluation/evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/reason/evaluation/evaluate.py -------------------------------------------------------------------------------- /src/reason/evaluation/evaluator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/reason/evaluation/evaluator.py -------------------------------------------------------------------------------- /src/reason/evaluation/methods.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/reason/evaluation/methods.py -------------------------------------------------------------------------------- /src/reason/guided_search/tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/reason/guided_search/tree.py -------------------------------------------------------------------------------- /src/reason/inference/infer_fns.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/reason/inference/infer_fns.py -------------------------------------------------------------------------------- /src/reason/inference/lm_call.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/reason/inference/lm_call.py -------------------------------------------------------------------------------- /src/reason/inference/rm_call.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/reason/inference/rm_call.py -------------------------------------------------------------------------------- /src/reason/inference/text_generation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/reason/inference/text_generation.py -------------------------------------------------------------------------------- /src/reason/llm_service/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/reason/llm_service/README.md -------------------------------------------------------------------------------- /src/reason/llm_service/workers/Process_Q_Model/value_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/reason/llm_service/workers/Process_Q_Model/value_model.py -------------------------------------------------------------------------------- /src/reason/llm_service/workers/base_model_worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/reason/llm_service/workers/base_model_worker.py -------------------------------------------------------------------------------- /src/reason/llm_service/workers/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/reason/llm_service/workers/inference.py -------------------------------------------------------------------------------- /src/reason/llm_service/workers/model_worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/reason/llm_service/workers/model_worker.py -------------------------------------------------------------------------------- /src/reason/llm_service/workers/reward_model_worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/reason/llm_service/workers/reward_model_worker.py -------------------------------------------------------------------------------- /src/reason/llm_service/workers/skywork_o1_prm_inference/io_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/reason/llm_service/workers/skywork_o1_prm_inference/io_utils.py -------------------------------------------------------------------------------- /src/reason/llm_service/workers/skywork_o1_prm_inference/modeling_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/reason/llm_service/workers/skywork_o1_prm_inference/modeling_base.py -------------------------------------------------------------------------------- /src/reason/llm_service/workers/skywork_o1_prm_inference/prm_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/reason/llm_service/workers/skywork_o1_prm_inference/prm_model.py -------------------------------------------------------------------------------- /src/reason/llm_service/workers/vllm_worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/reason/llm_service/workers/vllm_worker.py -------------------------------------------------------------------------------- /src/reason/reranking/vote_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/reason/reranking/vote_utils.py -------------------------------------------------------------------------------- /src/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/requirements.txt -------------------------------------------------------------------------------- /src/scripts/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/scripts/run.sh -------------------------------------------------------------------------------- /src/scripts/serve_gpu1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/scripts/serve_gpu1.sh -------------------------------------------------------------------------------- /src/scripts/serve_gpu2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/scripts/serve_gpu2.sh -------------------------------------------------------------------------------- /src/scripts/serve_gpu3_1-2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/scripts/serve_gpu3_1-2.sh -------------------------------------------------------------------------------- /src/scripts/serve_gpu3_2-1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/scripts/serve_gpu3_2-1.sh -------------------------------------------------------------------------------- /src/scripts/serve_gpu4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/scripts/serve_gpu4.sh -------------------------------------------------------------------------------- /src/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/src/utils.py -------------------------------------------------------------------------------- /static/css/bulma-carousel.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/static/css/bulma-carousel.min.css -------------------------------------------------------------------------------- /static/css/bulma-slider.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/static/css/bulma-slider.min.css -------------------------------------------------------------------------------- /static/css/bulma.css.map.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/static/css/bulma.css.map.txt -------------------------------------------------------------------------------- /static/css/bulma.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/static/css/bulma.min.css -------------------------------------------------------------------------------- /static/css/fontawesome.all.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/static/css/fontawesome.all.min.css -------------------------------------------------------------------------------- /static/css/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/static/css/index.css -------------------------------------------------------------------------------- /static/images/MATH_co_abs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/static/images/MATH_co_abs.png -------------------------------------------------------------------------------- /static/images/cot_vs_majority_vs_co.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/static/images/cot_vs_majority_vs_co.png -------------------------------------------------------------------------------- /static/images/long-cot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/static/images/long-cot.png -------------------------------------------------------------------------------- /static/images/small_vs_large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/static/images/small_vs_large.png -------------------------------------------------------------------------------- /static/images/small_vs_large_FLOPS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/static/images/small_vs_large_FLOPS.png -------------------------------------------------------------------------------- /static/images/tts_method.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/static/images/tts_method.png -------------------------------------------------------------------------------- /static/js/bulma-carousel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/static/js/bulma-carousel.js -------------------------------------------------------------------------------- /static/js/bulma-carousel.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/static/js/bulma-carousel.min.js -------------------------------------------------------------------------------- /static/js/bulma-slider.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/static/js/bulma-slider.js -------------------------------------------------------------------------------- /static/js/bulma-slider.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/static/js/bulma-slider.min.js -------------------------------------------------------------------------------- /static/js/fontawesome.all.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/static/js/fontawesome.all.min.js -------------------------------------------------------------------------------- /static/js/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RyanLiu112/compute-optimal-tts/HEAD/static/js/index.js --------------------------------------------------------------------------------