Migrate xlnet to the semantic Task SDK #1537
Copy link
Copy link
Open
Description
Activity
- added a parent issue
on Sep 28, 2026 I'd like to work on this, under parent epic #1430.
Scope understanding:
- Family:
families/xlnet/, declaringembedding/encoding/rerankingthrough the sameEncoderPipelineshape asdistilbert(Migrate distilbert to the semantic Task SDK #1446, PR refactor(distilbert): migrate to Task SDK #1581, which carries the Task mapping and GPU evidence for this shape). - Mapping:
embedding->text_to_embedding,encoding->text_to_pooled_features,reranking->text_pair_to_relevanceplustext_query_documents_to_relevance(to keeprerank_batch). The existing manifests and benchmark YAML only change theirtaskfield; the benchmark tooling already maps these Task IDs. - The migration stays inside
families/xlnet/**. I plan to submit this family together withelectra,mpnetandxlnetin one PR, each with its own contract test and real-checkpoint E2E, and will link that PR on each child issue.
Starting now.
- Family:
Metadata
Metadata
Assignees
Labels
No labels
Parent epic: #1430
Status: Not started — comment here before beginning work.
Family:
families/xlnet/Current declared task mode(s):
embedding,encoding,rerankingTarget semantic Task(s): Identify the existing semantic Task contract(s) that preserve every current capability; record the exact IDs in the PR.
Work
PR evidence
Link the migration PR here. Report the tested revision, exact commands and results, selected checkpoint cases, original reference checks, current-head CI, and any untested configurations. Keep a normal migration within
families/xlnet/**; raise a separate linked prerequisite issue if a shared contract is genuinely missing. Do not weaken an acceptance criterion to pass CI.References: #1226 · family validation guide.