Skip to main content

A collection of pretrained models in Flax.

Project description

flax

Flax Models

A collection of pretrained models in Flax.

About

The goal of this project is to make current deep learning models more easily available for the awesome Jax/Flax ecosystem.

Models

Example Notebooks to play with on Colab

Installation

You will need Python 3.7 or later.

  1. For GPU usage, follow the Jax installation with CUDA.
  2. Then install:
    > pip install --upgrade git+https://github.com/matthias-wright/flaxmodels.git
    

For CPU-only you can skip step 1.

Documentation

The documentation for the models can be found here.

Checkpoints

The checkpoints are taken from the repositories that are referenced on the model pages. The processing steps and the format of the checkpoints are documented here.

Testing

To run the tests, pytest needs to be installed.

> git clone https://github.com/matthias-wright/flaxmodels.git
> cd flaxmodels
> python -m pytest tests/

See here for an explanation of the testing strategy.

Acknowledgments

Thank you to the developers of Jax and Flax. The title image is a photograph of a flax flower, kindly made available by Marta Matyszczyk.

License

Each model has an individual license.

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

flaxmodels-0.1.1.tar.gz (90.9 kB view details)

Uploaded Source

Built Distribution

flaxmodels-0.1.1-py3-none-any.whl (101.0 kB view details)

Uploaded Python 3

File details

Details for the file flaxmodels-0.1.1.tar.gz.

File metadata

  • Download URL: flaxmodels-0.1.1.tar.gz
  • Upload date:
  • Size: 90.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.5.0 pkginfo/1.7.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10

File hashes

Hashes for flaxmodels-0.1.1.tar.gz
Algorithm Hash digest
SHA256 42ba0e302ed343c1c7244f396a12706439037d3c48fdd23e067ed8de3ecd8ce2
MD5 128596517c06eee60d9b63fed6acacf6
BLAKE2b-256 b0ec4563bfe587a696e0f7b81d51ceec620b50d5092f06e27ac93aebfcbc30e8

See more details on using hashes here.

File details

Details for the file flaxmodels-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: flaxmodels-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 101.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.5.0 pkginfo/1.7.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10

File hashes

Hashes for flaxmodels-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab3559f4bf408c018b6cc9be6dafcf0f3f54b95f669f953416ed309a1a73112e
MD5 f37347950c8802c81ece7ec1251aff04
BLAKE2b-256 767c01fb4ea71faec53182135cef69bca58c2e48f351190aff7fd5d0b5342179

See more details on using hashes here.

Supported by

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