Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Dataset description

This dataset consists of sequences of Python code followed by a a docstring explaining its function. It was constructed by concatenating code and text pairs from this dataset that were originally code and markdown cells in Jupyter Notebooks.

The content of each example the following:

[CODE]
"""
Explanation: [TEXT]
End of explanation
"""
[CODE]
"""
Explanation: [TEXT]
End of explanation
"""
...

How to use it

from datasets import load_dataset

ds = load_dataset("codeparrot/github-jupyter-code-to-text", split="train")
Dataset({
    features: ['repo_name', 'path', 'license', 'content'],
    num_rows: 47452
})
Downloads last month
159

Models trained or fine-tuned on codeparrot/github-jupyter-code-to-text

Spaces using codeparrot/github-jupyter-code-to-text 5