├── .gitignore ├── .gitmodules ├── LICENSE ├── MANIFEST.in ├── README.md ├── assets ├── Reasoners.pdf ├── figure2_reasoners_v5.png ├── goal.png ├── mcts_animation.gif └── reasoners_icon.png ├── autorace ├── EXAMPLE_WRONG_CHAINS_AQUA.txt.txt ├── README.md ├── autorace.py ├── data │ └── eval_model │ │ ├── cosmos.jsonl │ │ ├── gsm8k.jsonl │ │ ├── logical_deduction.jsonl │ │ ├── multistep_arithmetic.jsonl │ │ ├── strategyqa.jsonl │ │ └── word_sorting.jsonl └── prompt.json ├── demo.ipynb ├── examples ├── COLD-Attack │ ├── README.md │ ├── assets │ │ └── COLD_attack_diagram.png │ ├── bleuloss.py │ ├── data │ │ ├── MaliciousInstruct.txt │ │ ├── advbench.txt │ │ └── advbench │ │ │ ├── harmful_behaviors.csv │ │ │ └── harmful_behaviors_custom.csv │ ├── inference.py │ ├── opt_util.py │ ├── search_config.py │ ├── task.py │ └── util.py ├── CoT │ ├── AQuA │ │ ├── README.md │ │ ├── data │ │ │ ├── CONTRIBUTING │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── dev.json │ │ │ ├── test.json │ │ │ └── train.json │ │ ├── inference.py │ │ ├── prompts │ │ │ └── cot.json │ │ └── utils.py │ ├── blocksworld │ │ ├── README.md │ │ ├── aggregate.py │ │ ├── cot_inference.py │ │ ├── data │ │ │ ├── bw_basic.json │ │ │ ├── bw_basic_sup.json │ │ │ ├── bw_config.yaml │ │ │ ├── full_data │ │ │ │ ├── step_10.json │ │ │ │ ├── step_12.json │ │ │ │ ├── step_14.json │ │ │ │ ├── step_16.json │ │ │ │ ├── step_2.json │ │ │ │ ├── step_4.json │ │ │ │ ├── step_6.json │ │ │ │ └── step_8.json │ │ │ ├── generated_domain.pddl │ │ │ ├── split_v1 │ │ │ │ ├── split_v1_step_10_data.json │ │ │ │ ├── split_v1_step_12_data.json │ │ │ │ ├── split_v1_step_2_data.json │ │ │ │ ├── split_v1_step_4_data.json │ │ │ │ ├── split_v1_step_6_data.json │ │ │ │ └── split_v1_step_8_data.json │ │ │ └── split_v2 │ │ │ │ ├── split_v2_step_10_data.json │ │ │ │ ├── split_v2_step_12_data.json │ │ │ │ ├── split_v2_step_2_data.json │ │ │ │ ├── split_v2_step_4_data.json │ │ │ │ ├── split_v2_step_6_data.json │ │ │ │ └── split_v2_step_8_data.json │ │ ├── prompts │ │ │ ├── pool_prompt.json │ │ │ ├── pool_prompt_v0.json │ │ │ ├── pool_prompt_v1.json │ │ │ ├── pool_prompt_v2_step_10.json │ │ │ ├── pool_prompt_v2_step_12.json │ │ │ ├── pool_prompt_v2_step_2.json │ │ │ ├── pool_prompt_v2_step_4.json │ │ │ ├── pool_prompt_v2_step_6.json │ │ │ ├── pool_prompt_v2_step_8.json │ │ │ └── prompt.json │ │ ├── search_config.py │ │ ├── test_cot_llama3.sh │ │ ├── test_cot_mistral.sh │ │ └── world_model.py │ ├── gsm8k │ │ ├── README.md │ │ ├── inference.py │ │ ├── prompts │ │ │ └── cot.json │ │ └── utils.py │ ├── prontoqa │ │ ├── README.md │ │ ├── cot_inference.py │ │ ├── data │ │ │ ├── 345hop_random_true.json │ │ │ ├── create_example_pool.py │ │ │ ├── create_next_step_example.py │ │ │ ├── example_next_steps.json │ │ │ └── example_pool.json │ │ ├── dataset.py │ │ ├── prompts │ │ │ ├── finish.py │ │ │ ├── next_step.py │ │ │ ├── next_step_shibo.py │ │ │ ├── output.py │ │ │ ├── transition.py │ │ │ ├── valid_rap.py │ │ │ └── valid_tot.py │ │ ├── search_config.py │ │ └── world_model.py │ └── strategyQA │ │ ├── README.md │ │ ├── data │ │ ├── strategyqa_test-ori.json │ │ ├── strategyqa_test.json │ │ ├── strategyqa_train.json │ │ ├── strategyqa_train_filtered.json │ │ └── strategyqa_train_paragraphs.json │ │ ├── inference.py │ │ ├── prompt.json │ │ └── utils.py ├── DRPO │ ├── README.md │ ├── config.py │ ├── data │ │ ├── ICL_optimization │ │ │ └── out_16_5.json │ │ ├── alpaca_train.json │ │ ├── icl_metrics_cache.json │ │ ├── lima_subsample_train.json │ │ ├── mal_train.txt │ │ ├── metrics_cache.json │ │ └── queries_resp_train.json │ ├── icl_opti_prompts.py │ ├── imgs │ │ └── visualization.png │ ├── log_format.py │ ├── models │ │ ├── __init__.py │ │ ├── openai_model.py │ │ └── vllm_model.py │ ├── offline_icl_opti.py │ ├── prompt.py │ ├── search_algo │ │ ├── __init__.py │ │ └── beam_search.py │ ├── search_config.py │ ├── train.py │ ├── utils.py │ ├── visualize_log.py │ └── world_model.py ├── Eurus │ ├── README.md │ └── inference.py ├── Grace │ └── gsm8k │ │ ├── README.md │ │ ├── __init__.py │ │ ├── constants.py │ │ ├── data_utils │ │ ├── __init__.py │ │ ├── datasets.py │ │ ├── discriminator_dataset.py │ │ ├── utils.py │ │ └── verifier_dataset.py │ │ ├── flan_t5.py │ │ ├── grace_utils │ │ ├── __init__.py │ │ ├── alignment_utils.py │ │ ├── args.py │ │ ├── discriminator_trainer.py │ │ ├── electra_discriminator.py │ │ ├── reason.py │ │ ├── sampling_utils.py │ │ └── t5_discriminator.py │ │ ├── gsm8k │ │ ├── demos.jsonl.sampling │ │ └── train.jsonl.sample │ │ ├── inference.py │ │ ├── search_config.py │ │ ├── test.py │ │ ├── utils.py │ │ └── world_model.py ├── Inference-Scaling-SGL │ └── math500 │ │ ├── README.md │ │ ├── prompts.json │ │ ├── qwen_math_parser.py │ │ ├── run_math500_task.py │ │ ├── search_config.py │ │ └── world_model.py ├── Least-to-most │ ├── AQuA │ │ ├── README.md │ │ ├── __init__.py │ │ ├── aggregate.py │ │ ├── data.py │ │ ├── inference.py │ │ ├── prompts │ │ │ ├── AQuA_example_pool.json │ │ │ ├── interactive_examples.json │ │ │ └── useful_examples.json │ │ ├── search_config.py │ │ ├── utils.py │ │ └── world_model.py │ ├── gsm8k │ │ ├── README.md │ │ ├── __init__.py │ │ ├── aggregate.py │ │ ├── inference.py │ │ ├── prompts │ │ │ ├── l2m.json │ │ │ └── l2m_standard.json │ │ ├── search_config.py │ │ ├── utils.py │ │ └── world_model.py │ └── strategyQA │ │ ├── README.md │ │ ├── __init__.py │ │ ├── inference.py │ │ ├── prompt.py │ │ ├── search_config.py │ │ ├── utils.py │ │ └── world_model.py ├── LongCoT_Search │ └── ProsQA │ │ ├── README.md │ │ ├── data │ │ └── prosqa_test.json │ │ ├── run.py │ │ └── utils.py ├── PromptAgent │ └── MedQA │ │ ├── README.md │ │ ├── config.py │ │ ├── inference.py │ │ └── task.py ├── RAP │ ├── AQuA │ │ ├── README.md │ │ ├── __init__.py │ │ ├── aggregate.py │ │ ├── inference.py │ │ ├── inference_eval.py │ │ ├── inference_rap_sc.py │ │ ├── prompts │ │ │ ├── interactive_examples.json │ │ │ ├── prompt_pool.json │ │ │ ├── score_examples.json │ │ │ └── useful_examples.json │ │ ├── search_config.py │ │ ├── utils.py │ │ ├── visualize.py │ │ └── world_model.py │ ├── blocksworld │ │ ├── README.md │ │ ├── aggregate.py │ │ ├── data │ │ │ ├── bw_config.yaml │ │ │ └── generated_domain.pddl │ │ ├── rap_inference.py │ │ ├── search_config.py │ │ ├── test_rap_llama2.sh │ │ ├── test_rap_llama3.sh │ │ ├── test_rap_v1_chain.sh │ │ └── world_model.py │ ├── gsm8k │ │ ├── README.md │ │ ├── __init__.py │ │ ├── aggregate.py │ │ ├── inference.py │ │ ├── prompts │ │ │ ├── interactive_examples.json │ │ │ ├── prompt_pool.json │ │ │ └── useful_examples.json │ │ ├── search_config.py │ │ ├── utils.py │ │ ├── visualize.py │ │ └── world_model.py │ ├── prontoqa │ │ ├── README.md │ │ ├── data │ │ │ ├── create_example_pool.py │ │ │ └── create_next_step_example.py │ │ ├── dataset.py │ │ ├── prompts │ │ │ ├── finish.py │ │ │ ├── next_step.py │ │ │ ├── next_step_shibo.py │ │ │ ├── output.py │ │ │ ├── transition.py │ │ │ ├── valid_rap.py │ │ │ └── valid_tot.py │ │ ├── rap_inference.py │ │ ├── search_config.py │ │ └── world_model.py │ └── strategyQA │ │ ├── README.md │ │ ├── __init__.py │ │ ├── aggregate.py │ │ ├── dataset.py │ │ ├── inference.py │ │ ├── prompts │ │ ├── followup_question_examples-1.json │ │ ├── interactive_examples-1.json │ │ ├── problem_decompose_examples-1.0.1.txt │ │ └── useful_examples-1.json │ │ ├── search_config.py │ │ ├── utils.py │ │ └── world_model.py ├── README.md ├── ReAct │ └── hotpotqa │ │ ├── README.md │ │ ├── data │ │ └── hotpot_dev_v1_simplified.json │ │ ├── direct_inference.py │ │ ├── inference.py │ │ ├── prompts │ │ ├── direct.json │ │ └── react.json │ │ ├── utils.py │ │ ├── wikienv.py │ │ └── wrappers.py ├── ReasonerAgent-Web │ ├── .gitignore │ ├── README.md │ ├── baseline │ │ ├── __init__.py │ │ ├── openhands_browsing_agent.py │ │ └── openhands_response_parser.py │ ├── configs │ │ ├── model_o1_config.json │ │ ├── model_o3-mini_config.json │ │ └── model_r1_config.json │ ├── data │ │ ├── fanout-final-dev.json │ │ └── flightqa_counterfactual.csv │ ├── evaluation │ │ ├── fanout │ │ │ ├── evaluator.py │ │ │ ├── run.py │ │ │ └── utils │ │ │ │ ├── helpers.py │ │ │ │ ├── models.py │ │ │ │ └── norm.py │ │ ├── flight │ │ │ ├── evaluator.py │ │ │ ├── generate_data.py │ │ │ └── run.py │ │ └── webarena │ │ │ ├── get_success_rate.py │ │ │ ├── get_ttest.py │ │ │ └── run_inference.sh │ ├── img │ │ ├── log_visualizer-example.png │ │ └── logo.png │ ├── log_visualizer │ │ ├── controller.py │ │ ├── main.py │ │ └── session.py │ ├── main.py │ ├── requirements.txt │ └── utils │ │ ├── browser.py │ │ ├── config.py │ │ ├── datasets.py │ │ ├── llm.py │ │ ├── logger.py │ │ ├── metrics.py │ │ └── singleton.py ├── SGL │ ├── README.md │ ├── blocksworld.py │ └── examples │ │ └── RAP │ │ └── blocksworld │ │ └── README.md ├── Self-Eval │ └── gsm8k │ │ ├── README.md │ │ ├── __init__.py │ │ ├── inference.py │ │ ├── prompt.py │ │ ├── search_config.py │ │ ├── utils.py │ │ └── world_model.py ├── StructChem │ ├── README.md │ ├── __init__.py │ ├── assets │ │ └── method.png │ ├── inference.py │ ├── prompt.py │ ├── search_config.py │ ├── utils.py │ └── world_model.py ├── ToT │ ├── blocksworld │ │ ├── README.md │ │ ├── aggregate.py │ │ ├── data │ │ │ ├── bw_config.yaml │ │ │ └── generated_domain.pddl │ │ ├── search_config.py │ │ ├── test_tot_v1_bfs.sh │ │ ├── test_tot_v1_dfs.sh │ │ ├── tot_inference.py │ │ └── world_model.py │ ├── crosswords │ │ ├── README.md │ │ ├── __init__.py │ │ ├── data │ │ │ ├── mini0505.json │ │ │ └── mini0505_0_100_5.json │ │ ├── inference.py │ │ ├── prompts │ │ │ └── crosswords.py │ │ ├── search_config.py │ │ ├── utils.py │ │ └── world_model.py │ ├── game24 │ │ ├── README.md │ │ ├── __init__.py │ │ ├── cot.py │ │ ├── data │ │ │ └── 24.csv │ │ ├── game24_data.py │ │ ├── inference.py │ │ ├── prompts │ │ │ ├── game24.json │ │ │ └── game24.py │ │ ├── search_config.py │ │ ├── utils.py │ │ └── world_model.py │ └── prontoqa │ │ ├── README.md │ │ ├── data │ │ ├── create_example_pool.py │ │ └── create_next_step_example.py │ │ ├── dataset.py │ │ ├── prompts │ │ ├── finish.py │ │ ├── next_step.py │ │ ├── next_step_shibo.py │ │ ├── output.py │ │ ├── transition.py │ │ ├── valid_rap.py │ │ └── valid_tot.py │ │ ├── tot_inference.py │ │ └── world_model.py ├── __init__.py └── browsergym │ ├── .gitignore │ ├── README.md │ ├── gym_env.py │ ├── inference_beam.py │ ├── inference_dfs.py │ ├── inference_mcts.py │ ├── search_config.py │ ├── utils │ ├── misc.py │ ├── parse.py │ └── prompts.py │ └── visualize.py ├── pyproject.toml ├── reasoners ├── __init__.py ├── agent │ ├── README.md │ ├── __init__.py │ ├── agent.py │ ├── base.py │ ├── configs.py │ ├── llm.py │ ├── modules │ │ ├── __init__.py │ │ ├── actor.py │ │ ├── critic.py │ │ ├── encoder.py │ │ ├── planner.py │ │ ├── planner_utils.py │ │ ├── policy.py │ │ └── world_model.py │ ├── prompts.py │ ├── utils.py │ └── variables │ │ ├── __init__.py │ │ ├── action_space.py │ │ ├── identity.py │ │ ├── memory.py │ │ └── observation_space.py ├── algorithm │ ├── __init__.py │ ├── beam_search.py │ ├── dfs.py │ ├── greedy.py │ ├── mcts.py │ └── random.py ├── base.py ├── benchmark │ ├── README.md │ ├── __init__.py │ ├── aqua.py │ ├── blocksworld.py │ ├── bw_utils.py │ ├── gsm8k.py │ ├── hotpotqa.py │ ├── prontoqa.py │ └── prosqa.py ├── lm │ ├── README.md │ ├── __init__.py │ ├── anthropic_model.py │ ├── deepseek_model.py │ ├── exllama_model.py │ ├── gemini_model.py │ ├── hf_model.py │ ├── llama_2_model.py │ ├── llama_3_model.py │ ├── llama_cpp_model.py │ ├── llama_model.py │ ├── openai_model.py │ └── sglang_model.py ├── tools │ ├── __init__.py │ ├── tools.py │ └── wikiutils.py ├── utils.py └── visualization │ ├── __init__.py │ ├── __main__.py │ ├── tree_log.py │ ├── tree_snapshot.py │ └── visualizer_client.py └── setup.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/.gitmodules -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | recursive-include reasoners *.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/README.md -------------------------------------------------------------------------------- /assets/Reasoners.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/assets/Reasoners.pdf -------------------------------------------------------------------------------- /assets/figure2_reasoners_v5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/assets/figure2_reasoners_v5.png -------------------------------------------------------------------------------- /assets/goal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/assets/goal.png -------------------------------------------------------------------------------- /assets/mcts_animation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/assets/mcts_animation.gif -------------------------------------------------------------------------------- /assets/reasoners_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/assets/reasoners_icon.png -------------------------------------------------------------------------------- /autorace/EXAMPLE_WRONG_CHAINS_AQUA.txt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/autorace/EXAMPLE_WRONG_CHAINS_AQUA.txt.txt -------------------------------------------------------------------------------- /autorace/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/autorace/README.md -------------------------------------------------------------------------------- /autorace/autorace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/autorace/autorace.py -------------------------------------------------------------------------------- /autorace/data/eval_model/cosmos.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/autorace/data/eval_model/cosmos.jsonl -------------------------------------------------------------------------------- /autorace/data/eval_model/gsm8k.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/autorace/data/eval_model/gsm8k.jsonl -------------------------------------------------------------------------------- /autorace/data/eval_model/logical_deduction.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/autorace/data/eval_model/logical_deduction.jsonl -------------------------------------------------------------------------------- /autorace/data/eval_model/multistep_arithmetic.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/autorace/data/eval_model/multistep_arithmetic.jsonl -------------------------------------------------------------------------------- /autorace/data/eval_model/strategyqa.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/autorace/data/eval_model/strategyqa.jsonl -------------------------------------------------------------------------------- /autorace/data/eval_model/word_sorting.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/autorace/data/eval_model/word_sorting.jsonl -------------------------------------------------------------------------------- /autorace/prompt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/autorace/prompt.json -------------------------------------------------------------------------------- /demo.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/demo.ipynb -------------------------------------------------------------------------------- /examples/COLD-Attack/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/COLD-Attack/README.md -------------------------------------------------------------------------------- /examples/COLD-Attack/assets/COLD_attack_diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/COLD-Attack/assets/COLD_attack_diagram.png -------------------------------------------------------------------------------- /examples/COLD-Attack/bleuloss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/COLD-Attack/bleuloss.py -------------------------------------------------------------------------------- /examples/COLD-Attack/data/MaliciousInstruct.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/COLD-Attack/data/MaliciousInstruct.txt -------------------------------------------------------------------------------- /examples/COLD-Attack/data/advbench.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/COLD-Attack/data/advbench.txt -------------------------------------------------------------------------------- /examples/COLD-Attack/data/advbench/harmful_behaviors.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/COLD-Attack/data/advbench/harmful_behaviors.csv -------------------------------------------------------------------------------- /examples/COLD-Attack/data/advbench/harmful_behaviors_custom.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/COLD-Attack/data/advbench/harmful_behaviors_custom.csv -------------------------------------------------------------------------------- /examples/COLD-Attack/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/COLD-Attack/inference.py -------------------------------------------------------------------------------- /examples/COLD-Attack/opt_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/COLD-Attack/opt_util.py -------------------------------------------------------------------------------- /examples/COLD-Attack/search_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/COLD-Attack/search_config.py -------------------------------------------------------------------------------- /examples/COLD-Attack/task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/COLD-Attack/task.py -------------------------------------------------------------------------------- /examples/COLD-Attack/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/COLD-Attack/util.py -------------------------------------------------------------------------------- /examples/CoT/AQuA/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/AQuA/README.md -------------------------------------------------------------------------------- /examples/CoT/AQuA/data/CONTRIBUTING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/AQuA/data/CONTRIBUTING -------------------------------------------------------------------------------- /examples/CoT/AQuA/data/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/AQuA/data/LICENSE -------------------------------------------------------------------------------- /examples/CoT/AQuA/data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/AQuA/data/README.md -------------------------------------------------------------------------------- /examples/CoT/AQuA/data/dev.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/AQuA/data/dev.json -------------------------------------------------------------------------------- /examples/CoT/AQuA/data/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/AQuA/data/test.json -------------------------------------------------------------------------------- /examples/CoT/AQuA/data/train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/AQuA/data/train.json -------------------------------------------------------------------------------- /examples/CoT/AQuA/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/AQuA/inference.py -------------------------------------------------------------------------------- /examples/CoT/AQuA/prompts/cot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/AQuA/prompts/cot.json -------------------------------------------------------------------------------- /examples/CoT/AQuA/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/AQuA/utils.py -------------------------------------------------------------------------------- /examples/CoT/blocksworld/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/README.md -------------------------------------------------------------------------------- /examples/CoT/blocksworld/aggregate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/aggregate.py -------------------------------------------------------------------------------- /examples/CoT/blocksworld/cot_inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/cot_inference.py -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/bw_basic.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/bw_basic.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/bw_basic_sup.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/bw_basic_sup.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/bw_config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/bw_config.yaml -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/full_data/step_10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/full_data/step_10.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/full_data/step_12.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/full_data/step_12.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/full_data/step_14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/full_data/step_14.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/full_data/step_16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/full_data/step_16.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/full_data/step_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/full_data/step_2.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/full_data/step_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/full_data/step_4.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/full_data/step_6.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/full_data/step_6.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/full_data/step_8.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/full_data/step_8.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/generated_domain.pddl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/generated_domain.pddl -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/split_v1/split_v1_step_10_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/split_v1/split_v1_step_10_data.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/split_v1/split_v1_step_12_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/split_v1/split_v1_step_12_data.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/split_v1/split_v1_step_2_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/split_v1/split_v1_step_2_data.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/split_v1/split_v1_step_4_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/split_v1/split_v1_step_4_data.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/split_v1/split_v1_step_6_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/split_v1/split_v1_step_6_data.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/split_v1/split_v1_step_8_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/split_v1/split_v1_step_8_data.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/split_v2/split_v2_step_10_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/split_v2/split_v2_step_10_data.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/split_v2/split_v2_step_12_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/split_v2/split_v2_step_12_data.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/split_v2/split_v2_step_2_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/split_v2/split_v2_step_2_data.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/split_v2/split_v2_step_4_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/split_v2/split_v2_step_4_data.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/split_v2/split_v2_step_6_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/split_v2/split_v2_step_6_data.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/data/split_v2/split_v2_step_8_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/data/split_v2/split_v2_step_8_data.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/prompts/pool_prompt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/prompts/pool_prompt.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/prompts/pool_prompt_v0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/prompts/pool_prompt_v0.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/prompts/pool_prompt_v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/prompts/pool_prompt_v1.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/prompts/pool_prompt_v2_step_10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/prompts/pool_prompt_v2_step_10.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/prompts/pool_prompt_v2_step_12.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/prompts/pool_prompt_v2_step_12.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/prompts/pool_prompt_v2_step_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/prompts/pool_prompt_v2_step_2.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/prompts/pool_prompt_v2_step_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/prompts/pool_prompt_v2_step_4.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/prompts/pool_prompt_v2_step_6.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/prompts/pool_prompt_v2_step_6.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/prompts/pool_prompt_v2_step_8.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/prompts/pool_prompt_v2_step_8.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/prompts/prompt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/prompts/prompt.json -------------------------------------------------------------------------------- /examples/CoT/blocksworld/search_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/search_config.py -------------------------------------------------------------------------------- /examples/CoT/blocksworld/test_cot_llama3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/test_cot_llama3.sh -------------------------------------------------------------------------------- /examples/CoT/blocksworld/test_cot_mistral.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/test_cot_mistral.sh -------------------------------------------------------------------------------- /examples/CoT/blocksworld/world_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/blocksworld/world_model.py -------------------------------------------------------------------------------- /examples/CoT/gsm8k/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/gsm8k/README.md -------------------------------------------------------------------------------- /examples/CoT/gsm8k/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/gsm8k/inference.py -------------------------------------------------------------------------------- /examples/CoT/gsm8k/prompts/cot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/gsm8k/prompts/cot.json -------------------------------------------------------------------------------- /examples/CoT/gsm8k/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/gsm8k/utils.py -------------------------------------------------------------------------------- /examples/CoT/prontoqa/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/prontoqa/README.md -------------------------------------------------------------------------------- /examples/CoT/prontoqa/cot_inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/prontoqa/cot_inference.py -------------------------------------------------------------------------------- /examples/CoT/prontoqa/data/345hop_random_true.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/prontoqa/data/345hop_random_true.json -------------------------------------------------------------------------------- /examples/CoT/prontoqa/data/create_example_pool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/prontoqa/data/create_example_pool.py -------------------------------------------------------------------------------- /examples/CoT/prontoqa/data/create_next_step_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/prontoqa/data/create_next_step_example.py -------------------------------------------------------------------------------- /examples/CoT/prontoqa/data/example_next_steps.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/prontoqa/data/example_next_steps.json -------------------------------------------------------------------------------- /examples/CoT/prontoqa/data/example_pool.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/prontoqa/data/example_pool.json -------------------------------------------------------------------------------- /examples/CoT/prontoqa/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/prontoqa/dataset.py -------------------------------------------------------------------------------- /examples/CoT/prontoqa/prompts/finish.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/prontoqa/prompts/finish.py -------------------------------------------------------------------------------- /examples/CoT/prontoqa/prompts/next_step.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/prontoqa/prompts/next_step.py -------------------------------------------------------------------------------- /examples/CoT/prontoqa/prompts/next_step_shibo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/prontoqa/prompts/next_step_shibo.py -------------------------------------------------------------------------------- /examples/CoT/prontoqa/prompts/output.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/prontoqa/prompts/output.py -------------------------------------------------------------------------------- /examples/CoT/prontoqa/prompts/transition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/prontoqa/prompts/transition.py -------------------------------------------------------------------------------- /examples/CoT/prontoqa/prompts/valid_rap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/prontoqa/prompts/valid_rap.py -------------------------------------------------------------------------------- /examples/CoT/prontoqa/prompts/valid_tot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/prontoqa/prompts/valid_tot.py -------------------------------------------------------------------------------- /examples/CoT/prontoqa/search_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/prontoqa/search_config.py -------------------------------------------------------------------------------- /examples/CoT/prontoqa/world_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/prontoqa/world_model.py -------------------------------------------------------------------------------- /examples/CoT/strategyQA/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/strategyQA/README.md -------------------------------------------------------------------------------- /examples/CoT/strategyQA/data/strategyqa_test-ori.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/strategyQA/data/strategyqa_test-ori.json -------------------------------------------------------------------------------- /examples/CoT/strategyQA/data/strategyqa_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/strategyQA/data/strategyqa_test.json -------------------------------------------------------------------------------- /examples/CoT/strategyQA/data/strategyqa_train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/strategyQA/data/strategyqa_train.json -------------------------------------------------------------------------------- /examples/CoT/strategyQA/data/strategyqa_train_filtered.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/strategyQA/data/strategyqa_train_filtered.json -------------------------------------------------------------------------------- /examples/CoT/strategyQA/data/strategyqa_train_paragraphs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/strategyQA/data/strategyqa_train_paragraphs.json -------------------------------------------------------------------------------- /examples/CoT/strategyQA/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/strategyQA/inference.py -------------------------------------------------------------------------------- /examples/CoT/strategyQA/prompt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/strategyQA/prompt.json -------------------------------------------------------------------------------- /examples/CoT/strategyQA/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/CoT/strategyQA/utils.py -------------------------------------------------------------------------------- /examples/DRPO/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/README.md -------------------------------------------------------------------------------- /examples/DRPO/config.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/DRPO/data/ICL_optimization/out_16_5.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/data/ICL_optimization/out_16_5.json -------------------------------------------------------------------------------- /examples/DRPO/data/alpaca_train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/data/alpaca_train.json -------------------------------------------------------------------------------- /examples/DRPO/data/icl_metrics_cache.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/data/icl_metrics_cache.json -------------------------------------------------------------------------------- /examples/DRPO/data/lima_subsample_train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/data/lima_subsample_train.json -------------------------------------------------------------------------------- /examples/DRPO/data/mal_train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/data/mal_train.txt -------------------------------------------------------------------------------- /examples/DRPO/data/metrics_cache.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/data/metrics_cache.json -------------------------------------------------------------------------------- /examples/DRPO/data/queries_resp_train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/data/queries_resp_train.json -------------------------------------------------------------------------------- /examples/DRPO/icl_opti_prompts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/icl_opti_prompts.py -------------------------------------------------------------------------------- /examples/DRPO/imgs/visualization.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/imgs/visualization.png -------------------------------------------------------------------------------- /examples/DRPO/log_format.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/log_format.py -------------------------------------------------------------------------------- /examples/DRPO/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/models/__init__.py -------------------------------------------------------------------------------- /examples/DRPO/models/openai_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/models/openai_model.py -------------------------------------------------------------------------------- /examples/DRPO/models/vllm_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/models/vllm_model.py -------------------------------------------------------------------------------- /examples/DRPO/offline_icl_opti.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/offline_icl_opti.py -------------------------------------------------------------------------------- /examples/DRPO/prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/prompt.py -------------------------------------------------------------------------------- /examples/DRPO/search_algo/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/search_algo/__init__.py -------------------------------------------------------------------------------- /examples/DRPO/search_algo/beam_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/search_algo/beam_search.py -------------------------------------------------------------------------------- /examples/DRPO/search_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/search_config.py -------------------------------------------------------------------------------- /examples/DRPO/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/train.py -------------------------------------------------------------------------------- /examples/DRPO/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/utils.py -------------------------------------------------------------------------------- /examples/DRPO/visualize_log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/visualize_log.py -------------------------------------------------------------------------------- /examples/DRPO/world_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/DRPO/world_model.py -------------------------------------------------------------------------------- /examples/Eurus/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Eurus/README.md -------------------------------------------------------------------------------- /examples/Eurus/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Eurus/inference.py -------------------------------------------------------------------------------- /examples/Grace/gsm8k/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Grace/gsm8k/README.md -------------------------------------------------------------------------------- /examples/Grace/gsm8k/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Grace/gsm8k/__init__.py -------------------------------------------------------------------------------- /examples/Grace/gsm8k/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Grace/gsm8k/constants.py -------------------------------------------------------------------------------- /examples/Grace/gsm8k/data_utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/Grace/gsm8k/data_utils/datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Grace/gsm8k/data_utils/datasets.py -------------------------------------------------------------------------------- /examples/Grace/gsm8k/data_utils/discriminator_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Grace/gsm8k/data_utils/discriminator_dataset.py -------------------------------------------------------------------------------- /examples/Grace/gsm8k/data_utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Grace/gsm8k/data_utils/utils.py -------------------------------------------------------------------------------- /examples/Grace/gsm8k/data_utils/verifier_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Grace/gsm8k/data_utils/verifier_dataset.py -------------------------------------------------------------------------------- /examples/Grace/gsm8k/flan_t5.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Grace/gsm8k/flan_t5.py -------------------------------------------------------------------------------- /examples/Grace/gsm8k/grace_utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/Grace/gsm8k/grace_utils/alignment_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Grace/gsm8k/grace_utils/alignment_utils.py -------------------------------------------------------------------------------- /examples/Grace/gsm8k/grace_utils/args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Grace/gsm8k/grace_utils/args.py -------------------------------------------------------------------------------- /examples/Grace/gsm8k/grace_utils/discriminator_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Grace/gsm8k/grace_utils/discriminator_trainer.py -------------------------------------------------------------------------------- /examples/Grace/gsm8k/grace_utils/electra_discriminator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Grace/gsm8k/grace_utils/electra_discriminator.py -------------------------------------------------------------------------------- /examples/Grace/gsm8k/grace_utils/reason.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Grace/gsm8k/grace_utils/reason.py -------------------------------------------------------------------------------- /examples/Grace/gsm8k/grace_utils/sampling_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Grace/gsm8k/grace_utils/sampling_utils.py -------------------------------------------------------------------------------- /examples/Grace/gsm8k/grace_utils/t5_discriminator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Grace/gsm8k/grace_utils/t5_discriminator.py -------------------------------------------------------------------------------- /examples/Grace/gsm8k/gsm8k/demos.jsonl.sampling: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Grace/gsm8k/gsm8k/demos.jsonl.sampling -------------------------------------------------------------------------------- /examples/Grace/gsm8k/gsm8k/train.jsonl.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Grace/gsm8k/gsm8k/train.jsonl.sample -------------------------------------------------------------------------------- /examples/Grace/gsm8k/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Grace/gsm8k/inference.py -------------------------------------------------------------------------------- /examples/Grace/gsm8k/search_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Grace/gsm8k/search_config.py -------------------------------------------------------------------------------- /examples/Grace/gsm8k/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Grace/gsm8k/test.py -------------------------------------------------------------------------------- /examples/Grace/gsm8k/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Grace/gsm8k/utils.py -------------------------------------------------------------------------------- /examples/Grace/gsm8k/world_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Grace/gsm8k/world_model.py -------------------------------------------------------------------------------- /examples/Inference-Scaling-SGL/math500/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Inference-Scaling-SGL/math500/README.md -------------------------------------------------------------------------------- /examples/Inference-Scaling-SGL/math500/prompts.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Inference-Scaling-SGL/math500/prompts.json -------------------------------------------------------------------------------- /examples/Inference-Scaling-SGL/math500/qwen_math_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Inference-Scaling-SGL/math500/qwen_math_parser.py -------------------------------------------------------------------------------- /examples/Inference-Scaling-SGL/math500/run_math500_task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Inference-Scaling-SGL/math500/run_math500_task.py -------------------------------------------------------------------------------- /examples/Inference-Scaling-SGL/math500/search_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Inference-Scaling-SGL/math500/search_config.py -------------------------------------------------------------------------------- /examples/Inference-Scaling-SGL/math500/world_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Inference-Scaling-SGL/math500/world_model.py -------------------------------------------------------------------------------- /examples/Least-to-most/AQuA/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/AQuA/README.md -------------------------------------------------------------------------------- /examples/Least-to-most/AQuA/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/AQuA/__init__.py -------------------------------------------------------------------------------- /examples/Least-to-most/AQuA/aggregate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/AQuA/aggregate.py -------------------------------------------------------------------------------- /examples/Least-to-most/AQuA/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/AQuA/data.py -------------------------------------------------------------------------------- /examples/Least-to-most/AQuA/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/AQuA/inference.py -------------------------------------------------------------------------------- /examples/Least-to-most/AQuA/prompts/AQuA_example_pool.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/AQuA/prompts/AQuA_example_pool.json -------------------------------------------------------------------------------- /examples/Least-to-most/AQuA/prompts/interactive_examples.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/AQuA/prompts/interactive_examples.json -------------------------------------------------------------------------------- /examples/Least-to-most/AQuA/prompts/useful_examples.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/AQuA/prompts/useful_examples.json -------------------------------------------------------------------------------- /examples/Least-to-most/AQuA/search_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/AQuA/search_config.py -------------------------------------------------------------------------------- /examples/Least-to-most/AQuA/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/AQuA/utils.py -------------------------------------------------------------------------------- /examples/Least-to-most/AQuA/world_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/AQuA/world_model.py -------------------------------------------------------------------------------- /examples/Least-to-most/gsm8k/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/gsm8k/README.md -------------------------------------------------------------------------------- /examples/Least-to-most/gsm8k/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/gsm8k/__init__.py -------------------------------------------------------------------------------- /examples/Least-to-most/gsm8k/aggregate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/gsm8k/aggregate.py -------------------------------------------------------------------------------- /examples/Least-to-most/gsm8k/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/gsm8k/inference.py -------------------------------------------------------------------------------- /examples/Least-to-most/gsm8k/prompts/l2m.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/gsm8k/prompts/l2m.json -------------------------------------------------------------------------------- /examples/Least-to-most/gsm8k/prompts/l2m_standard.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/gsm8k/prompts/l2m_standard.json -------------------------------------------------------------------------------- /examples/Least-to-most/gsm8k/search_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/gsm8k/search_config.py -------------------------------------------------------------------------------- /examples/Least-to-most/gsm8k/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/gsm8k/utils.py -------------------------------------------------------------------------------- /examples/Least-to-most/gsm8k/world_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/gsm8k/world_model.py -------------------------------------------------------------------------------- /examples/Least-to-most/strategyQA/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/strategyQA/README.md -------------------------------------------------------------------------------- /examples/Least-to-most/strategyQA/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/strategyQA/__init__.py -------------------------------------------------------------------------------- /examples/Least-to-most/strategyQA/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/strategyQA/inference.py -------------------------------------------------------------------------------- /examples/Least-to-most/strategyQA/prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/strategyQA/prompt.py -------------------------------------------------------------------------------- /examples/Least-to-most/strategyQA/search_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/strategyQA/search_config.py -------------------------------------------------------------------------------- /examples/Least-to-most/strategyQA/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/strategyQA/utils.py -------------------------------------------------------------------------------- /examples/Least-to-most/strategyQA/world_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Least-to-most/strategyQA/world_model.py -------------------------------------------------------------------------------- /examples/LongCoT_Search/ProsQA/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/LongCoT_Search/ProsQA/README.md -------------------------------------------------------------------------------- /examples/LongCoT_Search/ProsQA/data/prosqa_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/LongCoT_Search/ProsQA/data/prosqa_test.json -------------------------------------------------------------------------------- /examples/LongCoT_Search/ProsQA/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/LongCoT_Search/ProsQA/run.py -------------------------------------------------------------------------------- /examples/LongCoT_Search/ProsQA/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/LongCoT_Search/ProsQA/utils.py -------------------------------------------------------------------------------- /examples/PromptAgent/MedQA/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/PromptAgent/MedQA/README.md -------------------------------------------------------------------------------- /examples/PromptAgent/MedQA/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/PromptAgent/MedQA/config.py -------------------------------------------------------------------------------- /examples/PromptAgent/MedQA/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/PromptAgent/MedQA/inference.py -------------------------------------------------------------------------------- /examples/PromptAgent/MedQA/task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/PromptAgent/MedQA/task.py -------------------------------------------------------------------------------- /examples/RAP/AQuA/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/AQuA/README.md -------------------------------------------------------------------------------- /examples/RAP/AQuA/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/AQuA/__init__.py -------------------------------------------------------------------------------- /examples/RAP/AQuA/aggregate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/AQuA/aggregate.py -------------------------------------------------------------------------------- /examples/RAP/AQuA/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/AQuA/inference.py -------------------------------------------------------------------------------- /examples/RAP/AQuA/inference_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/AQuA/inference_eval.py -------------------------------------------------------------------------------- /examples/RAP/AQuA/inference_rap_sc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/AQuA/inference_rap_sc.py -------------------------------------------------------------------------------- /examples/RAP/AQuA/prompts/interactive_examples.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/AQuA/prompts/interactive_examples.json -------------------------------------------------------------------------------- /examples/RAP/AQuA/prompts/prompt_pool.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/AQuA/prompts/prompt_pool.json -------------------------------------------------------------------------------- /examples/RAP/AQuA/prompts/score_examples.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/AQuA/prompts/score_examples.json -------------------------------------------------------------------------------- /examples/RAP/AQuA/prompts/useful_examples.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/AQuA/prompts/useful_examples.json -------------------------------------------------------------------------------- /examples/RAP/AQuA/search_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/AQuA/search_config.py -------------------------------------------------------------------------------- /examples/RAP/AQuA/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/AQuA/utils.py -------------------------------------------------------------------------------- /examples/RAP/AQuA/visualize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/AQuA/visualize.py -------------------------------------------------------------------------------- /examples/RAP/AQuA/world_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/AQuA/world_model.py -------------------------------------------------------------------------------- /examples/RAP/blocksworld/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/blocksworld/README.md -------------------------------------------------------------------------------- /examples/RAP/blocksworld/aggregate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/blocksworld/aggregate.py -------------------------------------------------------------------------------- /examples/RAP/blocksworld/data/bw_config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/blocksworld/data/bw_config.yaml -------------------------------------------------------------------------------- /examples/RAP/blocksworld/data/generated_domain.pddl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/blocksworld/data/generated_domain.pddl -------------------------------------------------------------------------------- /examples/RAP/blocksworld/rap_inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/blocksworld/rap_inference.py -------------------------------------------------------------------------------- /examples/RAP/blocksworld/search_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/blocksworld/search_config.py -------------------------------------------------------------------------------- /examples/RAP/blocksworld/test_rap_llama2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/blocksworld/test_rap_llama2.sh -------------------------------------------------------------------------------- /examples/RAP/blocksworld/test_rap_llama3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/blocksworld/test_rap_llama3.sh -------------------------------------------------------------------------------- /examples/RAP/blocksworld/test_rap_v1_chain.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/blocksworld/test_rap_v1_chain.sh -------------------------------------------------------------------------------- /examples/RAP/blocksworld/world_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/blocksworld/world_model.py -------------------------------------------------------------------------------- /examples/RAP/gsm8k/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/gsm8k/README.md -------------------------------------------------------------------------------- /examples/RAP/gsm8k/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/gsm8k/__init__.py -------------------------------------------------------------------------------- /examples/RAP/gsm8k/aggregate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/gsm8k/aggregate.py -------------------------------------------------------------------------------- /examples/RAP/gsm8k/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/gsm8k/inference.py -------------------------------------------------------------------------------- /examples/RAP/gsm8k/prompts/interactive_examples.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/gsm8k/prompts/interactive_examples.json -------------------------------------------------------------------------------- /examples/RAP/gsm8k/prompts/prompt_pool.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/gsm8k/prompts/prompt_pool.json -------------------------------------------------------------------------------- /examples/RAP/gsm8k/prompts/useful_examples.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/gsm8k/prompts/useful_examples.json -------------------------------------------------------------------------------- /examples/RAP/gsm8k/search_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/gsm8k/search_config.py -------------------------------------------------------------------------------- /examples/RAP/gsm8k/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/gsm8k/utils.py -------------------------------------------------------------------------------- /examples/RAP/gsm8k/visualize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/gsm8k/visualize.py -------------------------------------------------------------------------------- /examples/RAP/gsm8k/world_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/gsm8k/world_model.py -------------------------------------------------------------------------------- /examples/RAP/prontoqa/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/prontoqa/README.md -------------------------------------------------------------------------------- /examples/RAP/prontoqa/data/create_example_pool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/prontoqa/data/create_example_pool.py -------------------------------------------------------------------------------- /examples/RAP/prontoqa/data/create_next_step_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/prontoqa/data/create_next_step_example.py -------------------------------------------------------------------------------- /examples/RAP/prontoqa/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/prontoqa/dataset.py -------------------------------------------------------------------------------- /examples/RAP/prontoqa/prompts/finish.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/prontoqa/prompts/finish.py -------------------------------------------------------------------------------- /examples/RAP/prontoqa/prompts/next_step.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/prontoqa/prompts/next_step.py -------------------------------------------------------------------------------- /examples/RAP/prontoqa/prompts/next_step_shibo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/prontoqa/prompts/next_step_shibo.py -------------------------------------------------------------------------------- /examples/RAP/prontoqa/prompts/output.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/prontoqa/prompts/output.py -------------------------------------------------------------------------------- /examples/RAP/prontoqa/prompts/transition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/prontoqa/prompts/transition.py -------------------------------------------------------------------------------- /examples/RAP/prontoqa/prompts/valid_rap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/prontoqa/prompts/valid_rap.py -------------------------------------------------------------------------------- /examples/RAP/prontoqa/prompts/valid_tot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/prontoqa/prompts/valid_tot.py -------------------------------------------------------------------------------- /examples/RAP/prontoqa/rap_inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/prontoqa/rap_inference.py -------------------------------------------------------------------------------- /examples/RAP/prontoqa/search_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/prontoqa/search_config.py -------------------------------------------------------------------------------- /examples/RAP/prontoqa/world_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/prontoqa/world_model.py -------------------------------------------------------------------------------- /examples/RAP/strategyQA/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/strategyQA/README.md -------------------------------------------------------------------------------- /examples/RAP/strategyQA/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/strategyQA/__init__.py -------------------------------------------------------------------------------- /examples/RAP/strategyQA/aggregate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/strategyQA/aggregate.py -------------------------------------------------------------------------------- /examples/RAP/strategyQA/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/strategyQA/dataset.py -------------------------------------------------------------------------------- /examples/RAP/strategyQA/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/strategyQA/inference.py -------------------------------------------------------------------------------- /examples/RAP/strategyQA/prompts/followup_question_examples-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/strategyQA/prompts/followup_question_examples-1.json -------------------------------------------------------------------------------- /examples/RAP/strategyQA/prompts/interactive_examples-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/strategyQA/prompts/interactive_examples-1.json -------------------------------------------------------------------------------- /examples/RAP/strategyQA/prompts/problem_decompose_examples-1.0.1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/strategyQA/prompts/problem_decompose_examples-1.0.1.txt -------------------------------------------------------------------------------- /examples/RAP/strategyQA/prompts/useful_examples-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/strategyQA/prompts/useful_examples-1.json -------------------------------------------------------------------------------- /examples/RAP/strategyQA/search_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/strategyQA/search_config.py -------------------------------------------------------------------------------- /examples/RAP/strategyQA/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/strategyQA/utils.py -------------------------------------------------------------------------------- /examples/RAP/strategyQA/world_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/RAP/strategyQA/world_model.py -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/ReAct/hotpotqa/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReAct/hotpotqa/README.md -------------------------------------------------------------------------------- /examples/ReAct/hotpotqa/data/hotpot_dev_v1_simplified.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReAct/hotpotqa/data/hotpot_dev_v1_simplified.json -------------------------------------------------------------------------------- /examples/ReAct/hotpotqa/direct_inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReAct/hotpotqa/direct_inference.py -------------------------------------------------------------------------------- /examples/ReAct/hotpotqa/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReAct/hotpotqa/inference.py -------------------------------------------------------------------------------- /examples/ReAct/hotpotqa/prompts/direct.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReAct/hotpotqa/prompts/direct.json -------------------------------------------------------------------------------- /examples/ReAct/hotpotqa/prompts/react.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReAct/hotpotqa/prompts/react.json -------------------------------------------------------------------------------- /examples/ReAct/hotpotqa/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReAct/hotpotqa/utils.py -------------------------------------------------------------------------------- /examples/ReAct/hotpotqa/wikienv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReAct/hotpotqa/wikienv.py -------------------------------------------------------------------------------- /examples/ReAct/hotpotqa/wrappers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReAct/hotpotqa/wrappers.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/.gitignore -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/README.md -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/baseline/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/baseline/__init__.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/baseline/openhands_browsing_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/baseline/openhands_browsing_agent.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/baseline/openhands_response_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/baseline/openhands_response_parser.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/configs/model_o1_config.json: -------------------------------------------------------------------------------- 1 | {"default": "gpt-4o", "policy": "o1"} -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/configs/model_o3-mini_config.json: -------------------------------------------------------------------------------- 1 | {"default": "gpt-4o", "policy": "o3-mini"} -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/configs/model_r1_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/configs/model_r1_config.json -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/data/fanout-final-dev.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/data/fanout-final-dev.json -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/data/flightqa_counterfactual.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/data/flightqa_counterfactual.csv -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/evaluation/fanout/evaluator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/evaluation/fanout/evaluator.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/evaluation/fanout/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/evaluation/fanout/run.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/evaluation/fanout/utils/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/evaluation/fanout/utils/helpers.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/evaluation/fanout/utils/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/evaluation/fanout/utils/models.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/evaluation/fanout/utils/norm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/evaluation/fanout/utils/norm.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/evaluation/flight/evaluator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/evaluation/flight/evaluator.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/evaluation/flight/generate_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/evaluation/flight/generate_data.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/evaluation/flight/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/evaluation/flight/run.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/evaluation/webarena/get_success_rate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/evaluation/webarena/get_success_rate.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/evaluation/webarena/get_ttest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/evaluation/webarena/get_ttest.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/evaluation/webarena/run_inference.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/evaluation/webarena/run_inference.sh -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/img/log_visualizer-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/img/log_visualizer-example.png -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/img/logo.png -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/log_visualizer/controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/log_visualizer/controller.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/log_visualizer/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/log_visualizer/main.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/log_visualizer/session.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/log_visualizer/session.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/main.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/requirements.txt: -------------------------------------------------------------------------------- 1 | litellm 2 | tenacity 3 | termcolor 4 | scipy 5 | browsergym==0.3.6.dev0 6 | gradio -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/utils/browser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/utils/browser.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/utils/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/utils/config.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/utils/datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/utils/datasets.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/utils/llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/utils/llm.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/utils/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/utils/logger.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/utils/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/utils/metrics.py -------------------------------------------------------------------------------- /examples/ReasonerAgent-Web/utils/singleton.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ReasonerAgent-Web/utils/singleton.py -------------------------------------------------------------------------------- /examples/SGL/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/SGL/README.md -------------------------------------------------------------------------------- /examples/SGL/blocksworld.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/SGL/blocksworld.py -------------------------------------------------------------------------------- /examples/SGL/examples/RAP/blocksworld/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/Self-Eval/gsm8k/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Self-Eval/gsm8k/README.md -------------------------------------------------------------------------------- /examples/Self-Eval/gsm8k/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Self-Eval/gsm8k/__init__.py -------------------------------------------------------------------------------- /examples/Self-Eval/gsm8k/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Self-Eval/gsm8k/inference.py -------------------------------------------------------------------------------- /examples/Self-Eval/gsm8k/prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Self-Eval/gsm8k/prompt.py -------------------------------------------------------------------------------- /examples/Self-Eval/gsm8k/search_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Self-Eval/gsm8k/search_config.py -------------------------------------------------------------------------------- /examples/Self-Eval/gsm8k/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Self-Eval/gsm8k/utils.py -------------------------------------------------------------------------------- /examples/Self-Eval/gsm8k/world_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/Self-Eval/gsm8k/world_model.py -------------------------------------------------------------------------------- /examples/StructChem/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/StructChem/README.md -------------------------------------------------------------------------------- /examples/StructChem/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/StructChem/assets/method.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/StructChem/assets/method.png -------------------------------------------------------------------------------- /examples/StructChem/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/StructChem/inference.py -------------------------------------------------------------------------------- /examples/StructChem/prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/StructChem/prompt.py -------------------------------------------------------------------------------- /examples/StructChem/search_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/StructChem/search_config.py -------------------------------------------------------------------------------- /examples/StructChem/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/StructChem/utils.py -------------------------------------------------------------------------------- /examples/StructChem/world_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/StructChem/world_model.py -------------------------------------------------------------------------------- /examples/ToT/blocksworld/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/blocksworld/README.md -------------------------------------------------------------------------------- /examples/ToT/blocksworld/aggregate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/blocksworld/aggregate.py -------------------------------------------------------------------------------- /examples/ToT/blocksworld/data/bw_config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/blocksworld/data/bw_config.yaml -------------------------------------------------------------------------------- /examples/ToT/blocksworld/data/generated_domain.pddl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/blocksworld/data/generated_domain.pddl -------------------------------------------------------------------------------- /examples/ToT/blocksworld/search_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/blocksworld/search_config.py -------------------------------------------------------------------------------- /examples/ToT/blocksworld/test_tot_v1_bfs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/blocksworld/test_tot_v1_bfs.sh -------------------------------------------------------------------------------- /examples/ToT/blocksworld/test_tot_v1_dfs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/blocksworld/test_tot_v1_dfs.sh -------------------------------------------------------------------------------- /examples/ToT/blocksworld/tot_inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/blocksworld/tot_inference.py -------------------------------------------------------------------------------- /examples/ToT/blocksworld/world_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/blocksworld/world_model.py -------------------------------------------------------------------------------- /examples/ToT/crosswords/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/crosswords/README.md -------------------------------------------------------------------------------- /examples/ToT/crosswords/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/crosswords/__init__.py -------------------------------------------------------------------------------- /examples/ToT/crosswords/data/mini0505.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/crosswords/data/mini0505.json -------------------------------------------------------------------------------- /examples/ToT/crosswords/data/mini0505_0_100_5.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/crosswords/data/mini0505_0_100_5.json -------------------------------------------------------------------------------- /examples/ToT/crosswords/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/crosswords/inference.py -------------------------------------------------------------------------------- /examples/ToT/crosswords/prompts/crosswords.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/crosswords/prompts/crosswords.py -------------------------------------------------------------------------------- /examples/ToT/crosswords/search_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/crosswords/search_config.py -------------------------------------------------------------------------------- /examples/ToT/crosswords/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/crosswords/utils.py -------------------------------------------------------------------------------- /examples/ToT/crosswords/world_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/crosswords/world_model.py -------------------------------------------------------------------------------- /examples/ToT/game24/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/game24/README.md -------------------------------------------------------------------------------- /examples/ToT/game24/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/game24/__init__.py -------------------------------------------------------------------------------- /examples/ToT/game24/cot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/game24/cot.py -------------------------------------------------------------------------------- /examples/ToT/game24/data/24.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/game24/data/24.csv -------------------------------------------------------------------------------- /examples/ToT/game24/game24_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/game24/game24_data.py -------------------------------------------------------------------------------- /examples/ToT/game24/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/game24/inference.py -------------------------------------------------------------------------------- /examples/ToT/game24/prompts/game24.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/game24/prompts/game24.json -------------------------------------------------------------------------------- /examples/ToT/game24/prompts/game24.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/game24/prompts/game24.py -------------------------------------------------------------------------------- /examples/ToT/game24/search_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/game24/search_config.py -------------------------------------------------------------------------------- /examples/ToT/game24/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/game24/utils.py -------------------------------------------------------------------------------- /examples/ToT/game24/world_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/game24/world_model.py -------------------------------------------------------------------------------- /examples/ToT/prontoqa/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/prontoqa/README.md -------------------------------------------------------------------------------- /examples/ToT/prontoqa/data/create_example_pool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/prontoqa/data/create_example_pool.py -------------------------------------------------------------------------------- /examples/ToT/prontoqa/data/create_next_step_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/prontoqa/data/create_next_step_example.py -------------------------------------------------------------------------------- /examples/ToT/prontoqa/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/prontoqa/dataset.py -------------------------------------------------------------------------------- /examples/ToT/prontoqa/prompts/finish.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/prontoqa/prompts/finish.py -------------------------------------------------------------------------------- /examples/ToT/prontoqa/prompts/next_step.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/prontoqa/prompts/next_step.py -------------------------------------------------------------------------------- /examples/ToT/prontoqa/prompts/next_step_shibo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/prontoqa/prompts/next_step_shibo.py -------------------------------------------------------------------------------- /examples/ToT/prontoqa/prompts/output.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/prontoqa/prompts/output.py -------------------------------------------------------------------------------- /examples/ToT/prontoqa/prompts/transition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/prontoqa/prompts/transition.py -------------------------------------------------------------------------------- /examples/ToT/prontoqa/prompts/valid_rap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/prontoqa/prompts/valid_rap.py -------------------------------------------------------------------------------- /examples/ToT/prontoqa/prompts/valid_tot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/prontoqa/prompts/valid_tot.py -------------------------------------------------------------------------------- /examples/ToT/prontoqa/tot_inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/prontoqa/tot_inference.py -------------------------------------------------------------------------------- /examples/ToT/prontoqa/world_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/ToT/prontoqa/world_model.py -------------------------------------------------------------------------------- /examples/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/browsergym/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/browsergym/.gitignore -------------------------------------------------------------------------------- /examples/browsergym/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/browsergym/README.md -------------------------------------------------------------------------------- /examples/browsergym/gym_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/browsergym/gym_env.py -------------------------------------------------------------------------------- /examples/browsergym/inference_beam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/browsergym/inference_beam.py -------------------------------------------------------------------------------- /examples/browsergym/inference_dfs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/browsergym/inference_dfs.py -------------------------------------------------------------------------------- /examples/browsergym/inference_mcts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/browsergym/inference_mcts.py -------------------------------------------------------------------------------- /examples/browsergym/search_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/browsergym/search_config.py -------------------------------------------------------------------------------- /examples/browsergym/utils/misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/browsergym/utils/misc.py -------------------------------------------------------------------------------- /examples/browsergym/utils/parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/browsergym/utils/parse.py -------------------------------------------------------------------------------- /examples/browsergym/utils/prompts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/browsergym/utils/prompts.py -------------------------------------------------------------------------------- /examples/browsergym/visualize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/examples/browsergym/visualize.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/pyproject.toml -------------------------------------------------------------------------------- /reasoners/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/__init__.py -------------------------------------------------------------------------------- /reasoners/agent/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/agent/README.md -------------------------------------------------------------------------------- /reasoners/agent/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/agent/__init__.py -------------------------------------------------------------------------------- /reasoners/agent/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/agent/agent.py -------------------------------------------------------------------------------- /reasoners/agent/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/agent/base.py -------------------------------------------------------------------------------- /reasoners/agent/configs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/agent/configs.py -------------------------------------------------------------------------------- /reasoners/agent/llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/agent/llm.py -------------------------------------------------------------------------------- /reasoners/agent/modules/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/agent/modules/__init__.py -------------------------------------------------------------------------------- /reasoners/agent/modules/actor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/agent/modules/actor.py -------------------------------------------------------------------------------- /reasoners/agent/modules/critic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/agent/modules/critic.py -------------------------------------------------------------------------------- /reasoners/agent/modules/encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/agent/modules/encoder.py -------------------------------------------------------------------------------- /reasoners/agent/modules/planner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/agent/modules/planner.py -------------------------------------------------------------------------------- /reasoners/agent/modules/planner_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/agent/modules/planner_utils.py -------------------------------------------------------------------------------- /reasoners/agent/modules/policy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/agent/modules/policy.py -------------------------------------------------------------------------------- /reasoners/agent/modules/world_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/agent/modules/world_model.py -------------------------------------------------------------------------------- /reasoners/agent/prompts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/agent/prompts.py -------------------------------------------------------------------------------- /reasoners/agent/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/agent/utils.py -------------------------------------------------------------------------------- /reasoners/agent/variables/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/agent/variables/__init__.py -------------------------------------------------------------------------------- /reasoners/agent/variables/action_space.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/agent/variables/action_space.py -------------------------------------------------------------------------------- /reasoners/agent/variables/identity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/agent/variables/identity.py -------------------------------------------------------------------------------- /reasoners/agent/variables/memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/agent/variables/memory.py -------------------------------------------------------------------------------- /reasoners/agent/variables/observation_space.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/agent/variables/observation_space.py -------------------------------------------------------------------------------- /reasoners/algorithm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/algorithm/__init__.py -------------------------------------------------------------------------------- /reasoners/algorithm/beam_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/algorithm/beam_search.py -------------------------------------------------------------------------------- /reasoners/algorithm/dfs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/algorithm/dfs.py -------------------------------------------------------------------------------- /reasoners/algorithm/greedy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/algorithm/greedy.py -------------------------------------------------------------------------------- /reasoners/algorithm/mcts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/algorithm/mcts.py -------------------------------------------------------------------------------- /reasoners/algorithm/random.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/algorithm/random.py -------------------------------------------------------------------------------- /reasoners/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/base.py -------------------------------------------------------------------------------- /reasoners/benchmark/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/benchmark/README.md -------------------------------------------------------------------------------- /reasoners/benchmark/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/benchmark/__init__.py -------------------------------------------------------------------------------- /reasoners/benchmark/aqua.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/benchmark/aqua.py -------------------------------------------------------------------------------- /reasoners/benchmark/blocksworld.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/benchmark/blocksworld.py -------------------------------------------------------------------------------- /reasoners/benchmark/bw_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/benchmark/bw_utils.py -------------------------------------------------------------------------------- /reasoners/benchmark/gsm8k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/benchmark/gsm8k.py -------------------------------------------------------------------------------- /reasoners/benchmark/hotpotqa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/benchmark/hotpotqa.py -------------------------------------------------------------------------------- /reasoners/benchmark/prontoqa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/benchmark/prontoqa.py -------------------------------------------------------------------------------- /reasoners/benchmark/prosqa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/benchmark/prosqa.py -------------------------------------------------------------------------------- /reasoners/lm/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/lm/README.md -------------------------------------------------------------------------------- /reasoners/lm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/lm/__init__.py -------------------------------------------------------------------------------- /reasoners/lm/anthropic_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/lm/anthropic_model.py -------------------------------------------------------------------------------- /reasoners/lm/deepseek_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/lm/deepseek_model.py -------------------------------------------------------------------------------- /reasoners/lm/exllama_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/lm/exllama_model.py -------------------------------------------------------------------------------- /reasoners/lm/gemini_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/lm/gemini_model.py -------------------------------------------------------------------------------- /reasoners/lm/hf_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/lm/hf_model.py -------------------------------------------------------------------------------- /reasoners/lm/llama_2_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/lm/llama_2_model.py -------------------------------------------------------------------------------- /reasoners/lm/llama_3_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/lm/llama_3_model.py -------------------------------------------------------------------------------- /reasoners/lm/llama_cpp_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/lm/llama_cpp_model.py -------------------------------------------------------------------------------- /reasoners/lm/llama_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/lm/llama_model.py -------------------------------------------------------------------------------- /reasoners/lm/openai_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/lm/openai_model.py -------------------------------------------------------------------------------- /reasoners/lm/sglang_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/lm/sglang_model.py -------------------------------------------------------------------------------- /reasoners/tools/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/tools/__init__.py -------------------------------------------------------------------------------- /reasoners/tools/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/tools/tools.py -------------------------------------------------------------------------------- /reasoners/tools/wikiutils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/tools/wikiutils.py -------------------------------------------------------------------------------- /reasoners/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/utils.py -------------------------------------------------------------------------------- /reasoners/visualization/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/visualization/__init__.py -------------------------------------------------------------------------------- /reasoners/visualization/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/visualization/__main__.py -------------------------------------------------------------------------------- /reasoners/visualization/tree_log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/visualization/tree_log.py -------------------------------------------------------------------------------- /reasoners/visualization/tree_snapshot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/visualization/tree_snapshot.py -------------------------------------------------------------------------------- /reasoners/visualization/visualizer_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/reasoners/visualization/visualizer_client.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitrix-org/llm-reasoners/HEAD/setup.py --------------------------------------------------------------------------------