Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f3d38dd

Browse filesBrowse files
authored
fix: hugging face api empty string error (NVIDIA#388)
1 parent 3a9bd2d commit f3d38dd
Copy full SHA for f3d38dd

File tree

Expand file treeCollapse file tree

2 files changed

+4
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+4
-4
lines changed
Open diff view settings
Collapse file

‎nemo/Evaluator/Custom LLM-as-a-Judge/llm-as-a-judge-notebook.ipynb‎

Copy file name to clipboardExpand all lines: nemo/Evaluator/Custom LLM-as-a-Judge/llm-as-a-judge-notebook.ipynb
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
},
181181
{
182182
"cell_type": "code",
183-
"execution_count": 12,
183+
"execution_count": null,
184184
"metadata": {},
185185
"outputs": [
186186
{
@@ -205,7 +205,7 @@
205205
"source": [
206206
"from huggingface_hub import HfApi\n",
207207
"\n",
208-
"hf_api = HfApi(endpoint=f\"{NDS_URL}/v1/hf\", token=\"\")\n",
208+
"hf_api = HfApi(endpoint=f\"{NDS_URL}/v1/hf\", token=None)\n",
209209
"\n",
210210
"# Create repo\n",
211211
"hf_api.create_repo(\n",
Collapse file

‎nemo/Evaluator/Prompt Optimization/Prompt Optimization.ipynb‎

Copy file name to clipboardExpand all lines: nemo/Evaluator/Prompt Optimization/Prompt Optimization.ipynb
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
},
139139
{
140140
"cell_type": "code",
141-
"execution_count": 252,
141+
"execution_count": null,
142142
"metadata": {},
143143
"outputs": [
144144
{
@@ -171,7 +171,7 @@
171171
"NAMESPACE = \"llm-judge\"\n",
172172
"DATASET_NAME = \"hs2-short\"\n",
173173
"\n",
174-
"hf_api = HfApi(endpoint=HF_ENDPOINT, token=\"mock\")\n",
174+
"hf_api = HfApi(endpoint=HF_ENDPOINT, token=None)\n",
175175
"repo_id = f\"{NAMESPACE}/{DATASET_NAME}\"\n",
176176
"\n",
177177
"# Create the dataset repo if it doesn't exist\n",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.