Flax Models
About
The goal of this project is to make current deep learning models more easily available for the awesome Jax/Flax ecosystem.
Models
- GPT2 [model]
- StyleGAN2 [model] [training]
- ResNet{18, 34, 50, 101, 152} [model] [training]
- VGG{16, 19} [model] [training]
- FewShotGanAdaption [model] [training]
Installation
You will need Python 3.7 or later.
- For GPU usage, follow the Jax installation with CUDA.
- 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.
Metadata
Release files for flaxmodels 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flaxmodels-0.1.3.tar.gz | 102.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flaxmodels-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 218.5 kB
Release files / flaxmodels-0.1.3.tar.gz
| Download URL | flaxmodels-0.1.3.tar.gz |
|---|---|
| Size | 102.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9242f2f780303710762b31156d0db77b647dc68e5c160e40f586428df3808f5c
|
|
BLAKE2b-256 checksum How to use checksums |
bf1f89f058c8758398e99387e55c23de4cf2992c1b202caddfd5492e06701a10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / flaxmodels-0.1.3-py3-none-any.whl
| Download URL | flaxmodels-0.1.3-py3-none-any.whl |
|---|---|
| Size | 115.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc560089f2dcc46e04c99f7e44619f532bb7a436ef29409b5a84a63074e445da
|
|
BLAKE2b-256 checksum How to use checksums |
f066f199161f39d563eadecbce77cde8c6817b0061a3509134b8b2b8b51e35cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|