Lu Hou, Zhiqi Huang, Lifeng Shang, Xin Jiang, Xiao Chen, Qun Liu
5 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 3 failures of our instrument; 3 no recorded run), measured 2026-11-21; 2 contract verdicts on these samples were measured on the host before the contract probe was jailed (2026-09-18T14:29:13Z) or are undated; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.
"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2004.04037.json · badge: /api/ran/2004.04037.svg
Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.
| Repository | Role | Ran |
|---|---|---|
| huawei-noah/pretrained-language-model | canonical (classifier label) classifier basis: classifier_2025 |
3 ran · 3 no recorded run |
| huawei-noah/Pretrained-Language-Model | marked official in Papers with Code Papers with Code archive |
2 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| DynaLinear | Ran ran on a synthesized input · constructed an object; no result was computed |
huawei-noah/Pretrained-Language-Model/DynaBERT/transformers/modeling_bert.py pointer only (licence: NONE) · get_code("0cc816edf95e5320") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, huawei-noah/Pretrained-Language-Model when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| convert_examples_to_features_test | Ran ran; our contract draft was wrong, not the code |
huawei-noah/pretrained-language-model/DynaBERT/eval_glue.py pointer only (licence: NONE) · get_code("35a997654c159c2b") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, huawei-noah/pretrained-language-model when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| gelu | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
huawei-noah/pretrained-language-model/DynaBERT/transformers/modeling_bert.py pointer only (licence: NONE) · get_code("4ac7efa4e6383d65") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, huawei-noah/pretrained-language-model when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| round_to_nearest | Ran ran, honoured the contract we drafted |
huawei-noah/Pretrained-Language-Model/DynaBERT/transformers/modeling_bert.py pointer only (licence: NONE) · get_code("25a3e8171033da6c") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, huawei-noah/Pretrained-Language-Model when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| soft_cross_entropy | Ran ran; our contract draft was wrong, not the code |
huawei-noah/pretrained-language-model/DynaBERT/run_glue.py pointer only (licence: NONE) · get_code("32fee35165e8a309") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, huawei-noah/pretrained-language-model when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| get_tensor_data | Not yet run unverified (harvested, no recorded run) |
huawei-noah/pretrained-language-model/DynaBERT/eval_glue.py pointer only (licence: NONE) · get_code("99a4d7ac6391ba1e") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, huawei-noah/pretrained-language-model when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded. |
| load_tf_weights_in_bert | Not yet run unverified (harvested, no recorded run) |
huawei-noah/pretrained-language-model/DynaBERT/transformers/modeling_bert.py pointer only (licence: NONE) · get_code("58ca2fa000be80dc") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, huawei-noah/pretrained-language-model when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded. |
| round_to_nearest | Not yet run unverified (harvested, no recorded run) |
huawei-noah/pretrained-language-model/DynaBERT/transformers/modeling_bert.py pointer only (licence: NONE) · get_code("745504b7e11ff510") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, huawei-noah/pretrained-language-model when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded. |
Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 3 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 2 the same month, 3 later) and 4 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).
Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| gelu | 198 other papers 38 dated earlier, 8 the same month, 150 later, 2 same year, order not determinable · 32 only as an assembly brick |
1408.5882 (2014-08) Convolutional Neural Networks for Sentence Classification |
1810.04805 (2018-10) BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding 1901.10125 (2019-01) Glyce: Glyph-vectors for Chinese Character Representations and 195 more not named here |
| load_tf_weights_in_bert | 19 other papers 5 dated earlier, 1 the same month, 13 later |
1810.04805 (2018-10) BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding |
1902.01069 (2019-02) A Comprehensive Exploration on WikiSQL with Table-Aware Word Contextualization 1909.11942 (2019-09) ALBERT: A Lite BERT for Self-supervised Learning of Language Representations and 16 more not named here |
| round_to_nearest brick of this paper's assembly: helper |
1 other paper 1 later |
2410.03456 (2024-10) Dynamic Diffusion Transformer |
Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-21.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
The pre-trained language models like BERT, though powerful in many natural language processing tasks, are both computation and memory expensive. To alleviate this problem, one approach is to compress them for specific tasks before deployment. However, recent works on BERT compression usually compress the large BERT model to a fixed smaller size. They can not fully satisfy the requirements of different edge devices with various hardware performances. In this paper, we propose a novel dynamic BERT model (abbreviated as Dyn-aBERT), which can flexibly adjust the size and latency by selecting adaptive width and depth. The training process of DynaBERT includes first training a width-adaptive BERT and then allowing both adaptive width and depth, by distilling knowledge from the full-sized model to small sub-networks. Network rewiring is also used to keep the more important attention heads and neurons shared by more sub-networks. Comprehensive experiments under various efficiency constraints demonstrate that our proposed dynamic BERT (or RoBERTa) at its largest size has comparable performance as BERT BASE (or RoBERTa BASE ), while at smaller widths and depths consistently outperforms existing BERT compression methods. Code is available at https://github.com/huawei-noah/ Pretrained-Language-Model/tree/master/DynaBERT.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2004.04037")
get_code_for_paper("2004.04037")
have("2004.04037")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2004.04037.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2004.04037)
Connect an agent — have() is free.