This dataset contains 34999 examples and is synthetically created to enhance models' coding capabilities.
To generate diverse python coding questions, we expand the methodology in Ge et al., 2024 by using personas to ground the code completion question in real-world scenarios. More details and exact prompts used to construct the dataset can be found in our paper.
from datasets import load_dataset
dataset = load_dataset("allenai/tulu-3-personas-math")["train"]
Each example in the dataset contains the standard instruction-tuning data points as follow:
3 commits
This dataset contains 34999 examples and is synthetically created to enhance models' coding capabilities.
To generate diverse python coding questions, we expand the methodology in Ge et al., 2024 by using personas to ground the code completion question in real-world scenarios. More details and exact prompts used to construct the dataset can be found in our paper.
from datasets import load_dataset
dataset = load_dataset("allenai/tulu-3-personas-math")["train"]
Each example in the dataset contains the standard instruction-tuning data points as follow:
3 commits