Skip to content

Commit

Permalink
Documentation nits (#756)
Browse files Browse the repository at this point in the history
* Fix heading level in tutorial.

* Fix capitalization of algorithm article titles.
  • Loading branch information
ernestum authored Jul 17, 2023
1 parent fdcb36e commit 2743c28
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/algorithms/density.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _density docs:

=============================
Density-based reward modeling
Density-Based Reward Modeling
=============================

Density-based reward modeling is an inverse reinforcement learning (IRL) technique that assigns higher rewards
Expand Down
2 changes: 1 addition & 1 deletion docs/algorithms/preference_comparisons.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _preference comparisons docs:

======================
Preference comparisons
Preference Comparisons
======================

The preference comparison algorithm learns a reward function from preferences between pairs of trajectories.
Expand Down
6 changes: 3 additions & 3 deletions docs/tutorials/8_train_custom_env.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Step 2: create the environment"
"## Step 2: create the environment"
]
},
{
Expand All @@ -88,7 +88,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Step 2a (recommended): add the environment to the gym registry"
"### Step 2a (recommended): add the environment to the gym registry"
]
},
{
Expand Down Expand Up @@ -165,7 +165,7 @@
"metadata": {},
"source": [
"\n",
"## Step 2b: directly use the environment\n",
"### Step 2b: directly use the environment\n",
"\n",
"Alternatively, we can directly initialize the environment by instantiating the class we created earlier, and handle all the additional logic ourselves."
]
Expand Down

0 comments on commit 2743c28

Please sign in to comment.