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

Minor fixes to 0.3.2 #157

Merged
merged 16 commits into from Jan 20, 2023
Merged

Minor fixes to 0.3.2 #157

merged 16 commits into from Jan 20, 2023

Conversation

gsarti
Copy link
Member

@gsarti gsarti commented Jan 3, 2023

Description

Minor fixes and improvements to the 0.3.2 release:

  • CONTRIBUTING.md matching actual guidelines
  • Updated download badge and planned development in README.md
  • Added StepScoreInput type to represent step score functions
  • Consistency of typing for input batches to include DecoderOnlyBatch everywhere
  • Add get_scores_dicts method to FeatureAttributionSequenceOutput and FeatureAttributionOutput (How to programmatically extract attribution scores per token? #160 ) for Pandas interoperability.
  • Add aggregate for FeatureAttributionOutput to aggregate all contained sequence_attributions
  • Better and more user-friendly out.save method
    • Remove dependency to json_tricks, bring to codebase only what is needed for serialization of attributions (numpy tensors and classes)
    • Fix compress option to serialize tensor as compressed string if set (current behavior)
    • Add a split option to generate one file per sequence output if multiple are present

@gsarti gsarti added bug Something isn't working documentation Improvements or additions to documentation labels Jan 3, 2023
@gsarti gsarti mentioned this pull request Jan 12, 2023
@gsarti gsarti added the enhancement New feature or request label Jan 18, 2023
@gsarti gsarti linked an issue Jan 18, 2023 that may be closed by this pull request
1 task
@gsarti gsarti marked this pull request as ready for review January 20, 2023 08:08
@gsarti gsarti merged commit a58bad3 into main Jan 20, 2023
@gsarti gsarti deleted the minor-fixes-032 branch January 20, 2023 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
1 participant