Datasets:
Tasks:
Text Generation
Modalities:
Text
Sub-tasks:
document-retrieval
Size:
100K - 1M
ArXiv:
Tags:
code
License:
update README
Browse files
README.md
CHANGED
|
@@ -47,7 +47,7 @@ code prediction.
|
|
| 47 |
|
| 48 |
## Loading Data
|
| 49 |
|
| 50 |
-
For example, if you want to load the `test` set to test your model on `Python` code prediction with `
|
| 51 |
|
| 52 |
```python
|
| 53 |
from datasets import load_dataset
|
|
@@ -55,6 +55,8 @@ from datasets import load_dataset
|
|
| 55 |
dataset = load_dataset("tianyang/repobench-c", "python_cff", split="test")
|
| 56 |
```
|
| 57 |
|
|
|
|
|
|
|
| 58 |
## Dataset Structure
|
| 59 |
|
| 60 |
```json
|
|
|
|
| 47 |
|
| 48 |
## Loading Data
|
| 49 |
|
| 50 |
+
For example, if you want to load the `test` set to test your model on `Python` code prediction with `cff` setting, you can do the following:
|
| 51 |
|
| 52 |
```python
|
| 53 |
from datasets import load_dataset
|
|
|
|
| 55 |
dataset = load_dataset("tianyang/repobench-c", "python_cff", split="test")
|
| 56 |
```
|
| 57 |
|
| 58 |
+
> Note: The `split` argument is optional. If not provided, the entire dataset will be loaded.
|
| 59 |
+
|
| 60 |
## Dataset Structure
|
| 61 |
|
| 62 |
```json
|