rajatsainju2025/code-explainer

Add tests for seq2seq tokenization and causal masking

Open

#2 opened on Aug 8, 2025

 (0 comments) (0 reactions) (0 assignees)Python (0 forks)auto 404
good first issuehelp wanted

Repository metrics

Stars
 (1 star)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide