Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cot->react & react->cot #8

Closed
huangjf11 opened this issue May 17, 2023 · 2 comments
Closed

cot->react & react->cot #8

huangjf11 opened this issue May 17, 2023 · 2 comments

Comments

@huangjf11
Copy link

Hello, I would like to ask if there is a code implementation for cot ->react and react ->cot mentioned in the paper

你好,我想问一下论文里提到的cot->react 和 react->cot 有代码实现吗

@ysymyth
Copy link
Owner

ysymyth commented May 25, 2023

Hi, I don't have the code at hand right now (it might be somewhere inside Google), but the implementation should be very simple:

  • run both CoT (n samples) and ReAct (1 sample)
  • CoT -> ReAct: use CoT majority vote if it is voted > n/2 times, otherwise use ReAct
  • ReAct -> CoT: use ReAct if it doesn't time out, otherwise use CoT majority vote

let me know if you need more help!

@ysymyth
Copy link
Owner

ysymyth commented Jun 1, 2023

I'll close it for now, but feel free to open new issues if needed.

@ysymyth ysymyth closed this as completed Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants