{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/simcse-simple-contrastive-learning-of","title":"SimCSE: Simple Contrastive Learning of Sentence Embeddings","arxiv_id":"2104.08821","date":"2021-04-18","proceeding":"EMNLP 2021 11","authors":["Tianyu Gao","Xingcheng Yao","Danqi Chen"],"abstract":"This paper presents SimCSE, a simple contrastive learning framework that greatly advances state-of-the-art sentence embeddings. We first describe an unsupervised approach, which takes an input sentence and predicts itself in a contrastive objective, with only standard dropout used as noise. This simple method works surprisingly well, performing on par with previous supervised counterparts. We find that dropout acts as minimal data augmentation, and removing it leads to a representation collapse. Then, we propose a supervised approach, which incorporates annotated pairs from natural language inference datasets into our contrastive learning framework by using \"entailment\" pairs as positives and \"contradiction\" pairs as hard negatives. We evaluate SimCSE on standard semantic textual similarity (STS) tasks, and our unsupervised and supervised models using BERT base achieve an average of 76.3% and 81.6% Spearman's correlation respectively, a 4.2% and 2.2% improvement compared to the previous best results. We also show -- both theoretically and empirically -- that the contrastive learning objective regularizes pre-trained embeddings' anisotropic space to be more uniform, and it better aligns positive pairs when supervised signals are available.","url_abs":"https://arxiv.org/abs/2104.08821v4","url_pdf":"https://arxiv.org/pdf/2104.08821v4.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/princeton-nlp/SimCSE","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/BM-K/KoSimCSE","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/BM-K/KoSimCSE_SKT","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/bhuvanakundumani/SimCSE_unsupervised","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/bm-k/kosimcse-skt","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/cluebenchmark/simclue","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/dll-wu/is-cse","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/dltmddbs100/SimCSE","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/exploration-lab/iitk-semeval-2024-task-1","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/hooman650/supcl-seq","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/jeongukjae/KR-BERT-SimCSE","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":null},{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/liangyuxin42/SimCSE-reproduce","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/mcgill-nlp/llm2vec","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/nlpods/layerattpooler","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/oneflow-inc/libai","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/shuhewang1998/sim-gpt","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/shuxinyin/SimCSE-Pytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/sulcantonin/text_icalepcs23","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/vdogmcgee/SimCSE-Chinese-Pytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/voidism/diffcse","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"jax","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/wakafengfan/simcse-pytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/yaushian/msimcse","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"simcse-simple-contrastive-learning-of","repo_url":"https://github.com/PaddlePaddle/PaddleNLP/tree/develop/examples/text_matching/simcse","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"paddle","reach":null}],"tasks":[{"task_slug":"contrastive-learning","task_name":"Contrastive Learning"},{"task_slug":"data-augmentation","task_name":"Data Augmentation"},{"task_slug":"linear-probe-classification","task_name":"Linear-Probe Classification"},{"task_slug":"natural-language-inference","task_name":"Natural Language Inference"},{"task_slug":"sts","task_name":"STS"},{"task_slug":"semantic-textual-similarity","task_name":"Semantic Textual Similarity"},{"task_slug":"sentence","task_name":"Sentence"},{"task_slug":"sentence-embeddings","task_name":"Sentence Embeddings"}],"methods":[{"method_slug":"adam","method_name":"Adam"},{"method_slug":"attention","method_name":"Attention"},{"method_slug":"attention-dropout","method_name":"Attention Dropout"},{"method_slug":"bert","method_name":"BERT"},{"method_slug":"contrastive-learning","method_name":"Contrastive Learning"},{"method_slug":"dense-connections","method_name":"Dense Connections"},{"method_slug":"dropout","method_name":"Dropout"},{"method_slug":"layer-normalization","method_name":"Layer Normalization"},{"method_slug":"linear-layer","method_name":"Linear Layer"},{"method_slug":"linear-warmup-with-linear-decay","method_name":"Linear Warmup With Linear Decay"},{"method_slug":"multi-head-attention","method_name":"Multi-Head Attention"},{"method_slug":"residual-connection","method_name":"Residual Connection"},{"method_slug":"simcse","method_name":"SimCSE"},{"method_slug":"softmax","method_name":"Softmax"},{"method_slug":"weight-decay","method_name":"Weight Decay"},{"method_slug":"wordpiece","method_name":"WordPiece"}],"datasets_introduced":[],"methods_introduced":[{"slug":"simcse","name":"SimCSE","full_name":"SimCSE"}],"results":[{"leaderboard":"/sota/semantic-textual-similarity-on-sick","task":"Semantic Textual Similarity","dataset":"SICK","model":"SimCSE-RoBERTalarge","rank_in_archive_order":4,"of":22,"metrics":{"Spearman Correlation":"0.8195"},"uses_additional_data":false},{"leaderboard":"/sota/semantic-textual-similarity-on-sts-benchmark","task":"Semantic Textual Similarity","dataset":"STS Benchmark","model":"SimCSE-RoBERTalarge","rank_in_archive_order":40,"of":66,"metrics":{"Spearman Correlation":"0.867"},"uses_additional_data":false},{"leaderboard":"/sota/semantic-textual-similarity-on-sts12","task":"Semantic Textual Similarity","dataset":"STS12","model":"SimCSE-RoBERTa-large","rank_in_archive_order":9,"of":20,"metrics":{"Spearman Correlation":"0.7746"},"uses_additional_data":false},{"leaderboard":"/sota/semantic-textual-similarity-on-sts12","task":"Semantic Textual Similarity","dataset":"STS12","model":"SimCSE-RoBERTa-base","rank_in_archive_order":15,"of":20,"metrics":{"Spearman Correlation":"0.7016"},"uses_additional_data":false},{"leaderboard":"/sota/semantic-textual-similarity-on-sts13","task":"Semantic Textual Similarity","dataset":"STS13","model":"SimCSE-RoBERTa-large","rank_in_archive_order":10,"of":22,"metrics":{"Spearman Correlation":"0.8727"},"uses_additional_data":false},{"leaderboard":"/sota/semantic-textual-similarity-on-sts13","task":"Semantic Textual Similarity","dataset":"STS13","model":"SimCSE-BERT-base","rank_in_archive_order":15,"of":22,"metrics":{"Spearman Correlation":"0.8241"},"uses_additional_data":false},{"leaderboard":"/sota/semantic-textual-similarity-on-sts13","task":"Semantic Textual Similarity","dataset":"STS13","model":"SimCSE-RoBERTa-base","rank_in_archive_order":17,"of":22,"metrics":{"Spearman Correlation":"0.8136"},"uses_additional_data":false},{"leaderboard":"/sota/semantic-textual-similarity-on-sts14","task":"Semantic Textual Similarity","dataset":"STS14","model":"SimCSE-RoBERTalarge","rank_in_archive_order":8,"of":21,"metrics":{"Spearman Correlation":"0.8236"},"uses_additional_data":false},{"leaderboard":"/sota/semantic-textual-similarity-on-sts15","task":"Semantic Textual Similarity","dataset":"STS15","model":"SimCSE-RoBERTalarge","rank_in_archive_order":9,"of":20,"metrics":{"Spearman Correlation":"0.8666"},"uses_additional_data":false},{"leaderboard":"/sota/semantic-textual-similarity-on-sts16","task":"Semantic Textual Similarity","dataset":"STS16","model":"SimCSE-RoBERTalarge","rank_in_archive_order":10,"of":20,"metrics":{"Spearman Correlation":"0.8393"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2104.08821","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2104.08821"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/princeton-nlp/SimCSE","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/shuxinyin/SimCSE-Pytorch","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/dltmddbs100/SimCSE","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/bm-k/kosimcse-skt","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/wakafengfan/simcse-pytorch","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/BM-K/KoSimCSE_SKT","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/voidism/diffcse","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/liangyuxin42/SimCSE-reproduce","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/BM-K/KoSimCSE","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/bhuvanakundumani/SimCSE_unsupervised","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/dll-wu/is-cse","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/hooman650/supcl-seq","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/oneflow-inc/libai","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/yaushian/msimcse","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mcgill-nlp/llm2vec","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jeongukjae/KR-BERT-SimCSE","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sulcantonin/text_icalepcs23","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/nlpods/layerattpooler","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/exploration-lab/iitk-semeval-2024-task-1","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/PaddlePaddle/PaddleNLP/tree/develop/examples/text_matching/simcse","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/cluebenchmark/simclue","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/vdogmcgee/SimCSE-Chinese-Pytorch","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/shuhewang1998/sim-gpt","reach":{"status":"ok"}}],"summary":{"ran":11,"ran_draft_wrong":4,"ran_fixture":1,"ran_honours":1,"unverified":13},"by_repo_kind":{"listed":{"samples":30,"ran":17,"repositories":9}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":19,"samples":[{"code_sha256_prefix":"b949b4980657d9b2","entry":"AttentionLayer","repo":"nlpods/layerattpooler","repo_kind":"listed","path":"cl/models.py","file_url":"https://github.com/nlpods/layerattpooler/blob/HEAD/cl/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b949b4980657d9b2"}},{"code_sha256_prefix":"448b46ec4054641f","entry":"BERT","repo":"BM-K/KoSimCSE","repo_kind":"listed","path":"model/simcse/bert.py","file_url":"https://github.com/BM-K/KoSimCSE/blob/HEAD/model/simcse/bert.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"448b46ec4054641f"}},{"code_sha256_prefix":"d286e6c33947de1a","entry":"BertConfig","repo":"jeongukjae/KR-BERT-SimCSE","repo_kind":"listed","path":"model.py","file_url":"https://github.com/jeongukjae/KR-BERT-SimCSE/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d286e6c33947de1a"}},{"code_sha256_prefix":"6dd2aadc3b6d84c6","entry":"BertEmbedding","repo":"jeongukjae/KR-BERT-SimCSE","repo_kind":"listed","path":"model.py","file_url":"https://github.com/jeongukjae/KR-BERT-SimCSE/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6dd2aadc3b6d84c6"}},{"code_sha256_prefix":"5a73e8e6db46e11d","entry":"BertForCL","repo":"bhuvanakundumani/SimCSE_unsupervised","repo_kind":"listed","path":"model.py","file_url":"https://github.com/bhuvanakundumani/SimCSE_unsupervised/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5a73e8e6db46e11d"}},{"code_sha256_prefix":"8e0d3e09d28f3b02","entry":"MLPLayer","repo":"nlpods/layerattpooler","repo_kind":"listed","path":"cl/models.py","file_url":"https://github.com/nlpods/layerattpooler/blob/HEAD/cl/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8e0d3e09d28f3b02"}},{"code_sha256_prefix":"0903880703193f2a","entry":"MultiheadAttention","repo":"jeongukjae/KR-BERT-SimCSE","repo_kind":"listed","path":"model.py","file_url":"https://github.com/jeongukjae/KR-BERT-SimCSE/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0903880703193f2a"}},{"code_sha256_prefix":"cf28308ecfc2c9fd","entry":"Pooler","repo":"bhuvanakundumani/SimCSE_unsupervised","repo_kind":"listed","path":"model.py","file_url":"https://github.com/bhuvanakundumani/SimCSE_unsupervised/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"cf28308ecfc2c9fd"}},{"code_sha256_prefix":"ccd86b57fd87c336","entry":"Pooler","repo":"nlpods/layerattpooler","repo_kind":"listed","path":"cl/models.py","file_url":"https://github.com/nlpods/layerattpooler/blob/HEAD/cl/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ccd86b57fd87c336"}},{"code_sha256_prefix":"d3e6dac55359895d","entry":"SimcseModel","repo":"shuxinyin/SimCSE-Pytorch","repo_kind":"listed","path":"SimCSE/model.py","file_url":"https://github.com/shuxinyin/SimCSE-Pytorch/blob/HEAD/SimCSE/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d3e6dac55359895d"}},{"code_sha256_prefix":"9686cc4f31888062","entry":"TransformerEncoder","repo":"jeongukjae/KR-BERT-SimCSE","repo_kind":"listed","path":"model.py","file_url":"https://github.com/jeongukjae/KR-BERT-SimCSE/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9686cc4f31888062"}},{"code_sha256_prefix":"565954449b2193d5","entry":"cl_forward","repo":"bhuvanakundumani/SimCSE_unsupervised","repo_kind":"listed","path":"model.py","file_url":"https://github.com/bhuvanakundumani/SimCSE_unsupervised/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"565954449b2193d5"}},{"code_sha256_prefix":"428008c6d9efb161","entry":"find_neighbors_and_aggregation","repo":"dll-wu/is-cse","repo_kind":"listed","path":"simcse/models.py","file_url":"https://github.com/dll-wu/is-cse/blob/HEAD/simcse/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"428008c6d9efb161"}},{"code_sha256_prefix":"f16e63fb25fd4d54","entry":"get_activation_fn","repo":"jeongukjae/KR-BERT-SimCSE","repo_kind":"listed","path":"model.py","file_url":"https://github.com/jeongukjae/KR-BERT-SimCSE/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f16e63fb25fd4d54"}},{"code_sha256_prefix":"2f2997d4395b9e2d","entry":"sentemb_forward","repo":"bhuvanakundumani/SimCSE_unsupervised","repo_kind":"listed","path":"model.py","file_url":"https://github.com/bhuvanakundumani/SimCSE_unsupervised/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2f2997d4395b9e2d"}},{"code_sha256_prefix":"74c64a7d40a58644","entry":"sentemb_forward","repo":"nlpods/layerattpooler","repo_kind":"listed","path":"cl/models.py","file_url":"https://github.com/nlpods/layerattpooler/blob/HEAD/cl/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"74c64a7d40a58644"}},{"code_sha256_prefix":"4702324b53d391dc","entry":"simcse_loss","repo":"wakafengfan/simcse-pytorch","repo_kind":"listed","path":"train_and_eval.py","file_url":"https://github.com/wakafengfan/simcse-pytorch/blob/HEAD/train_and_eval.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4702324b53d391dc"}},{"code_sha256_prefix":"b1116f6967379d83","entry":"Arguments","repo":"bhuvanakundumani/SimCSE_unsupervised","repo_kind":"listed","path":"model.py","file_url":"https://github.com/bhuvanakundumani/SimCSE_unsupervised/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b1116f6967379d83"}},{"code_sha256_prefix":"3233884fc81ed5ae","entry":"BertForCL","repo":"dll-wu/is-cse","repo_kind":"listed","path":"simcse/models.py","file_url":"https://github.com/dll-wu/is-cse/blob/HEAD/simcse/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3233884fc81ed5ae"}},{"code_sha256_prefix":"2ffa456107908807","entry":"BertForCL","repo":"nlpods/layerattpooler","repo_kind":"listed","path":"cl/models.py","file_url":"https://github.com/nlpods/layerattpooler/blob/HEAD/cl/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2ffa456107908807"}},{"code_sha256_prefix":"1d4fef90a4837857","entry":"BertModel","repo":"jeongukjae/KR-BERT-SimCSE","repo_kind":"listed","path":"model.py","file_url":"https://github.com/jeongukjae/KR-BERT-SimCSE/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1d4fef90a4837857"}},{"code_sha256_prefix":"dfc8437383229830","entry":"BertModelForSimCSE","repo":"jeongukjae/KR-BERT-SimCSE","repo_kind":"listed","path":"model.py","file_url":"https://github.com/jeongukjae/KR-BERT-SimCSE/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"dfc8437383229830"}},{"code_sha256_prefix":"d96e7952e9412323","entry":"CosineSimilarity","repo":"jeongukjae/KR-BERT-SimCSE","repo_kind":"listed","path":"model.py","file_url":"https://github.com/jeongukjae/KR-BERT-SimCSE/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d96e7952e9412323"}},{"code_sha256_prefix":"2617146828164292","entry":"SimCSE","repo":"dltmddbs100/SimCSE","repo_kind":"listed","path":"model/model.py","file_url":"https://github.com/dltmddbs100/SimCSE/blob/HEAD/model/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2617146828164292"}},{"code_sha256_prefix":"e8a2dd458c8798db","entry":"SimcseModel","repo":"vdogmcgee/SimCSE-Chinese-Pytorch","repo_kind":"listed","path":"simcse_unsup.py","file_url":"https://github.com/vdogmcgee/SimCSE-Chinese-Pytorch/blob/HEAD/simcse_unsup.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e8a2dd458c8798db"}},{"code_sha256_prefix":"77b8fc1348dbafc4","entry":"cl_forward","repo":"dll-wu/is-cse","repo_kind":"listed","path":"simcse/models.py","file_url":"https://github.com/dll-wu/is-cse/blob/HEAD/simcse/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"77b8fc1348dbafc4"}},{"code_sha256_prefix":"279795ea7a63bfcd","entry":"cl_forward","repo":"nlpods/layerattpooler","repo_kind":"listed","path":"cl/models.py","file_url":"https://github.com/nlpods/layerattpooler/blob/HEAD/cl/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"279795ea7a63bfcd"}},{"code_sha256_prefix":"b697b04f307205e1","entry":"cl_init","repo":"dll-wu/is-cse","repo_kind":"listed","path":"simcse/models.py","file_url":"https://github.com/dll-wu/is-cse/blob/HEAD/simcse/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b697b04f307205e1"}},{"code_sha256_prefix":"161f85267e41c87c","entry":"cl_init","repo":"bhuvanakundumani/SimCSE_unsupervised","repo_kind":"listed","path":"model.py","file_url":"https://github.com/bhuvanakundumani/SimCSE_unsupervised/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"161f85267e41c87c"}},{"code_sha256_prefix":"d12475050e3e007b","entry":"cl_init","repo":"nlpods/layerattpooler","repo_kind":"listed","path":"cl/models.py","file_url":"https://github.com/nlpods/layerattpooler/blob/HEAD/cl/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d12475050e3e007b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}