CodeRL logo

CodeRL

salesforce/CodeRL

CodeRL: Combines pretrained models and reinforcement learning for code generation.

GraphCanon updated 2w · GitHub synced 2w · 26 views this month

574 stars69 forksLast push 2mo Python BSD-3-Clause

Decision brief

CodeRL is an advanced tool that uses pretrained models and deep reinforcement learning to generate code.

Good fit when

  • When you need to generate complex and context-aware code snippets utilizing the latest in reinforcement learning techniques.
  • For projects where integration with Hugging Face's transformers library version 4.16.1 is desirable.

Avoid when

  • Avoid if your project requires only simple, quick code generation without deep reinforcement learning support.
  • Do not use if compatibility with versions of the Hugging Face transformers library other than 4.16.1 is critical to avoid potential issues.

Observed Jul 17, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Steady (63d since push)
As of 2w
Provenance
Not a fork · Organization account
As of 2w
Security (OSV)
29 low (29 low)
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install CodeRL
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Official implementation of CodeRL, which uses deep reinforcement learning with pretrained language models to master code generation tasks. Built on top of Hugging Face's transformers library version 4.16.1.

Capability facts

Languages
python

Source: github.language · Aug 5, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Aug 5, 2026)

`pip install -r requirements.txt`
Source link

Tags

README

Installation

The code requires some dependencies as specified in requirements.txt. Please follow the relevant libraries to install or run:

pip install -r requirements.txt

Install the transformers library from the source code (the current source code is developed from the original code of version 4.16.1):

cd transformers
pip install -e .

License

The code is released under BSD 3-Clause - see LICENSE.txt for details.

This code is developed from other open source projects: including APPS, HumanEval, and transformers. We thank the original contributors of these works for open-sourcing their valuable source codes.

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.