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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

attribute-context CLI command #237

Merged
merged 10 commits into from
Jan 9, 2024
Merged

attribute-context CLI command #237

merged 10 commits into from
Jan 9, 2024

Conversation

gsarti
Copy link
Member

@gsarti gsarti commented Dec 16, 2023

Description

This PR introduces a new CLI command, inseq attribute-context, to provide a robust and unified implementation of the PECoRe method for detecting and attributing context reliance in language models.

Type of Change

  • 馃殌 New feature (non-breaking change which adds functionality)

Checklist

  • I've read the CODE_OF_CONDUCT.md document.
  • I've read the CONTRIBUTING.md guide.
  • I've successfully run the style checks using make fix-style.
  • I've written tests for all new methods and classes that I created and successfully ran make test.
  • I've written the docstring in Google format for all the methods and classes that I used.

@gsarti gsarti merged commit dfea66f into main Jan 9, 2024
3 checks passed
@gsarti gsarti deleted the attribute-context branch January 9, 2024 14:22
gsarti added a commit that referenced this pull request Jan 13, 2024
* origin:
  Fix `aggregate_contiguous` (#247)
  `attribute-context` CLI command (#237)
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.

None yet

1 participant