rajatsainju2025/code-explainer

Add tests for seq2seq tokenization and causal masking

Aperta

#2 aperta il 8 ago 2025

 (0 commenti) (0 reazioni) (0 assegnatari)Python (0 fork)auto 404
good first issuehelp wanted

Metriche repository

Star
 (1 stella)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Write unit tests covering:\n- Seq2seq preprocessing: source/target tokenization, -100 label masking for pad tokens.\n- Causal preprocessing: prompt masking (-100) and padding masking.\nUse tiny configs to avoid large downloads. Ensure tests run in CI.

Guida contributor