boris commited on
Commit
c7fe380
1 Parent(s): 41b680b

feat: rename variables

Browse files
Files changed (1) hide show
  1. dev/inference/wandb-backend.ipynb +6 -4
dev/inference/wandb-backend.ipynb CHANGED
@@ -50,7 +50,7 @@
50
  "metadata": {},
51
  "outputs": [],
52
  "source": [
53
- "run_ids = ['he9rrc3q']\n",
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
- "top_k = None\n",
74
- "top_p = None\n",
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\n",
 
 
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"