Spaces:
Running
Running
feat: rename variables
Browse files
dev/inference/wandb-backend.ipynb
CHANGED
@@ -50,7 +50,7 @@
|
|
50 |
"metadata": {},
|
51 |
"outputs": [],
|
52 |
"source": [
|
53 |
-
"run_ids = ['
|
54 |
"# poorly shuffled 1nj161cl\n",
|
55 |
"# well shuffled he9rrc3q\n",
|
56 |
"# non normalized 1fwxpyfh ! requires changing normalize_text\n",
|
@@ -70,8 +70,8 @@
|
|
70 |
"outputs": [],
|
71 |
"source": [
|
72 |
"# model.generate parameters - Not used yet\n",
|
73 |
-
"
|
74 |
-
"
|
75 |
"temperature = None"
|
76 |
]
|
77 |
},
|
@@ -213,7 +213,9 @@
|
|
213 |
" do_sample=True,\n",
|
214 |
" num_beams=1,\n",
|
215 |
" prng_key=key,\n",
|
216 |
-
" params=params
|
|
|
|
|
217 |
" )\n",
|
218 |
" \n",
|
219 |
" return _generate"
|
|
|
50 |
"metadata": {},
|
51 |
"outputs": [],
|
52 |
"source": [
|
53 |
+
"run_ids = ['2u5lk3uw']\n",
|
54 |
"# poorly shuffled 1nj161cl\n",
|
55 |
"# well shuffled he9rrc3q\n",
|
56 |
"# non normalized 1fwxpyfh ! requires changing normalize_text\n",
|
|
|
70 |
"outputs": [],
|
71 |
"source": [
|
72 |
"# model.generate parameters - Not used yet\n",
|
73 |
+
"gen_top_k = None\n",
|
74 |
+
"gen_top_p = None\n",
|
75 |
"temperature = None"
|
76 |
]
|
77 |
},
|
|
|
213 |
" do_sample=True,\n",
|
214 |
" num_beams=1,\n",
|
215 |
" prng_key=key,\n",
|
216 |
+
" params=params,\n",
|
217 |
+
" top_k=gen_top_k,\n",
|
218 |
+
" top_p=gen_top_p\n",
|
219 |
" )\n",
|
220 |
" \n",
|
221 |
" return _generate"
|