Skip to content

[models] - fix: model contract issues - #91

Merged
JulesBelveze merged 1 commit into
mainfrom
fix/model-contracts
Jul 30, 2026
Merged

[models] - fix: model contract issues#91
JulesBelveze merged 1 commit into
mainfrom
fix/model-contracts

Conversation

@JulesBelveze

Copy link
Copy Markdown
Owner

Fixes model contract issues across DeeBERT, BERxiT, DistilBERT and FastBERT. This removes accidental weight sharing, corrects model outputs and keeps early-exit data available during evaluation.

Training configs now keep model and scorer label counts in sync, with focused tests covering the repaired paths.

…onfigs

 - Introduced a centralized `num_labels` parameter in the general configuration to ensure consistency across different training configurations.
 - Updated model configurations to reference the new `num_labels` parameter, improving maintainability and reducing potential errors in label handling.
@JulesBelveze
JulesBelveze merged commit f90dea6 into main Jul 30, 2026
9 checks passed
@JulesBelveze
JulesBelveze deleted the fix/model-contracts branch July 30, 2026 08:41
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