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

add parameter use_key_value_cache to BartAsPointerNetworkConfig #140

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ArneBinder
Copy link
Owner

this allows to disable the key-value-cache for generation with the pointer model

@ArneBinder ArneBinder added the enhancement New feature or request label Nov 6, 2024
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.

Project coverage is 95.45%. Comparing base (6b64aa5) to head (ee56ddb).

Files with missing lines Patch % Lines
...ules/models/base_models/bart_as_pointer_network.py 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #140      +/-   ##
==========================================
- Coverage   95.46%   95.45%   -0.02%     
==========================================
  Files          61       61              
  Lines        5120     5125       +5     
==========================================
+ Hits         4888     4892       +4     
- Misses        232      233       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants