[Paper Review] WanJuan: A Comprehensive Multimodal Dataset for Advancing English and Chinese Large Models
WanJuan is a large-scale multilingual (Chinese-English) multimodal dataset (text, image-text, video) totaling over 2TB, released to support training of LLMs/MLLMs and evaluation, with safety and quality filtering.
The rise in popularity of ChatGPT and GPT-4 has significantly accelerated the development of large models, leading to the creation of numerous impressive large language models(LLMs) and multimodal large language models (MLLMs). These cutting-edge models owe their remarkable performance to high-quality data. However, the details of the training data used in leading paradigms are often kept confidential. This lack of transparency, coupled with the scarcity of open-source data, impedes further developments within the community. As a response, this paper presents "Wan Juan", a large-scale multimodal dataset composed of both Chinese and English data, collected from a wide range of web sources. The dataset incorporates text, image-text, and video modalities, with a total volume exceeding 2TB. It was utilized in the training of InternLM, a model that demonstrated significant advantages in multi-dimensional evaluations when compared to models of a similar scale. All data can be accessed at https://opendatalab.org.cn/WanJuan1.0.
Motivation & Objective
- Provide a large-scale multimodal training corpus in Chinese and English from diverse web sources.
- Ensure safety, high quality, and value alignment through algorithmic processing and manual verification.
- Offer a unified JSON format, download tools, and documentation to facilitate vanilla and fine-tuning training for large models.
Proposed method
- Collect text, image-text, and video data from diverse web sources in English and Chinese.
- Apply multi-stage cleaning and filtering to remove inappropriate content and low-quality data (pornography, violence, bias, auto-generated content).
- Use language detection, deduplication (MinHashLSH, n-grams), and quality/safety classifiers (FastText) for data screening.
- Process image-text data with site-specific parsing rules and content-only extraction for article bodies (Wikipedia headers preserved).
- Standardize data into a unified JSON format and provide download tools and documentation for easy use.
Experimental results
Research questions
- RQ1What is the composition and scaling of a bilingual multimodal corpus suitable for training LLMs/MLLMs?
- RQ2How can large-scale multilingual data be cleaned and aligned for safety, quality, and value orientation?
- RQ3What is the impact of diverse modalities (text, image-text, video) on pretraining outcomes for English-Chinese models?
Key findings
- The text data component comprises over 600 million documents with a storage size exceeding 1TB (text data total 624M files, 1019.7 GB).
- Interleaved image-text data comprises over 22 million documents with a size over 200 GB (images delivered via URL).
- Video data includes over 1000 videos with a size exceeding 900 GB.
- The dataset emphasizes safety, high quality, and value alignment through algorithmic processing and manual verification.
- The dataset provides a unified JSON processing format, a dataset download tool, and supporting documentation for rapid model training.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.