Update README.md
Browse files
README.md
CHANGED
|
@@ -6563,3 +6563,61 @@ configs:
|
|
| 6563 |
- split: test
|
| 6564 |
path: data/test-*
|
| 6565 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6563 |
- split: test
|
| 6564 |
path: data/test-*
|
| 6565 |
---
|
| 6566 |
+
|
| 6567 |
+
# 📄 Paper2Code: Automating Code Generation from Scientific Papers in Machine Learning
|
| 6568 |
+
- **Repository:** [https://github.com/going-doer/Paper2Code]
|
| 6569 |
+
- **Paper** [https://arxiv.org/abs/2504.17192]
|
| 6570 |
+
|
| 6571 |
+
## Paper2Code Benchmark
|
| 6572 |
+
|
| 6573 |
+
### Dataset Description
|
| 6574 |
+
|
| 6575 |
+
The Paper2Code Benchmark is designed to evaluate the ability to reproduce methods and experiments described in scientific papers.<br/>
|
| 6576 |
+
We collected 90 papers from ICML 2024, NeurIPS 2024, and ICLR 2024, selecting only those with publicly available GitHub repositories.<br/>
|
| 6577 |
+
To ensure manageable complexity, we filtered for repositories with fewer than 70,000 tokens.
|
| 6578 |
+
|
| 6579 |
+
Using a model-based evaluation, we selected the top 30 papers from each conference based on repository quality.
|
| 6580 |
+
|
| 6581 |
+
For more details, refer to Section 4.1 "Paper2Code Benchmark" of the paper.
|
| 6582 |
+
|
| 6583 |
+
|
| 6584 |
+
## Uses
|
| 6585 |
+
|
| 6586 |
+
<!-- Address questions around how the dataset is intended to be used. -->
|
| 6587 |
+
```python
|
| 6588 |
+
from datasets import load_dataset
|
| 6589 |
+
|
| 6590 |
+
dataset = load_dataset("iaminju/paper2code", split="test")
|
| 6591 |
+
```
|
| 6592 |
+
|
| 6593 |
+
For access to the benchmark files (including pdf files), please refer to the [**Paper2Code data directory**](https://github.com/going-doer/Paper2Code/tree/main/data/paper2code) in our GitHub repository.
|
| 6594 |
+
|
| 6595 |
+
## Dataset Structure
|
| 6596 |
+
|
| 6597 |
+
<!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
|
| 6598 |
+
```
|
| 6599 |
+
Dataset({
|
| 6600 |
+
features: ['paper', 'source', 'repo_name', 'repo_url', 'paper_json', 'paper_cleaned_json', 'conference'],
|
| 6601 |
+
num_rows: 90
|
| 6602 |
+
})
|
| 6603 |
+
```
|
| 6604 |
+
- `paper`: Title of the paper.
|
| 6605 |
+
- `source`: Presentation type — oral or poster.
|
| 6606 |
+
- `repo_name`: Name of the repository provided by the original authors.
|
| 6607 |
+
- `repo_url`: URL of the repository provided by the original authors.
|
| 6608 |
+
- `paper_json`: Parsed JSON version of the paper. We use [s2orc-doc2json](https://github.com/allenai/s2orc-doc2json) for this conversion.
|
| 6609 |
+
- `paper_cleaned_json`: Preprocessed version of the paper used by PaperCoder.
|
| 6610 |
+
- `conference`: The conference where the paper was accepted - icml2024, iclr2024 or nips2024
|
| 6611 |
+
|
| 6612 |
+
|
| 6613 |
+
## Citation
|
| 6614 |
+
|
| 6615 |
+
<!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
|
| 6616 |
+
```
|
| 6617 |
+
@article{seo2025paper2code,
|
| 6618 |
+
title={Paper2Code: Automating Code Generation from Scientific Papers in Machine Learning},
|
| 6619 |
+
author={Seo, Minju and Baek, Jinheon and Lee, Seongyun and Hwang, Sung Ju},
|
| 6620 |
+
year={2025},
|
| 6621 |
+
url={https://arxiv.org/pdf/2504.17192}
|
| 6622 |
+
}
|
| 6623 |
+
```
|