From the paper "M2D2: A Massively Multi-domain Language Modeling Dataset", (Reid et al., EMNLP 2022)
Load the dataset as follows:
import datasets
dataset = datasets.load_dataset("machelreid/m2d2", "cs.CL") # replace cs.CL with the domain of your choice
Culture_and_the_arts
Culture_and_the_arts__Culture_and_Humanities
Culture_and_the_arts__Games_and_Toys… See the full description on the dataset page:
https://huggingface.co/datasets/machelreid/m2d2.