
Security News
High Salaries No Longer Enough to Attract Top Cybersecurity Talent
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
bbrl
- A Flexible and Simple Library for Reinforcement Learning deriving from SaLinA
BBRL stands for "BlackBoard Reinforcement Learning". Initially, this library was a fork of the SaLinA library. But SaLinA is a general model for sequential learning whereas BBRL is dedicated to RL, thus it focuses on a subset of SaLinA. Morevover, BBRL is designed for education purpose (in particular, to teach various RL algorithms, concepts and phenomena). Thus the fork slowly drifted away from SaLinA and became independent after a few months, even if some parts of the code are still inherited from SaLinA.
bbrl
is a lightweight library extending PyTorch modules for developping Reinforcement Learning models
bbrl
BBRL being inspired from SaLinA, please use this bibtex if you want to cite BBRL in your publications:
Link to the paper: SaLinA: Sequential Learning of Agents
@misc{salina,
author = {Ludovic Denoyer, Alfredo de la Fuente, Song Duong, Jean-Baptiste Gaya, Pierre-Alexandre Kamienny, Daniel H. Thompson},
title = {SaLinA: Sequential Learning of Agents},
year = {2021},
publisher = {Arxiv},
howpublished = {\url{https://github.com/facebookresearch/salina}},
}
conda create bbrl_env
; conda activate bbrl_env
)pip install -e .
April 2024:
March 2024:
May-June 2023:
August 2022:
May 2022:
March 2022:
BBRL only contains core classes to implement RL algorithms.
Because both notations coexist in the literature, the GymAgent classes support the case where doing action $a_t$ in state $s_t$ results in reward $r_t$, and the case where it results in reward $r_{t+1}$.
Some output string were corrected, some variable were renamed and some comments were improved to favor code readability.
A few small bugs in SaLinA were fixed:
get_transitions()
function in the Workspace class.To help you understand how to use BBRL, we have written a doc here
If you want to learn RL on your own using BBRL, you can do so from the following online material
Most of the notebooks below can be run under jupyter notebook as well as under Google colaboratory. In any case, download it on your disk and run it with your favorite notebook environment:
conda activate bbrl_env
(for instance)
jupyter notebook
the notebook opens in your browser
bbrl
in your favorite coding environmentHave a look at the bbrl_algos library.
See contributing
bbrl
utilizes pytorch
, hydra
for configuring experiments, and gymnasium
for reinforcement learning algorithms. See requirements.txt for more details.
bbrl
is released under the MIT license. See LICENSE for additional details about it.
FAQs
RL library inspired from salina
We found that bbrl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.
Security News
Corepack will be phased out from future Node.js releases following a TSC vote.