Skip to content

[models] - chore: improve seq2seq - #85

Closed
JulesBelveze wants to merge 2 commits into
mainfrom
refacto/few-performance-tweaks
Closed

[models] - chore: improve seq2seq#85
JulesBelveze wants to merge 2 commits into
mainfrom
refacto/few-performance-tweaks

Conversation

@JulesBelveze

@JulesBelveze JulesBelveze commented Jan 18, 2026

Copy link
Copy Markdown
Owner

Description

Improves seq2seq model configuration and training by enabling beam search generation with early stopping for better output quality, adding support for source/target prefixes in data modules for structured input/output, and expanding the no-decay parameter list for optimizers to properly handle layer normalization variants across different model architectures (including layer_norm, layernorm, and ln_f).

Risk

Low. Changes are configuration improvements that don't alter core model behavior.

Tests

Manual testing with updated configurations.

…seq2seq models

 - Enable beam search with early stopping during the generation process in seq2seq model configurations
 - Introduce source and target prefixes in data module configurations to support structured input and output for seq2seq tasks
 - Update the parameter grouping for optimizer to include additional no-decay layer norms and biases across various model modules
…prefix configuration

 - Changed the retrieval of `source_prefix` and `target_prefix` from using a `get` method to direct attribute access to avoid errors related to missing configuration
 - Removed fallback to empty strings for `source_prefix` and `target_prefix` to enforce explicit configuration values
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.

1 participant