We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bac468 commit e42368eCopy full SHA for e42368e
site/en/gemma/docs/core/lora_tuning.ipynb
@@ -319,7 +319,7 @@
319
" instruction=\"What should I do on a trip to Europe?\",\n",
320
" response=\"\",\n",
321
")\n",
322
- "sampler = keras_nlp.samplers.TopKSampler(k=5, seed=2)\n",
+ "sampler = keras_hub.samplers.TopKSampler(k=5, seed=2)\n",
323
"gemma_lm.compile(sampler=sampler)\n",
324
"print(gemma_lm.generate(prompt, max_length=256))"
325
]
@@ -676,7 +676,7 @@
676
677
678
679
680
681
682
0 commit comments