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

implement gpt-2 forward language modeling extractor #464

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

rbroc
Copy link
Collaborator

@rbroc rbroc commented Dec 2, 2021

It takes words w(1), w(2),..., w(n-1) from a ComplexTextStim text elements, and returns forward language modeling predicted logits for w(n). Could be used in combo w/ MetricExtractor for entropy and surprisal extraction.

@adelavega adelavega marked this pull request as draft November 14, 2022 23:35
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.

1 participant