← all repositories

google/grain

Google's library for reading and processing ML training data with declarative dataset transformations.

740 stars Python Data ToolingML Frameworks
grain
Velocity · 7d
+0.5
★ / day
Trend
steady
star history

Grain is a Python library for reading and processing data for training and evaluating ML models, with a primary focus on JAX. It provides declarative dataset transformations including shuffle, map, and batch operations. While designed for JAX workflows, it is framework-agnostic and can be used with other ML frameworks.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.