recipe(lt-wikidata-comp-zh): add feature extraction recipes#1124
Merged
DingmaomaoBJTU merged 3 commits intoJul 23, 2026
Conversation
kujin66
force-pushed
the
kujin66/add-dell-lt-wikidata-comp-zh-recipe
branch
from
July 16, 2026 06:39
dbd33db to
937b000
Compare
Contributor
Author
|
Reviewer-style verification (not a formal GitHub approval; same account authored the PR):
Remaining gate: external maintainer/reviewer approval and conversion from Draft to Ready. |
ssss141414
force-pushed
the
kujin66/add-dell-lt-wikidata-comp-zh-recipe
branch
from
July 22, 2026 19:26
4260e35 to
e1e9bbb
Compare
ssss141414
approved these changes
Jul 22, 2026
ssss141414
left a comment
Contributor
There was a problem hiding this comment.
Independent final-head review: APPROVE. Verified exact head e1e9bbb from a fresh detached checkout; contributor authorship is preserved; scope is exactly the two nested CPU fp32/fp16 recipes with no README/source changes; pinned build, perf, L2 parity, eval, component/op analysis, and workflow-parity quality evidence agree with the PR body; all 9 final-head checks are COMPLETED/SUCCESS; no review threads remain.
ssss141414
approved these changes
Jul 23, 2026
DingmaomaoBJTU
approved these changes
Jul 23, 2026
DingmaomaoBJTU
marked this pull request as ready for review
July 23, 2026 11:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds nested CPU fp32 and fp16 feature-extraction recipes for
dell-research-harvard/lt-wikidata-comp-zh, a Chinese BERT checkpoint used for sentence/linking representations. This is an Effort L0 / Outcome L0 recipe-only contribution; both required tuples reached L3 with matching pinned Chinese sentence-similarity metrics.Model metadata
What the model does
The pinned checkpoint emits contextual token embeddings (
last_hidden_state) for Chinese text. Sentence-level similarity uses attention-mask-aware mean pooling outside the exportedBertModelgraph. Confidence: verified from the pinned checkpoint config/model card, TransformersBertModel, exported ONNX interface, and evaluation behavior.Primary user stories
Supported tasks
feature-extraction(AutoModel/BertModel).sentence-similarity; downstream pooling is intentionally outside ONNX.dell-research-harvard/lt-wikidata-comp-zh@c2b245220e8cd6db8777afeb4864412e6d7dae3a.Model architecture
BertModel, HTP metadata, and ONNX graph (verified).Validation and support evidence
Baseline
main:5deebd422e95f28fe8fd912ee50ce874710187b3; WinML CLI 0.2.0.AutoModel,BertIOConfig,WinMLModelForFeatureExtraction, fp32 (quant: null), andoptim.clamp_constant_values: true.mteb/sts22-crosslingual-sts@91d97a5b9d761e285ac3e1b4f239797bbd21c4b8,zh,test, first 20 streaming examples, no shuffle): cosine Spearman 75.4846.-1073741819after OpenVINO plugin registration reported missingopenvino.dll. Results below preserve that host teardown condition rather than claiming a clean process exit.Goal
Outcome
examples/recipes/dell-research-harvard_lt-wikidata-comp-zh/cpu/cpu/feature-extraction_fp32_config.jsonexamples/recipes/dell-research-harvard_lt-wikidata-comp-zh/cpu/cpu/feature-extraction_fp16_config.jsonPer-EP/device/precision results — including perf and eval data
Perf used the same pinned named Chinese NPZ input, 5 warmups, and 30 measured iterations. fp16 is structurally genuine: 200 FLOAT16 initializers and 203,354,112 bytes external data versus fp32's 200 FLOAT initializers and 406,708,224 bytes.
Delta
Relative to the current-main auto-config:
/evaladded with the pinned Chinese STS22 dataset/config/revision, deterministic 20-example sample, streaming, and explicit sentence/score columns; all export/optimization/loader fields are identical./evaladdition plus/quantchanged fromnullto the existing fp16 conversion configuration (mode: fp16, fp32 I/O retained).examples/recipes/README.mdremains untouched.Analyze summary — component level and op level
Static all-rule-backed-EP analysis completed for both artifacts; it is compatibility analysis, not runtime execution. Analyzer outputs were saved before the same host-native teardown condition noted above.
Component-level summary
Op-level summary
Rule-less CUDA, MIGraphX, DML, CPU, and VitisAI rows classify all 15 operator types as unknown. The detected
GeluPattern(12 instances) is also unknown as a subgraph pattern; its constituentGeluoperator is supported by each rule-backed EP above. Actual CPU runtime is independently demonstrated by perf, parity, and evaluation.Reproduce commands