Skip to content

Commit

Permalink
notebook for RAG using gemma, huggingface and elastic
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishtiwari1993 committed Mar 5, 2024
1 parent df2fdd1 commit a108f2a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions notebooks/integrations/gemma/rag-gemma-huggingface-elastic.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -249,15 +249,15 @@
"outputs": [],
"source": [
"pipe = pipeline(\n",
" \"text-generation\",\n",
" model=model,\n",
" tokenizer=tokenizer,\n",
" max_new_tokens=1024,\n",
" \"text-generation\",\n",
" model=model,\n",
" tokenizer=tokenizer,\n",
" max_new_tokens=1024,\n",
")\n",
"\n",
"llm = HuggingFacePipeline(\n",
" pipeline=pipe,\n",
" model_kwargs={\"temperature\": 0.7},\n",
" pipeline=pipe,\n",
" model_kwargs={\"temperature\": 0.7},\n",
")"
]
},
Expand Down

0 comments on commit a108f2a

Please sign in to comment.