Skip to content

Machine (mainly reinforcement) learning algorithms using JAX

License

Notifications You must be signed in to change notification settings

chanb/jax_learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JAX Learning

This repository provides learning algorithms using JAX, built on top of Equinox and Optax.

Installation

Prerequisites

  • Python 3.10

You may simply install this package using pip.

cd ${JAX_LEARNING_PATH}
pip install -e .

Running wandb local instance:

  1. Install Docker
  2. Install Weights & Biases Local docker image: docker pull wandb/local
  3. Start docker container docker run --rm -d -v wandb:/vol -p 8080:8080 --name wandb-local wandb/local
  4. You can now reach the dashboard via http://localhost:8080
  5. If you are setting this up for the first time, create a license from Deployer and add it to the local instance. Create an account on the local instance and copy the API key.
  6. Login to the local instance: wandb login --host=http://localhost:8080. Use the copied API key from step 5 if necessary.

Reference

Code Formatting

We use Black code formatter as our standard. Run black jax_learning to format the full codebase.

Citation

Please consider citing this repository if you use/extend this codebase in your work:

@misc{jax_learning,
  author = {Chan, Bryan},
  title = {JAX Learning},
  year = {2022},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/chanb/jax_learning}},
}

About

Machine (mainly reinforcement) learning algorithms using JAX

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published