# Stable Baselines Jax (SB3 + JAX = SBX)
See https://github.com/araffin/sbx
Proof of concept version of [Stable-Baselines3](https://github.com/DLR-RM/stable-baselines3) in Jax.
Implemented algorithms:
- [Soft Actor-Critic (SAC)](https://arxiv.org/abs/1801.01290) and [SAC-N](https://arxiv.org/abs/2110.01548)
- [Truncated Quantile Critics (TQC)](https://arxiv.org/abs/2005.04269)
- [Dropout Q-Functions for Doubly Efficient Reinforcement Learning (DroQ)](https://openreview.net/forum?id=xCVJMsPv3RT)
- [Proximal Policy Optimization (PPO)](https://arxiv.org/abs/1707.06347)
- [Deep Q Network (DQN)](https://arxiv.org/abs/1312.5602)
- [Twin Delayed DDPG (TD3)](https://arxiv.org/abs/1802.09477)
- [Deep Deterministic Policy Gradient (DDPG)](https://arxiv.org/abs/1509.02971)
- [Batch Normalization in Deep Reinforcement Learning (CrossQ)](https://openreview.net/forum?id=PczQtTsTIX)
## Example
```python
from sbx import DDPG, DQN, PPO, SAC, TD3, TQC, DroQ, CrossQ
model = TQC("MlpPolicy", "Pendulum-v1", verbose=1)
model.learn(total_timesteps=10_000, progress_bar=True)
Raw data
{
"_id": null,
"home_page": "https://github.com/araffin/sbx",
"name": "sbx-rl",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "reinforcement-learning-algorithms reinforcement-learning machine-learning gym openai stable baselines toolbox python data-science",
"author": "Antonin Raffin",
"author_email": "antonin.raffin@dlr.de",
"download_url": "https://files.pythonhosted.org/packages/a5/4a/dd22d1cedc075c891caf40d62bdf0f07fede8657e6893568b7c6c770640c/sbx-rl-0.13.0.tar.gz",
"platform": null,
"description": "\n\n# Stable Baselines Jax (SB3 + JAX = SBX)\n\nSee https://github.com/araffin/sbx\n\nProof of concept version of [Stable-Baselines3](https://github.com/DLR-RM/stable-baselines3) in Jax.\n\nImplemented algorithms:\n- [Soft Actor-Critic (SAC)](https://arxiv.org/abs/1801.01290) and [SAC-N](https://arxiv.org/abs/2110.01548)\n- [Truncated Quantile Critics (TQC)](https://arxiv.org/abs/2005.04269)\n- [Dropout Q-Functions for Doubly Efficient Reinforcement Learning (DroQ)](https://openreview.net/forum?id=xCVJMsPv3RT)\n- [Proximal Policy Optimization (PPO)](https://arxiv.org/abs/1707.06347)\n- [Deep Q Network (DQN)](https://arxiv.org/abs/1312.5602)\n- [Twin Delayed DDPG (TD3)](https://arxiv.org/abs/1802.09477)\n- [Deep Deterministic Policy Gradient (DDPG)](https://arxiv.org/abs/1509.02971)\n- [Batch Normalization in Deep Reinforcement Learning (CrossQ)](https://openreview.net/forum?id=PczQtTsTIX)\n\n## Example\n\n```python\nfrom sbx import DDPG, DQN, PPO, SAC, TD3, TQC, DroQ, CrossQ\n\nmodel = TQC(\"MlpPolicy\", \"Pendulum-v1\", verbose=1)\nmodel.learn(total_timesteps=10_000, progress_bar=True)\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Jax version of Stable Baselines, implementations of reinforcement learning algorithms.",
"version": "0.13.0",
"project_urls": {
"Homepage": "https://github.com/araffin/sbx"
},
"split_keywords": [
"reinforcement-learning-algorithms",
"reinforcement-learning",
"machine-learning",
"gym",
"openai",
"stable",
"baselines",
"toolbox",
"python",
"data-science"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5f46cd13ba1ebd99a029ad604ce9ab1eeb406c337917b4dd9aee89a55e48a4c1",
"md5": "b038048979fd427fe51633abee824e79",
"sha256": "c2aec0f5298b65f3a4ae216dee123cf3f9181fc67d1c3c58e2d627c5db28347b"
},
"downloads": -1,
"filename": "sbx_rl-0.13.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b038048979fd427fe51633abee824e79",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 57666,
"upload_time": "2024-04-03T10:18:57",
"upload_time_iso_8601": "2024-04-03T10:18:57.958299Z",
"url": "https://files.pythonhosted.org/packages/5f/46/cd13ba1ebd99a029ad604ce9ab1eeb406c337917b4dd9aee89a55e48a4c1/sbx_rl-0.13.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a54add22d1cedc075c891caf40d62bdf0f07fede8657e6893568b7c6c770640c",
"md5": "d1796145cc4b023920cf90c0f59eb085",
"sha256": "eb943b1121c727b1418e41e07d4eba737749fb096b1287039b6e824e8a67289b"
},
"downloads": -1,
"filename": "sbx-rl-0.13.0.tar.gz",
"has_sig": false,
"md5_digest": "d1796145cc4b023920cf90c0f59eb085",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 43180,
"upload_time": "2024-04-03T10:19:07",
"upload_time_iso_8601": "2024-04-03T10:19:07.785424Z",
"url": "https://files.pythonhosted.org/packages/a5/4a/dd22d1cedc075c891caf40d62bdf0f07fede8657e6893568b7c6c770640c/sbx-rl-0.13.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-03 10:19:07",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "araffin",
"github_project": "sbx",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "sbx-rl"
}