We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I'm a bit confused by the comment that means, we intervene on every generated tokens! here https://github.com/stanfordnlp/pyvene/blob/31d3986e5b0b3d812eef8fdd0c39759fa1c1b58e/pyvene/models/intervenable_base.py#L2020C1-L2022C41. From what I understand setting unit_locations = {"base": 0} leads to intervening only on the first token, not on every generated token. Am I understanding right?
that means, we intervene on every generated tokens!
unit_locations = {"base": 0}
Also am I right in saying that intervening on the last generated token is not currently supported? This is how I interpreted this comment https://github.com/stanfordnlp/pyvene/blob/31d3986e5b0b3d812eef8fdd0c39759fa1c1b58e/pyvene/models/intervenable_base.py#L1989C1-L1991C29.
Thanks,
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I'm a bit confused by the comment
that means, we intervene on every generated tokens!
here https://github.com/stanfordnlp/pyvene/blob/31d3986e5b0b3d812eef8fdd0c39759fa1c1b58e/pyvene/models/intervenable_base.py#L2020C1-L2022C41. From what I understand settingunit_locations = {"base": 0}
leads to intervening only on the first token, not on every generated token. Am I understanding right?Also am I right in saying that intervening on the last generated token is not currently supported? This is how I interpreted this comment https://github.com/stanfordnlp/pyvene/blob/31d3986e5b0b3d812eef8fdd0c39759fa1c1b58e/pyvene/models/intervenable_base.py#L1989C1-L1991C29.
Thanks,
The text was updated successfully, but these errors were encountered: