Unverified Commit e83e891d authored by Ogundepo Odunayo's avatar Ogundepo Odunayo Committed by GitHub
Browse files

fix wandb logger module import in example (#2041)

parent 3fa4fd72
...@@ -110,13 +110,15 @@ ...@@ -110,13 +110,15 @@
"cell_type": "markdown", "cell_type": "markdown",
"id": "e974cabdbe70b667", "id": "e974cabdbe70b667",
"metadata": {}, "metadata": {},
"source": "" "source": []
}, },
{ {
"cell_type": "markdown", "cell_type": "markdown",
"id": "5178ca9445b844e4", "id": "5178ca9445b844e4",
"metadata": {}, "metadata": {},
"source": "W&B can also be initialized programmatically for use outside the CLI to parse and log the results." "source": [
"W&B can also be initialized programmatically for use outside the CLI to parse and log the results."
]
}, },
{ {
"cell_type": "code", "cell_type": "code",
...@@ -126,7 +128,7 @@ ...@@ -126,7 +128,7 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"import lm_eval\n", "import lm_eval\n",
"from lm_eval.logging_utils import WandbLogger\n", "from lm_eval.loggers import WandbLogger\n",
"\n", "\n",
"results = lm_eval.simple_evaluate(\n", "results = lm_eval.simple_evaluate(\n",
" model=\"hf\",\n", " model=\"hf\",\n",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment