Papers › BERTScore: Evaluating Text Generation with BERT

BERTScore: Evaluating Text Generation with BERT

21 Apr 2019ICLR 2020 1arXiv:1904.09675archive 2025-07-28

Tianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q. Weinberger, Yoav Artzi

We propose BERTScore, an automatic evaluation metric for text generation. Analogously to common metrics, BERTScore computes a similarity score for each token in the candidate sentence with each token in the reference sentence. However, instead of exact matches, we compute token similarity using contextual embeddings. We evaluate using the outputs of 363 machine translation and image captioning systems. BERTScore correlates better with human judgments and provides stronger model selection performance than existing metrics. Finally, we use an adversarial paraphrase detection task to show that BERTScore is more robust to challenging examples when compared to existing metrics.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1904.09675")

Code

Syntology Ran 44 of 76 code samples harvested from 8 repositories linked to this paper; 32 have no recorded run. Of those that ran: 3 ran · honoured contract; 2 ran · violated contract; 26 ran · our draft was wrong; 8 ran · fixture could not drive it; 5 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 6 ran; community (archive-listed): 65 samples from 7 repositories, 37 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

20 repositories listed; official and paper-mentioned ones first.

Tiiiger/bert_score officialmentioned in papermentioned on GitHubpytorch report
THUDM/KOBE mentioned on GitHubpytorchMIT report
THUcqb/KOBE mentioned on GitHubpytorchMIT report
allenai/mslr-shared-task mentioned on GitHubpytorchApache-2.0 report
ananyacoder/mee_wmt2021 mentioned on GitHub report
cyr19/reproducibility mentioned on GitHubpytorch report
facebookresearch/vizseq mentioned on GitHub report
gotutiyan/gec-metrics mentioned on GitHubMIT report
jonas-becker/text-generation mentioned on GitHub report
lovit/KoBERTScore mentioned on GitHubpytorch report
lovit/ko-BERTScore mentioned on GitHubpytorch report
neulab/code-bert-score mentioned on GitHubpytorch report
open-finance-lab/finlora mentioned on GitHubpytorch report
qibinc/KOBE mentioned on GitHubpytorchMIT report
stair-lab/villm-eval mentioned on GitHubpytorchMIT report
yangletliu/finlora mentioned on GitHubpytorchNOASSERTION report
yuhui-zh15/nlg_metrics mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

76 samples harvested; 44 ran; 3 honoured the contract we drafted; 32 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · honoured contract
2ran · violated contract
26ran · our draft was wrong
8ran · fixture could not drive it
5ran
32unverified

Licence: 33 of the 76 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 8 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: 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. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

collate_idf Tiiiger/bert_score/bert_score/scorer.py official repository ran · our draft was wrong MIT (permissive) · e1297e386354025c · report
get_bert_embedding Tiiiger/bert_score/bert_score/scorer.py official repository ran · fixture could not drive it MIT (permissive) · 779e3927681cb63b · report
get_hash Tiiiger/bert_score/bert_score/scorer.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 7a9d43b6fa2eafef · report
get_tokenizer Tiiiger/bert_score/bert_score/scorer.py official repository ran · fixture could not drive it MIT (permissive) · 0a3852d45d725a39 · report
process Tiiiger/bert_score/bert_score/scorer.py official repository ran · our draft was wrong MIT (permissive) · 6fb229c8407fb6c8 · report
sent_encode Tiiiger/bert_score/bert_score/scorer.py official repository ran · fixture could not drive it MIT (permissive) · 37d4a40315d05e5e · report
BERTScorer Tiiiger/bert_score/bert_score/scorer.py official repository unverified MIT (permissive) · 200a19a9f1229034 · report
bert_cos_score_idf Tiiiger/bert_score/bert_score/scorer.py official repository unverified MIT (permissive) · 6a5eab3261e5500c · report
get_idf_dict Tiiiger/bert_score/bert_score/scorer.py official repository unverified MIT (permissive) · edd1054d8a4511eb · report
get_model Tiiiger/bert_score/bert_score/scorer.py official repository unverified MIT (permissive) · 271285be2338c8f6 · report
BERTScoreScorer facebookresearch/vizseq/vizseq/scorers/bert_score.py community (archive-listed) ran MIT (permissive) · c8edeba2ca8fea59 · report
BERTScorer sebiancoder/bertscorevisualizer/backend/BERTScorer/bertscorer.py community (archive-listed) ran licence not identified · pointer only · 41873629d485d64d · report
VizSeqScore facebookresearch/vizseq/vizseq/scorers/bert_score.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · d7146a26ef592a40 · report
VizSeqScorer facebookresearch/vizseq/vizseq/scorers/bert_score.py community (archive-listed) ran MIT (permissive) · 330236fc4b93abc7 · report
_available_cpu_count facebookresearch/vizseq/vizseq/scorers/bert_score.py community (archive-listed) ran · metamorphic tier: well formed MIT (permissive) · 034176029000712f · report
_batch facebookresearch/vizseq/vizseq/scorers/bert_score.py community (archive-listed) ran · our draft was wrong MIT (permissive) · d05d990ceb06d2c9 · report
_max_workers_for_platform facebookresearch/vizseq/vizseq/scorers/bert_score.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · ee17bb43374f3ef2 · report
apply_idf lovit/ko-BERTScore/KoBERTScore/score.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 95e240faa9326986 · report
bert_encode cyr19/reproducibility/bert_score/scorer.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · e41bf854cd7b9a83 · report
bert_encode yuhui-zh15/nlg_metrics/nlg_metrics/bertscore/bert_util.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 29119b8712ceae26 · report
bert_encode neulab/code-bert-score/code_bert_score/scorer.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 949db13a96d3ef67 · report
bert_forwarding lovit/ko-BERTScore/KoBERTScore/score.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 369342a5449a0bfd · report
cache_scibert cyr19/reproducibility/bert_score/scorer.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · be27ce41f9ea0d1f · report
collate_idf cyr19/reproducibility/bert_score/scorer.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 80aa6d93e1e6196f · report
collate_idf yuhui-zh15/nlg_metrics/nlg_metrics/bertscore/bert_util.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · a674ab62cada9f02 · report
collate_idf danieldeutsch/bert_score_content_analysis/bert_score/utils.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 1d15c841be27109a · report
collate_idf neulab/code-bert-score/code_bert_score/scorer.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 84a478e9730d32cf · report
compute_RPF lovit/ko-BERTScore/KoBERTScore/score.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · 9cc9523dfc879e70 · report
compute_pairwise_cosine lovit/ko-BERTScore/KoBERTScore/score.py community (archive-listed) ran · fixture could not drive it fingerprinted no licence file found · pointer only · a6fb6a679479b806 · report
get_bert_embedding cyr19/reproducibility/bert_score/scorer.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · e8c19548068c18c0 · report
get_bert_embedding yuhui-zh15/nlg_metrics/nlg_metrics/bertscore/bert_util.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 466fbc555ce2478f · report
get_bert_embedding danieldeutsch/bert_score_content_analysis/bert_score/utils.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 60a9029618bff133 · report
get_bert_embedding neulab/code-bert-score/code_bert_score/scorer.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 1eebdf77ab9a0ecd · report
get_hash neulab/code-bert-score/code_bert_score/scorer.py community (archive-listed) ran · our draft was wrong MIT (permissive) · f982fdf447668cbb · report
get_precision_token_alignments danieldeutsch/bert_score_content_analysis/bert_score/utils.py community (archive-listed) ran · our draft was wrong MIT (permissive) · e93b135d3cd1c1ec · report
get_recall_token_alignments danieldeutsch/bert_score_content_analysis/bert_score/utils.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 0dc67c4f397a1eba · report
get_window_indices neulab/code-bert-score/code_bert_score/scorer.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · ea4088dfeb479c9a · report
idf_numpy_to_embed lovit/ko-BERTScore/KoBERTScore/score.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · 9ccab64bf97fe100 · report
load_idf lovit/ko-BERTScore/KoBERTScore/score.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 89c6cff022037bf3 · report
map_optional facebookresearch/vizseq/vizseq/scorers/bert_score.py community (archive-listed) ran · honoured contract MIT (permissive) · e175c125be8d278b · report
map_subword_index_to_token_index danieldeutsch/bert_score_content_analysis/bert_score/utils.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 47078bc5a6336435 · report
mark_all_punc_tokens neulab/code-bert-score/code_bert_score/scorer.py community (archive-listed) ran · violated contract MIT (permissive) · aaf8f9d22087eb72 · report
process cyr19/reproducibility/bert_score/scorer.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 1d48904fd63d4a59 · report
process neulab/code-bert-score/code_bert_score/scorer.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · 5a7c2e48dc108411 · report
rescaling lovit/ko-BERTScore/KoBERTScore/score.py community (archive-listed) ran · violated contract fingerprinted no licence file found · pointer only · 2b21ab2f6f331acc · report
sents_to_tensor lovit/ko-BERTScore/KoBERTScore/score.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · 58daeffb3ffb38df · report
truncate_bert_layers lovit/ko-BERTScore/KoBERTScore/score.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 5bf3a9aaa9676734 · report
BERTScore lovit/ko-BERTScore/KoBERTScore/score.py community (archive-listed) unverified no licence file found · pointer only · 573bfd9ac94c99ed · report
BERTScorer cyr19/reproducibility/bert_score/scorer.py community (archive-listed) unverified no licence file found · pointer only · 0dbd601cded6f834 · report
BERTScorer neulab/code-bert-score/code_bert_score/scorer.py community (archive-listed) unverified MIT (permissive) · 364dacc2df955455 · report
_cgroup_cpu_quota facebookresearch/vizseq/vizseq/scorers/bert_score.py community (archive-listed) unverified MIT (permissive) · 2d6d94d1c61edf11 · report
_get_bert_scorer facebookresearch/vizseq/vizseq/scorers/bert_score.py community (archive-listed) unverified MIT (permissive) · c2dc3fa5dcf4e828 · report
bert_cos_score_idf cyr19/reproducibility/bert_score/scorer.py community (archive-listed) unverified no licence file found · pointer only · e2471a1206f6d191 · report
bert_cos_score_idf yuhui-zh15/nlg_metrics/nlg_metrics/bertscore/bert_util.py community (archive-listed) unverified no licence file found · pointer only · 74c9dc5efff4ab40 · report
bert_cos_score_idf danieldeutsch/bert_score_content_analysis/bert_score/utils.py community (archive-listed) unverified MIT (permissive) · c3818aacfecb9596 · report
bert_cos_score_idf neulab/code-bert-score/code_bert_score/scorer.py community (archive-listed) unverified MIT (permissive) · a6d2976f556bf53f · report
bert_encode danieldeutsch/bert_score_content_analysis/bert_score/utils.py community (archive-listed) unverified MIT (permissive) · 841ac1a3bf04a266 · report
bert_score lovit/ko-BERTScore/KoBERTScore/score.py community (archive-listed) unverified no licence file found · pointer only · 011256828cf4ffa5 · report
cache_scibert neulab/code-bert-score/code_bert_score/scorer.py community (archive-listed) unverified MIT (permissive) · ffd1e746cb94818e · report
get_hash cyr19/reproducibility/bert_score/scorer.py community (archive-listed) unverified no licence file found · pointer only · c14c6317a3d158ea · report
get_idf_dict cyr19/reproducibility/bert_score/scorer.py community (archive-listed) unverified no licence file found · pointer only · ab46123387327340 · report
get_idf_dict neulab/code-bert-score/code_bert_score/scorer.py community (archive-listed) unverified MIT (permissive) · a1d85069694206d2 · report
get_model cyr19/reproducibility/bert_score/scorer.py community (archive-listed) unverified no licence file found · pointer only · e655efd76f64a7aa · report
get_model neulab/code-bert-score/code_bert_score/scorer.py community (archive-listed) unverified MIT (permissive) · 7e819d1873379c18 · report
get_tokenizer cyr19/reproducibility/bert_score/scorer.py community (archive-listed) unverified no licence file found · pointer only · 8d08178958f5f20d · report
greedy_cos_idf cyr19/reproducibility/bert_score/scorer.py community (archive-listed) unverified no licence file found · pointer only · 227909002c4f2aba · report
greedy_cos_idf yuhui-zh15/nlg_metrics/nlg_metrics/bertscore/bert_util.py community (archive-listed) unverified no licence file found · pointer only · 0b727a24b15c0d5e · report
greedy_cos_idf danieldeutsch/bert_score_content_analysis/bert_score/utils.py community (archive-listed) unverified MIT (permissive) · 72ab4ee7aef7a2d7 · report
greedy_cos_idf neulab/code-bert-score/code_bert_score/scorer.py community (archive-listed) unverified MIT (permissive) · a85884cc1bdc6201 · report
load_model lovit/ko-BERTScore/KoBERTScore/score.py community (archive-listed) unverified no licence file found · pointer only · 3647b7dd8c5ac0d7 · report
register_scorer facebookresearch/vizseq/vizseq/scorers/bert_score.py community (archive-listed) unverified MIT (permissive) · b1d1743a9e193dd9 · report
sent_encode cyr19/reproducibility/bert_score/scorer.py community (archive-listed) unverified no licence file found · pointer only · 7aa792f0b1258927 · report
sent_encode danieldeutsch/bert_score_content_analysis/bert_score/utils.py community (archive-listed) unverified MIT (permissive) · 5578268ced9f26ff · report
sent_encode neulab/code-bert-score/code_bert_score/scorer.py community (archive-listed) unverified MIT (permissive) · e5fcbbe27d124542 · report
train_idf lovit/ko-BERTScore/KoBERTScore/score.py community (archive-listed) unverified no licence file found · pointer only · f61640ae3eacc0ce · report
padding identical code first harvested elsewhere ran · our draft was wrong licence of this copy not recorded · 13ef8eeae8570519 · report

Tasks

Image CaptioningMachine TranslationModel SelectionSentenceText GenerationTranslation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections