Skip to content

Migrate optional outputs to use global layer options - #360

Merged
jonatanklosko merged 3 commits into
mainfrom
jk-contrastive-search-precision
Mar 6, 2024
Merged

Migrate optional outputs to use global layer options#360
jonatanklosko merged 3 commits into
mainfrom
jk-contrastive-search-precision

Conversation

@jonatanklosko

Copy link
Copy Markdown
Member

Moves :output_hidden_states and :output_attentions from spec attributes to global layer options (elixir-nx/axon#563).

This fixes contrastive search to respect the model, which is currently ignores because we recreate the model.

@jonatanklosko
jonatanklosko merged commit b9b73f8 into main Mar 6, 2024
@jonatanklosko
jonatanklosko deleted the jk-contrastive-search-precision branch March 6, 2024 09:55
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.

2 participants