Skip to content

Commit

Permalink
Merge pull request #80 from kinarr/fix-unused-text-gemma-2-colabs
Browse files Browse the repository at this point in the history
Remove unused blocks of code/text in Langfun and ES Gemma notebooks
  • Loading branch information
windmaple authored Oct 17, 2024
2 parents 22ef3d6 + b5cca04 commit d94935f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 30 deletions.
14 changes: 0 additions & 14 deletions Gemma/Gemma_with_Langfun_and_LlamaCpp.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -672,20 +672,6 @@
"In this example, you'll demonstrate the model's capability in performing CoT reasoning for a simple puzzle.\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "pQW9oUO0ch8O"
},
"outputs": [],
"source": [
"question = (\n",
" 'Janet’s ducks lay 16 eggs per day. She eats three for breakfast every morning and bakes muffins for her friends every day with four. '\n",
" 'She sells the remainder at the farmers\\' market daily for $2 per fresh duck egg. '\n",
" 'How much in dollars does she make every day at the farmers\\' market? ')"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down
15 changes: 0 additions & 15 deletions Gemma/Gemma_with_Langfun_and_LlamaCpp_Python_Bindings.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -833,21 +833,6 @@
"In this example, you'll demonstrate the model's capability in performing CoT reasoning for a simple puzzle.\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "pQW9oUO0ch8O"
},
"outputs": [],
"source": [
"question = (\n",
" 'Janet’s ducks lay 16 eggs per day. She eats three for breakfast every morning and bakes muffins for her friends every day with four. '\n",
" 'She sells the remainder at the farmers\\' market daily for $2 per fresh duck egg. '\n",
" 'How much in dollars does she make every day at the farmers\\' market? '\n",
" 'Think step-by-step, solve the puzzle and generate Solution')"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down
2 changes: 1 addition & 1 deletion Gemma/Using_Gemma_with_Elasticsearch_and_LangChain.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"### Configure Your Credentials\n",
"\n",
"\n",
"Next, we'll securely store your Hugging Face token and Kaggle credentials using the Colab Secrets manager:\n",
"Next, we'll securely store your Hugging Face token using the Colab Secrets manager:\n",
"\n",
"1. Open your Google Colab notebook and click on the 🔑 Secrets tab in the left panel. <img src=\"https://storage.googleapis.com/generativeai-downloads/images/secrets.jpg\" alt=\"The Secrets tab is found on the left panel.\" width=50%>\n",
"2. **Add Hugging Face Token**:\n",
Expand Down

0 comments on commit d94935f

Please sign in to comment.