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
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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