Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
lm-evaluation-harness
Commits
e83e891d
"doc/vscode:/vscode.git/clone" did not exist on "4f4ed36442894fa8a0b2f228c8ec89453c740c8d"
Unverified
Commit
e83e891d
authored
Jul 01, 2024
by
Ogundepo Odunayo
Committed by
GitHub
Jul 01, 2024
Browse files
fix wandb logger module import in example (#2041)
parent
3fa4fd72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
examples/visualize-wandb.ipynb
examples/visualize-wandb.ipynb
+5
-3
No files found.
examples/visualize-wandb.ipynb
View file @
e83e891d
...
@@ -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.logg
ing_util
s import WandbLogger\n",
"from lm_eval.logg
er
s import WandbLogger\n",
"\n",
"\n",
"results = lm_eval.simple_evaluate(\n",
"results = lm_eval.simple_evaluate(\n",
" model=\"hf\",\n",
" model=\"hf\",\n",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment