mrpc_german
收藏资源简介:
MRPC German(德语Microsoft Research释义语料库)是一个高质量的德语翻译数据集,源自GLUE基准中的Microsoft Research Paraphrase Corpus(MRPC)。该数据集包含从新闻来源提取的句子对,每个句子对带有一个二元标签,指示两个句子是否语义等价(即是否为释义)。翻译工作通过OpenRouter使用luna-5.6大语言模型精心完成,并采用了一种专门的、标签感知的提示工程技术,以保留原始英语语料库的语言复杂性和细微语义差别。对于释义对(标签1),模型被明确指示保留原文的结构多样性、同义词和不同的词序,确保两个德语句子在措辞上保持不同但语义等价;对于非等价对(标签0),模型被严格提示保持两个句子之间的细微差异(如数字差异、实体替换或否定动词),确保语义陷阱在德语中得以完整保留。数据集包含以下字段:idx(原始GLUE MRPC数据集中的句子对标识符,int64类型)、label(int64类型,1表示释义,0表示非释义)、sentence1(第一个德语翻译句子,string类型)、sentence2(第二个德语翻译句子,string类型)。数据集分割完全镜像原始GLUE MRPC结构:训练集约3668个句子对,验证集约408个句子对,测试集约1725个句子对。该数据集适用于文本分类和句子相似性任务,特别是德语释义检测和语义等价性判断。
MRPC German (German Microsoft Research Paraphrase Corpus) is a high-quality German translation dataset derived from the Microsoft Research Paraphrase Corpus (MRPC) in the GLUE benchmark. It contains sentence pairs extracted from news sources, each with a binary label indicating whether the two sentences are semantically equivalent (i.e., paraphrases). The translation was carefully performed using the luna-5.6 large language model via OpenRouter, employing a specialized, label-aware prompt engineering technique to preserve the linguistic complexity and subtle semantic nuances of the original English corpus. For paraphrase pairs (label 1), the model was explicitly instructed to retain structural diversity, synonyms, and different word orders, ensuring the two German sentences remain different in wording but semantically equivalent. For non-equivalent pairs (label 0), the model was strictly prompted to maintain subtle differences between the two sentences (such as numerical differences, entity replacements, or negated verbs), ensuring that semantic traps are fully preserved in German. The dataset includes the following fields: idx (int64, identifier of the sentence pair from the original GLUE MRPC dataset), label (int64, 1 indicates paraphrase, 0 indicates non-paraphrase), sentence1 (string, first German sentence), sentence2 (string, second German sentence). The dataset splits exactly mirror the original GLUE MRPC structure: approximately 3668 sentence pairs in the training set, 408 in the validation set, and 1725 in the test set. This dataset is suitable for text classification and sentence similarity tasks, particularly German paraphrase detection and semantic equivalence judgment.
数据集概述
MRPC German (Translated) 是一个高质量的德语翻译版本,源自 Microsoft Research Paraphrase Corpus (MRPC),该语料库是 GLUE 基准测试的组成部分。数据集包含从新闻来源提取的句子对,并附带一个二元标签,用于指示两个句子在语义上是否等价(即是否为释义关系)。
翻译方法
- 使用
luna-5.6大型语言模型(通过 OpenRouter)进行翻译。 - 采用 标签感知的提示工程技术,针对不同标签动态调整翻译策略:
- 释义对(标签 1):明确指示模型保留源文本的结构多样性、同义词和不同语序,确保德语译文在措辞上保持差异但语义等价。
- 非等价对(标签 0):引导模型维持句子间的细微差异(如数字差异、实体替换或否定动词),使语义陷阱在德语中得以保留。
数据字段
| 字段 | 类型 | 描述 |
|---|---|---|
idx |
int64 | 原始 GLUE MRPC 数据集中的句子对标识符 |
label |
int64 | 1 表示句子为释义关系,0 表示非释义关系 |
sentence1 |
string | 第一个句子的德语翻译 |
sentence2 |
string | 第二个句子的德语翻译 |
数据划分
数据集完全镜像原始 GLUE MRPC 结构:
| 划分 | 样本数量 |
|---|---|
| 训练集 | 3,668 个句子对 |
| 验证集 | 408 个句子对 |
| 测试集 | 1,725 个句子对 |
数据集用途
- 文本分类(text-classification)
- 句子相似度(sentence-similarity)
示例实例
标签 1(释义):
- sentence1: Amrozi beschuldigte seinen Bruder, den er „den Zeugen“ nannte, sein Beweismaterial absichtlich verfälscht zu haben.
- sentence2: Amrozi warf seinem Bruder vor, seine Beweise vorsätzlich zu entstellen, wobei er ihn lediglich als Zeugen bezeichnete.
(注意保留了词汇变化:"beschuldigte" 与 "warf... vor",以及 "verfälscht" 与 "entstellen"。)
语言
- 德语(de)





