Datasets:
lintangsutawika commited on
Commit ·
a310574
1
Parent(s): 58c58e9
add test data
Browse files- README.md +32 -0
- data/test.jsonl +0 -0
README.md
CHANGED
|
@@ -1,3 +1,35 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- python
|
| 5 |
+
- cpp
|
| 6 |
+
- go
|
| 7 |
+
- java
|
| 8 |
+
- rust
|
| 9 |
+
- javascript
|
| 10 |
+
- typescript
|
| 11 |
+
- php
|
| 12 |
+
- ruby
|
| 13 |
+
task_categories:
|
| 14 |
+
- text-generation
|
| 15 |
---
|
| 16 |
+
|
| 17 |
+
# LeetCode multilingual benchmark dataset
|
| 18 |
+
|
| 19 |
+
Post-interface problem rows for the msl-multilingual-self-learning benchmark. Each
|
| 20 |
+
JSON line is one LeetCode problem with the 9-language callable `interfaces`,
|
| 21 |
+
`canonical_tests` (a Python check(candidate) oracle), `problem_description`, and
|
| 22 |
+
`metadata`.
|
| 23 |
+
|
| 24 |
+
## Splits
|
| 25 |
+
|
| 26 |
+
- `train`: 2878 problems (all-9-language universe minus the newfacade test split).
|
| 27 |
+
- `test`: 201 problems (held-out eval).
|
| 28 |
+
|
| 29 |
+
## Load
|
| 30 |
+
|
| 31 |
+
```python
|
| 32 |
+
from datasets import load_dataset
|
| 33 |
+
train = load_dataset("neulab/leetcode", split="train")
|
| 34 |
+
test = load_dataset("neulab/leetcode", split="test")
|
| 35 |
+
```
|
data/test.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|