Haiku is a library built on top of JAX designed to provide simple, composable abstractions for machine learning research. Haiku is a simple neural network library for JAX that enables users to use familiar object-oriented programming models while allowing full access to JAX’s pure function transformations. Haiku is designed to make the common things we do such as managing model parameters and other model state simpler and similar in spirit to the Sonnet library that has been widely used across DeepMind. It preserves Sonnet’s module-based programming model for state management while retaining access to JAX’s function transformations. Haiku can be expected to compose with other libraries and work well with the rest of JAX. Similar to Sonnet modules, Haiku modules are Python objects that hold references to their own parameters, other modules, and methods that apply functions on user inputs.

Features

  • JAX is a numerical computing library that combines NumPy
  • Haiku provides two core tools: a module abstraction
  • Haiku is a simple neural network library for JAX
  • hk.Modules are Python objects that hold references to their own parameters
  • Haiku has been tested by researchers at DeepMind at scale.
  • Haiku is a library, not a framework

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Haiku

Haiku Web Site

Other Useful Business Software
Run Any Workload on Compute Engine VMs Icon
Run Any Workload on Compute Engine VMs

From dev environments to AI training, choose preset or custom VMs with 1–96 vCPUs and industry-leading 99.95% uptime SLA.

Compute Engine delivers high-performance virtual machines for web apps, databases, containers, and AI workloads. Choose from general-purpose, compute-optimized, or GPU/TPU-accelerated machine types—or build custom VMs to match your exact specs. With live migration and automatic failover, your workloads stay online. New customers get $300 in free credits.
Try Compute Engine
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Haiku!

Additional Project Details

Programming Language

Python

Related Categories

Python Libraries, Python Machine Learning Software, Python Neural Network Libraries

Registered

2022-08-09