Skip to content

Instantly share code, notes, and snippets.

@madaan
Created April 27, 2023 03:41
Show Gist options
  • Save madaan/a4d826992bc1e9a8750452d75d7fdebb to your computer and use it in GitHub Desktop.
Save madaan/a4d826992bc1e9a8750452d75d7fdebb to your computer and use it in GitHub Desktop.
MCTS output
Root node: TreeNode(title='Using language models of code for few-shot commonsense', acronym='CODEX', scores={'Ease of pronunciation': 4, 'Ease of spelling': 4, 'Relation to title': 3, 'Positive connotation': 5, 'Well-known': 4, 'Total score': 20}, visits=1, value=0.0, parent_acronym='None' children=None)
Root node after generating initial children: TreeNode(title='Using language models of code for few-shot commonsense', acronym='CODEX', scores={'Ease of pronunciation': 4, 'Ease of spelling': 4, 'Relation to title': 3, 'Positive connotation': 5, 'Well-known': 4, 'Total score': 20}, visits=1, value=0.0, parent_acronym='None' children=COMODEX, COGENT, LMC2C)
Selecting...
Selected node: COGENT for title 'Using language models of code for few-shot commonsense'
Expanding...
Expanded node: LMCFS for title 'Using language models of code for few-shot commonsense'
Simulating...
Simulated value: 0.4
Backpropagating...
Backpropagation complete
Selecting...
Selected node: COMODEX for title 'Using language models of code for few-shot commonsense'
Expanding...
Expanded node: LMCODE for title 'Using language models of code for few-shot commonsense'
Simulating...
Simulated value: 0.72
Backpropagating...
Backpropagation complete
Selecting...
Selected node: LMC2C for title 'Using language models of code for few-shot commonsense'
Expanding...
Expanded node: COMODEL for title 'Using language models of code for few-shot commonsense'
Simulating...
Simulated value: 0.64
Backpropagating...
Backpropagation complete
Selecting...
Selected node: LMCFS for title 'Using language models of code for few-shot commonsense'
Expanding...
Expanded node: COGCODE for title 'Using language models of code for few-shot commonsense'
Simulating...
Simulated value: 0.6
Backpropagating...
Backpropagation complete
Best acronym: CODEX with total score: 20
CODEX (Score: 20)
COMODEX (Score: 11)
LMCODE (Score: 18)
COGENT (Score: 21)
LMCFS (Score: 10)
COGCODE (Score: 15)
LMC2C (Score: 7)
COMODEL (Score: 16)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment