Skip to main content

JAX models for deep learning

Project description

Jaxonmodels

This library consists of deep learning model implementations in JAX using Equinox as the neural network library.

The goal of this library is to provide simple, yet performant and easy to understand implementations with the aim to give exactly the same output as their Pytorch counterparts. As such, great emphasis is placed on making sure that the layers and the models behave accordingly.

Using statedict2pytree we can also load the Pytorch model weights into the JAX models.

Some models will have inadvertently repeated code, but this is fine so long as the model remains self contained for the most part.

Implemented Models

These models have been implemented:

  • AlexNet
  • CLIP
  • EfficientNet
  • ResNet
  • ViT
  • Mamba
  • ConvNext
  • Swin Transformer

Contributing

If you have a model that you would like to include, then just open up a PR. It should contain your model and ideally a few tests showcasing that the model (and its components) behave like their Pytorch versions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jaxonmodels-0.2.1.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jaxonmodels-0.2.1-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file jaxonmodels-0.2.1.tar.gz.

File metadata

  • Download URL: jaxonmodels-0.2.1.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for jaxonmodels-0.2.1.tar.gz
Algorithm Hash digest
SHA256 ebf3e95f2666e1cb6d3acc4b923fb88f6ead44f3edd6de4e13d5136064e92620
MD5 414275c3f7f1011999071e1461059f47
BLAKE2b-256 d0be0a8fffed840c845d53ff0baed01f068d2646115caca00b1a0dcc061e3713

See more details on using hashes here.

File details

Details for the file jaxonmodels-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: jaxonmodels-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for jaxonmodels-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4b32f150613aa271678955189b5c133941ccf951d9e7b53f5a755a9e1a4f6f1b
MD5 4fdc8e0a2a9fe3f1fb0e0452897e9ded
BLAKE2b-256 107c10b5197a103fa0f56ce6b6509ceb702e0df272f44c81cf0bde8e87ae4839

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page