Datasets:

Modalities:
Text
Languages:
code
ArXiv:
Tags:
License:
tianyang commited on
Commit
f304937
1 Parent(s): 93c340a

update readme

Browse files
Files changed (1) hide show
  1. README.md +46 -25
README.md CHANGED
@@ -1,20 +1,33 @@
1
  ---
2
- license: cc-by-nc-4.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
4
 
5
- # Dataset Card for [Dataset Name]
6
 
7
  ## Table of Contents
8
- - [Dataset Card for \[Dataset Name\]](#dataset-card-for-dataset-name)
9
  - [Table of Contents](#table-of-contents)
10
  - [Dataset Description](#dataset-description)
11
  - [Dataset Summary](#dataset-summary)
12
- - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
13
- - [Languages](#languages)
14
  - [Dataset Structure](#dataset-structure)
15
- - [Data Instances](#data-instances)
16
- - [Data Fields](#data-fields)
17
- - [Data Splits](#data-splits)
18
  - [Dataset Creation](#dataset-creation)
19
  - [Curation Rationale](#curation-rationale)
20
  - [Source Data](#source-data)
@@ -36,36 +49,44 @@ license: cc-by-nc-4.0
36
 
37
  ## Dataset Description
38
 
39
- - **Homepage:**
40
- - **Paper:**
41
- - **Leaderboard:**
42
- - **Point of Contact:**
43
 
44
  ### Dataset Summary
45
 
46
- [More Information Needed]
 
 
47
 
48
- ### Supported Tasks and Leaderboards
49
 
50
- [More Information Needed]
51
 
52
- ### Languages
 
53
 
54
- [More Information Needed]
55
 
56
- ## Dataset Structure
57
 
58
- ### Data Instances
 
 
 
 
 
 
 
 
 
 
 
59
 
60
- [More Information Needed]
61
 
62
- ### Data Fields
63
-
64
- [More Information Needed]
65
 
66
- ### Data Splits
67
 
68
- [More Information Needed]
69
 
70
  ## Dataset Creation
71
 
 
1
  ---
2
+ annotations_creators: []
3
+ language_creators:
4
+ - found
5
+ languages:
6
+ - Python, Java
7
+ licenses:
8
+ - cc-by-nc-nd-4.0
9
+ multilinguality:
10
+ - multilingual
11
+ pretty_name: RepoBench-Retrieval
12
+ size_categories:
13
+ - unknown
14
+ source_datasets:
15
+ - original
16
+ task_categories:
17
+ - text-retrieval
18
+ task_ids:
19
+ - document-retrieval
20
  ---
21
 
22
+ # Dataset Card for RepoBench-R
23
 
24
  ## Table of Contents
25
+ - [Dataset Card for RepoBench-R](#dataset-card-for-repobench-r)
26
  - [Table of Contents](#table-of-contents)
27
  - [Dataset Description](#dataset-description)
28
  - [Dataset Summary](#dataset-summary)
29
+ - [Supported Tasks](#supported-tasks)
 
30
  - [Dataset Structure](#dataset-structure)
 
 
 
31
  - [Dataset Creation](#dataset-creation)
32
  - [Curation Rationale](#curation-rationale)
33
  - [Source Data](#source-data)
 
49
 
50
  ## Dataset Description
51
 
52
+ - **Homepage:** https://github.com/Leolty/repobench
53
+ - **Paper:** https://arxiv.org/abs/2306.03091
54
+ - **Point of Contact:** til040@ucsd.edu
 
55
 
56
  ### Dataset Summary
57
 
58
+ RepoBench-R is a subtask of [RepoBench](https://github.com/Leolty/repobench), targeting the retrieval component of a repository-level auto-completion
59
+ system, focusing on extracting the most relevant code snippet from a project repository for next-line
60
+ code prediction.
61
 
62
+ ### Supported Tasks
63
 
64
+ The dataset supports two programming languages, Python and Java, and contains two settings:
65
 
66
+ - `cff`: short for `cross_file_first`, where the cross-file module in next line is first used in the current file.
67
+ - `cfr`: short for `cross_file_random`, where the cross-file module in next line is not first used in the current file.
68
 
69
+ For each setting, we provide two levels of difficulty: `easy` and `hard`. Suppose the number of code snippets in the context is $k$, then for the *easy* subset, we have $5 \leq k < 10$, while for the *hard* subset, we have $k \geq 10$.
70
 
71
+ So, the specific information of each split is as follows:
72
 
73
+ - `python_cff`:
74
+ - `easy`: 8,000 samples
75
+ - `hard`: 4,000 samples
76
+ - `python_cfr`:
77
+ - `easy`: 8,000 samples
78
+ - `hard`: 4,000 samples
79
+ - `java_cff`:
80
+ - `easy`: 8,000 samples
81
+ - `hard`: 4,000 samples
82
+ - `java_cfr`:
83
+ - `easy`: 8,000 samples
84
+ - `hard`: 4,000 samples
85
 
 
86
 
87
+ ## Dataset Structure
 
 
88
 
 
89
 
 
90
 
91
  ## Dataset Creation
92