MMC4
320 million image-text pairs, 26TB, collected in January 2024, fewer faces v1.1 version, https://github.com/allenai/mmc4/blob/main/README.md
MMC4 (Multimodal C4) is a large-scale multimodal dataset that adds interleaved text and image content to the pure text C4 corpus. It contains over 100 million documents and 585 million images, fully preserving the original interleaved structure of text and images on the web pages.
A multimodal corpus at web scale, supporting the training of next-generation vision-language models
Over 100 million documents, containing interleaved images and text, covering a wide range of web content, with unprecedented scale.
Expanded from the mature Colossal Clean Crawled Corpus (C4) text corpus, inheriting its high-quality text cleaning processes.
Using CLIP similarity scoring to validate the quality of image-text alignment, ensuring semantic relevance between images and contextual text.
Fully preserves the original arrangement of text and images on the web page, with images embedded in their natural positions within the document, rather than simple image-text pairing.
Cross-document deduplication mechanisms effectively reduce redundant data, enhance training efficiency, and prevent the model from overfitting to duplicate content.
Achieves optimal image-sentence matching through linear and allocation algorithms, accurately determining the best associated sentence for each image in the document.
Empowering cutting-edge research from multimodal pre-training to interleaved content generation
Training models for few-shot multimodal reasoning, utilizing interleaved text and images to achieve In-Context Learning capabilities
Training foundational models on diverse web content to build powerful visual-language foundational models
Studying the semantic relationships between visual content and text content to advance cross-modal understanding technology
Generating documents that contain coherent text and reasonable image placements, achieving interleaved multimodal content creation
Quickly access the MMC4 dataset through the Ace Data Cloud API
import requests
# Set your API token
API_TOKEN = "your_api_token_here"
# Request MMC4 dataset
response = requests.get(
"https://api.acedata.cloud/datasets/mmc4",
headers={
"Authorization": f"Bearer {API_TOKEN}",
"Content-Type": "application/json"
},
params={
"limit": 10,
"offset": 0
}
)
# Parse the response
data = response.json()
for doc in data.get("documents", []):
print(f"Document ID: {doc['id']}")
print(f"Text length: {len(doc['text'])} chars")
print(f"Images: {len(doc['images'])} items")
print("---")
From registration to usage, you can start accessing MMC4 data in just a few minutes
Visit platform.acedata.cloud to register for an Ace Data Cloud platform account and quickly complete identity verification.
Create an API key in the console to obtain your exclusive Bearer Token for interface authentication.
Use the API endpoint /datasets/mmc4 to start querying and downloading MMC4 multimodal data.
Over 100 million documents, 585 million images, 43B text tokens. Whether for multimodal pre-training or interleaved content generation research, MMC4 is the ideal choice.