|
26 | 26 | },
|
27 | 27 | {
|
28 | 28 | "cell_type": "code",
|
29 |
| - "execution_count": 1, |
| 29 | + "execution_count": null, |
30 | 30 | "metadata": {},
|
31 | 31 | "outputs": [
|
32 | 32 | {
|
|
52 | 52 | ],
|
53 | 53 | "source": [
|
54 | 54 | "# ### Step 1: Importing the Necessary Modules\n",
|
55 |
| - "# To begin, let’s import the required modules for the Epstein Civil Violence model:\n", |
| 55 | + "# To begin, let's import the required modules for the Epstein Civil Violence model:\n", |
56 | 56 | "\n",
|
57 | 57 | "from epstein_civil_violence.model import EpsteinCivilViolenceRL\n",
|
58 | 58 | "from epstein_civil_violence.server import run_model\n",
|
59 | 59 | "from epstein_civil_violence.train_config import config\n",
|
60 | 60 | "from train import train_model\n",
|
61 | 61 | "\n",
|
62 |
| - "# Here’s a breakdown of the modules:\n", |
| 62 | + "# Here's a breakdown of the modules:\n", |
63 | 63 | "# - `EpsteinCivilViolenceRL`: Contains the core model and environment.\n",
|
64 | 64 | "# - `run_model`: Configures and runs the model for inference.\n",
|
65 | 65 | "# - `config`: Defines the parameters for training the model.\n",
|
|
93 | 93 | "# ### Step 3: Running the Environment with Random Actions\n",
|
94 | 94 | "\n",
|
95 | 95 | "# To get a feel for how the environment operates, let's run it for a few steps using random actions.\n",
|
96 |
| - "# We’ll sample the action space for these actions:\n", |
| 96 | + "# We'll sample the action space for these actions:\n", |
97 | 97 | "\n",
|
98 | 98 | "for _ in range(10):\n",
|
99 | 99 | " action_dict = {}\n",
|
|
0 commit comments