Datasets:
Tasks:
Text Retrieval
Modalities:
Text
Formats:
json
Sub-tasks:
document-retrieval
Size:
< 1K
Tags:
text-retrieval
Upload folder using huggingface_hub
Browse files- README.md +19 -0
- corpus.jsonl +5 -0
- metadata.json +6 -0
- queries.jsonl +5 -0
- relevance.jsonl +5 -0
README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# _JapaneseCode1
|
| 2 |
+
|
| 3 |
+
This is an RTEB (Retrieval Text Embedding Benchmark) dataset.
|
| 4 |
+
|
| 5 |
+
## Dataset Description
|
| 6 |
+
RTEB dataset generated from RTEB_JapaneseCode1 with LLM-modified triplets
|
| 7 |
+
|
| 8 |
+
## Dataset Statistics
|
| 9 |
+
- Number of queries: 5
|
| 10 |
+
- Number of documents: 5
|
| 11 |
+
|
| 12 |
+
## Files
|
| 13 |
+
- `corpus.jsonl`: Document corpus
|
| 14 |
+
- `queries.jsonl`: Query texts
|
| 15 |
+
- `relevance.jsonl`: Relevance judgments
|
| 16 |
+
- `metadata.json`: Dataset metadata
|
| 17 |
+
|
| 18 |
+
## Usage
|
| 19 |
+
This dataset is part of the RTEB benchmark suite for evaluating text embedding models on retrieval tasks.
|
corpus.jsonl
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"id": "RTEB_JapaneseCode1_d_0", "text": "df.div(df.mean(axis=1), axis=0)"}
|
| 2 |
+
{"id": "RTEB_JapaneseCode1_d_1", "text": "print(line.decode('utf-16-le').strip())"}
|
| 3 |
+
{"id": "RTEB_JapaneseCode1_d_2", "text": "x.find('Greetings')"}
|
| 4 |
+
{"id": "RTEB_JapaneseCode1_d_3", "text": "df['col'] = 'str' + df['col'].apply(str)"}
|
| 5 |
+
{"id": "RTEB_JapaneseCode1_d_4", "text": "set(a).union(b)"}
|
metadata.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_name": "RTEB_JapaneseCode1",
|
| 3 |
+
"num_queries": 5,
|
| 4 |
+
"num_documents": 5,
|
| 5 |
+
"description": "RTEB dataset generated from RTEB_JapaneseCode1 with LLM-modified triplets"
|
| 6 |
+
}
|
queries.jsonl
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"id": "RTEB_JapaneseCode1_q_0", "text": "パンダシート\"df\"を行ごとに正常化する"}
|
| 2 |
+
{"id": "RTEB_JapaneseCode1_q_1", "text": "utf-16-le\"形式のテキストファイルから印刷列\"行"}
|
| 3 |
+
{"id": "RTEB_JapaneseCode1_q_2", "text": "Python でx でサブ文字列の位置を検索する"}
|
| 4 |
+
{"id": "RTEB_JapaneseCode1_q_3", "text": "Python で,データフレーム \"df\" のコラム\"コラム\"の各データの初めに文字列\"str\"を添加する"}
|
| 5 |
+
{"id": "RTEB_JapaneseCode1_q_4", "text": "Python の 2 つのリストを a と b で比較し, 返答マッチ"}
|
relevance.jsonl
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"RTEB_JapaneseCode1_q_0": {"RTEB_JapaneseCode1_d_0": 1}}
|
| 2 |
+
{"RTEB_JapaneseCode1_q_1": {"RTEB_JapaneseCode1_d_1": 1}}
|
| 3 |
+
{"RTEB_JapaneseCode1_q_2": {"RTEB_JapaneseCode1_d_2": 1}}
|
| 4 |
+
{"RTEB_JapaneseCode1_q_3": {"RTEB_JapaneseCode1_d_3": 1}}
|
| 5 |
+
{"RTEB_JapaneseCode1_q_4": {"RTEB_JapaneseCode1_d_4": 1}}
|