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

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.