Skip to content

Extend documentation for custom domains#7

Merged
samuki merged 3 commits intomainfrom
samuki/documentation
Nov 19, 2025
Merged

Extend documentation for custom domains#7
samuki merged 3 commits intomainfrom
samuki/documentation

Conversation

@samuki
Copy link
Copy Markdown
Member

@samuki samuki commented Oct 8, 2025

Extend documentation to include potentials and prompt formatting.

@samuki samuki requested a review from benlebrun October 27, 2025 12:20
Copy link
Copy Markdown
Member

@benlebrun benlebrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@samuki can we create a new notebook for genlm-control specific custom evaluations? I don't think the instructions for custom domains should assume that the user is implementing an evaluation for a genlm-control model.

"1. Define your dataset\n",
"2. Implement an evaluator\n",
"3. Implement a model adaptor\n",
"3. Implement custom potentials\n",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should assume that people will only be evaluating models with potentials using this framework.

Copy link
Copy Markdown
Member

@benlebrun benlebrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor comment but otherwise LGTM

" # Run SMC with 5 particles, a maximum of 25 tokens, and an ESS threshold of 0.5\n",
" sequences = await sampler.smc(\n",
" n_particles=5,\n",
" ess_threshold=0.5,\n",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ess_threshold should be zero if we are directly sampling from LLM

@samuki samuki merged commit f0a17f4 into main Nov 19, 2025
2 checks passed
@samuki samuki deleted the samuki/documentation branch December 2, 2025 17:50
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

Successfully merging this pull request may close these issues.

2 participants