Update README.md
Browse files
README.md
CHANGED
|
@@ -20,4 +20,44 @@ configs:
|
|
| 20 |
path:
|
| 21 |
- sakuraeval/en.parquet
|
| 22 |
---
|
|
|
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
path:
|
| 21 |
- sakuraeval/en.parquet
|
| 22 |
---
|
| 23 |
+
# SakuraEval
|
| 24 |
|
| 25 |
+
## Dataset Description
|
| 26 |
+
SakuraEval is a Japan-specific code generation benchmark dataset.
|
| 27 |
+
It is designed independently and does not rely on translation from English benchmarks such as HumanEval or JHumanEval.
|
| 28 |
+
|
| 29 |
+
## Dataset Structure
|
| 30 |
+
```python
|
| 31 |
+
from datasets import load_dataset
|
| 32 |
+
load_dataset("kogi-jwu/sakuraeval", "ja")
|
| 33 |
+
DatasetDict({
|
| 34 |
+
test: Dataset({
|
| 35 |
+
features: ['task_id', 'category', 'prompt', 'canonical_solution', 'test', 'entry_point'],
|
| 36 |
+
num_rows: 164
|
| 37 |
+
})
|
| 38 |
+
})
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
## Data Fields
|
| 42 |
+
- task_id: Identifier for the data sample.
|
| 43 |
+
- category: Task category.
|
| 44 |
+
- prompt: Input for the model, including the function header and docstring that describes the task.
|
| 45 |
+
- canonical_solution: Solution to the problem presented in the prompt.
|
| 46 |
+
- test: Function(s) to test the generated code for correctness.
|
| 47 |
+
- entry_point: Entry point function to begin testing.
|
| 48 |
+
|
| 49 |
+
### Category Breakdown
|
| 50 |
+
| Category | Number of Tasks |
|
| 51 |
+
|----------------------------------|-----------------|
|
| 52 |
+
| 文化(Culture) | 34 |
|
| 53 |
+
| 風習(Customs) | 27 |
|
| 54 |
+
| 日本地理(Japanese Geography) | 10 |
|
| 55 |
+
| 公民・法律(Law and Civics) | 11 |
|
| 56 |
+
| 数学・科学(Math and Science) | 21 |
|
| 57 |
+
| 単位変換(Unit Conversion) | 11 |
|
| 58 |
+
| 日本語処理(Japanese Language) | 43 |
|
| 59 |
+
| その他(Other) | 7 |
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
## Languages
|
| 63 |
+
The dataset contains coding problems in 2 natural languages: English and Japanese.
|