Skip to content

Commit

Permalink
tiny update
Browse files Browse the repository at this point in the history
  • Loading branch information
YanSong97 committed Oct 27, 2024
1 parent a952f77 commit 8d237cd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
15 changes: 11 additions & 4 deletions docs/usage/reason.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,19 @@ nav_order: 5


# Reasoning
Once a
high-quality process reward model is trained, we integrate it into the decoding process alongside the
{: .no_toc }

Once a high-quality process reward model is trained, we integrate it into the decoding process alongside the
language model, enabling guided search and scoring or voting across multiple generations.

>*OpenR* supports various search algorithms — such as *beam search*, *best-of-N selection*, and others, each with unique advantages depending on the quality of PRMs.
>*OpenR* supports various search algorithms — such as *beam search*, *best-of-N selection* and *Monte-carlo Tree Search*. We will be contantly update the framework to include more classic reasoning methods.

## Table of contents
{: .no_toc .text-delta }

1. TOC
{:toc}

## Basic Command

Expand Down Expand Up @@ -43,7 +50,7 @@ python reason/evaluation/evaluate.py \
- **`--num_sequence`**: Number of sequences generated per inference step. Useful for methods like `best_of_n`, where multiple outputs are generated and evaluated.
- **`--max_new_tokens`**: Specifies the maximum number of new tokens to generate.
- **`--method`**: Chooses the search strategy. Options include:
- `MCTS` - Monte Carlo Tree Search
- `vanila_mcts` - Vanilla Monte Carlo Tree Search
- `beam_search` - Beam Search
- `best_of_n` - Select the best sequence from `n` generated options
- **`--tree_max_depth`**: Specifies the maximum depth of the search tree. Primarily useful when using tree-based methods like MCTS or beam search.
Expand Down
4 changes: 3 additions & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,11 @@ Reasoning with LLMs

## 🚀 News and Updates

<span style="color: #555; font-weight: bold;">[11/10/2024]</span> ***OpenR*** now supports MCTS reasoning ! <span style="color: #007acc;" > ([#24](https://github.com/openreasoner/openr/pull/24))</span>

<span style="color: #555; font-weight: bold;">[11/10/2024]</span> Our paper is on <span style="color: #007acc;" > [**Arxiv**](https://arxiv.org/abs/2410.09671)</span> !

<span style="color: #555; font-weight: bold;">[11/10/2024]</span> <span style="color: #007acc;">*OpenR* has been released!</span>
<span style="color: #555; font-weight: bold;">[11/10/2024]</span> <span style="color: #007acc;">***OpenR*** has been released!</span>


## Key Features
Expand Down

0 comments on commit 8d237cd

Please sign in to comment.