Xisen Jin, Xiang Ren, Aida Davani, Morteza Dehghani, Brendan Kennedy
10 of 18 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 5 failures of our instrument; 8 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, measured 2026-11-21; 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/2005.02439.json · badge: /api/ran/2005.02439.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 |
|---|---|---|
| owaisCS/TestHateSpeech | community (classifier label) classifier basis not recorded on the link |
8 ran · 7 no recorded run |
| BrendanKennedy/contextualizing-hate-speech-models-with-explanations | marked official in Papers with Code Papers with Code archive |
2 ran · 1 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| swish | Ran ran; our contract draft was wrong, not the code |
owaisCS/TestHateSpeech/bert/modeling.py code served (permissive licence) · get_code("0f786c407fb1ee4c") How it ranRan in Syntology's jail on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. The comparison behind this sample's level is a different run: the peer-agreement lane ran it again on the host, not in the jail (report dated 2026-09-04T22:33:52Z). If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| DotDict | Ran ran on a synthesized input · constructed an object; no result was computed |
BrendanKennedy/contextualizing-hate-speech-models-with-explanations/hiex/soc_algo.py code served (permissive licence) · get_code("d1f57751ec604230") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, DotDict: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| _SamplingAndOcclusionBaseAlgo | Ran ran on a synthesized input · constructed an object; no result was computed |
BrendanKennedy/contextualizing-hate-speech-models-with-explanations/hiex/soc_algo.py code served (permissive licence) · get_code("6557fd36dd52f015") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, _SamplingAndOcclusionBaseAlgo: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| acc_and_f1 | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
owaisCS/TestHateSpeech/run_model.py code served (permissive licence) · get_code("8005c9f347f0326a") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| build_tf_to_pytorch_map | Ran ran; our contract draft was wrong, not the code |
owaisCS/TestHateSpeech/bert/modeling_transfo_xl.py code served (permissive licence) · get_code("35ef111fc00c21b4") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| convert_examples_to_features_sst | Ran ran on a synthesized input |
owaisCS/TestHateSpeech/hiex/soc_algo.py code served (permissive licence) · get_code("a6e55b7bc228bc28") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| gelu | Ran ran; our contract draft was wrong, not the code |
owaisCS/TestHateSpeech/bert/modeling_gpt2.py code served (permissive licence) · get_code("8d23fbe2b99b840b") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| gelu | Ran ran, honoured the contract we drafted |
owaisCS/TestHateSpeech/bert/modeling.py pointer only (licence: MIT); the stored copy get_code serves, from tanmay1618/text_to_sql_bert, is pointer only (licence: NONE) · get_code("fdc64f4c72036ae4") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from tanmay1618/text_to_sql_bert, and GitHub detected no licence in that repository 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. |
| pearson_and_spearman | Ran ran on a synthesized input |
owaisCS/TestHateSpeech/run_model.py code served (permissive licence) · get_code("0e2ab003fa4ca542") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| sample_logits | Ran ran; our contract draft was wrong, not the code |
owaisCS/TestHateSpeech/bert/modeling_transfo_xl_utilities.py code served (permissive licence) · get_code("93228a3eb5c4d179") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 3, dtype family float, shape (2, 3, 6) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| _SamplingAndOcclusionAlgo | Not yet run unverified (harvested, no recorded run) |
BrendanKennedy/contextualizing-hate-speech-models-with-explanations/hiex/soc_algo.py code served (permissive licence) · get_code("8075d776e4211fb5") How it ranno invocation recorded. |
| examples_to_bow | Not yet run unverified (harvested, no recorded run) |
owaisCS/TestHateSpeech/run_baselines.py code served (permissive licence) · get_code("7151c8535ee0144d") How it ranno invocation recorded. |
| load_tf_weights_in_bert | Not yet run unverified (harvested, no recorded run) |
owaisCS/TestHateSpeech/bert/modeling.py pointer only (licence: MIT); the stored copy get_code serves, from sreyan88/toxicity-detection-in-spoken-utterances, is pointer only (licence: NONE) · get_code("b1a7180868dd8d6a") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from sreyan88/toxicity-detection-in-spoken-utterances, and GitHub detected no licence in that repository 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_gpt2 | Not yet run unverified (harvested, no recorded run) |
owaisCS/TestHateSpeech/bert/modeling_gpt2.py code served (permissive licence) · get_code("a62604f618a8cc82") How it ranno invocation recorded. |
| load_tf_weights_in_openai_gpt | Not yet run unverified (harvested, no recorded run) |
owaisCS/TestHateSpeech/bert/modeling_openai.py code served (permissive licence) · get_code("46f305675277e757") How it ranno invocation recorded. |
| load_tf_weights_in_transfo_xl | Not yet run unverified (harvested, no recorded run) |
owaisCS/TestHateSpeech/bert/modeling_transfo_xl.py code served (permissive licence) · get_code("1ebc2bf2c3cddc4d") How it ranno invocation recorded. |
| plot_score_array | Not yet run unverified (harvested, no recorded run) |
owaisCS/TestHateSpeech/visualize.py code served (permissive licence) · get_code("d7e129db40fdbd06") How it ranno invocation recorded. |
| simple_accuracy | Not yet run unverified (harvested, no recorded run) |
owaisCS/TestHateSpeech/run_model.py code served (permissive licence) · get_code("3c241ecfe3749a6d") How it ranno invocation recorded. |
Of 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 12 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 6 the same month, 9 later) and 6 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 |
|---|---|---|---|
| swish | 206 other papers 35 dated earlier, 3 the same month, 167 later, 1 same year, order not determinable · 44 only as an assembly brick |
1408.5882 (2014-08) Convolutional Neural Networks for Sentence Classification |
1805.12114 (2018-05) Deep Reinforcement Learning in a Handful of Trials using Probabilistic Dynamics Models 1809.01357 (2018-09) Zero Shot Learning for Code Education: Rubric Sampling with Deep Learning Inference and 203 more not named here |
| gelu | 198 other papers 47 dated earlier, 5 the same month, 144 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 |
| simple_accuracy | 59 other papers 16 dated earlier, 1 the same month, 41 later, 1 same year, order not determinable |
1506.05865 (2015-06) LCSTS: A Large Scale Chinese Short Text Summarization Dataset |
1509.01626 (2015-09) Character-level Convolutional Networks for Text Classification * 1810.04805 (2018-10) BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding and 56 more not named here |
| gelu | 51 other papers 16 dated earlier, 1 the same month, 34 later · 8 only as an assembly brick |
1706.03762 (2017-06) Attention Is All You Need |
1810.04805 (2018-10) BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding 1901.02860 (2019-01) Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context and 48 more not named here |
| load_tf_weights_in_bert | 15 other papers 6 dated earlier, 7 later, 2 same year, order not determinable |
1810.04805 (2018-10) BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding |
1908.09355 (2019-08) Patient Knowledge Distillation for BERT Model Compression 1911.00720 (2019-11) ZEN: Pre-training Chinese Text Encoder Enhanced by N-gram Representations and 12 more not named here |
| sample_logits | 14 other papers 8 dated earlier, 1 the same month, 5 later · 2 only as an assembly brick |
1901.02860 (2019-01) Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context |
1906.08237 (2019-06) XLNet: Generalized Autoregressive Pretraining for Language Understanding 1908.09355 (2019-08) Patient Knowledge Distillation for BERT Model Compression and 11 more not named here |
| build_tf_to_pytorch_map | 10 other papers 7 dated earlier, 1 the same month, 2 later |
1901.02860 (2019-01) Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context |
1906.08237 (2019-06) XLNet: Generalized Autoregressive Pretraining for Language Understanding 1908.09355 (2019-08) Patient Knowledge Distillation for BERT Model Compression and 7 more not named here |
| load_tf_weights_in_gpt2 | 4 other papers 4 dated earlier |
1906.01698 (2019-06) Open Sesame: Getting Inside BERT's Linguistic Knowledge |
1908.09355 (2019-08) Patient Knowledge Distillation for BERT Model Compression 1911.00720 (2019-11) ZEN: Pre-training Chinese Text Encoder Enhanced by N-gram Representations and 1 more not named here |
| load_tf_weights_in_openai_gpt | 3 other papers 3 dated earlier |
1906.01698 (2019-06) Open Sesame: Getting Inside BERT's Linguistic Knowledge |
1908.09355 (2019-08) Patient Knowledge Distillation for BERT Model Compression 1911.00720 (2019-11) ZEN: Pre-training Chinese Text Encoder Enhanced by N-gram Representations |
| load_tf_weights_in_transfo_xl | 3 other papers 3 dated earlier |
1901.02860 (2019-01) Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context |
1908.09355 (2019-08) Patient Knowledge Distillation for BERT Model Compression 1911.00720 (2019-11) ZEN: Pre-training Chinese Text Encoder Enhanced by N-gram Representations |
| DotDict brick of this paper's assembly: helper |
1 other paper 1 later · 1 only as an assembly brick |
2103.10415 (2021-03) Refining Language Models with Compositional Explanations |
|
| acc_and_f1 | 1 other paper 1 later |
2103.10415 (2021-03) Refining Language Models with Compositional Explanations |
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.
Hate speech classifiers trained on imbalanced datasets struggle to determine if group identifiers like "gay" or "black" are used in offensive or prejudiced ways. Such biases manifest in false positives when these identifiers are present, due to models' inability to learn the contexts which constitute a hateful usage of identifiers. We extract post-hoc explanations from fine-tuned BERT classifiers to detect bias towards identity terms. Then, we propose a novel regularization technique based on these explanations that encourages models to learn from the context of group identifiers in addition to the identifiers themselves. Our approach improved over baselines in limiting false positives on out-of-domain data while maintaining or improving in-domain performance. † * Authors contributed equally † Code is available here
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2005.02439")
get_code_for_paper("2005.02439")
have("2005.02439")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2005.02439.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2005.02439)
Connect an agent — have() is free.