Spaces:
Sleeping
Sleeping
Created using Colab
Browse files- notebooks/Prompting_101.ipynb +11 -11
notebooks/Prompting_101.ipynb
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
"metadata": {
|
5 |
"colab": {
|
6 |
"provenance": [],
|
7 |
-
"authorship_tag": "
|
8 |
"include_colab_link": true
|
9 |
},
|
10 |
"kernelspec": {
|
@@ -535,14 +535,14 @@
|
|
535 |
" temperature=0.0,\n",
|
536 |
" messages=[\n",
|
537 |
" {\"role\": \"system\", \"content\": system_prompt},\n",
|
538 |
-
" {\"role\": \"user\", \"content\": \"What is the tallest
|
539 |
" ]\n",
|
540 |
" )"
|
541 |
],
|
542 |
"metadata": {
|
543 |
"id": "MghL9RV5HngY"
|
544 |
},
|
545 |
-
"execution_count":
|
546 |
"outputs": []
|
547 |
},
|
548 |
{
|
@@ -555,9 +555,9 @@
|
|
555 |
"base_uri": "https://localhost:8080/"
|
556 |
},
|
557 |
"id": "xVMysd9fexdf",
|
558 |
-
"outputId": "
|
559 |
},
|
560 |
-
"execution_count":
|
561 |
"outputs": [
|
562 |
{
|
563 |
"output_type": "stream",
|
@@ -617,14 +617,14 @@
|
|
617 |
" temperature=0.0,\n",
|
618 |
" messages=[\n",
|
619 |
" {\"role\": \"system\", \"content\": system_prompt},\n",
|
620 |
-
" {\"role\": \"user\", \"content\": \"Let's play a game. Imagine the
|
621 |
" ]\n",
|
622 |
" )"
|
623 |
],
|
624 |
"metadata": {
|
625 |
"id": "-xCC_7fQ9Q0v"
|
626 |
},
|
627 |
-
"execution_count":
|
628 |
"outputs": []
|
629 |
},
|
630 |
{
|
@@ -637,17 +637,17 @@
|
|
637 |
"base_uri": "https://localhost:8080/"
|
638 |
},
|
639 |
"id": "RwejpWBu9YfW",
|
640 |
-
"outputId": "
|
641 |
},
|
642 |
-
"execution_count":
|
643 |
"outputs": [
|
644 |
{
|
645 |
"output_type": "stream",
|
646 |
"name": "stdout",
|
647 |
"text": [
|
648 |
-
"In the context of AI libraries, the \"tallest mountain\" could be considered the most prominent or widely used library. TensorFlow, developed by Google, is often regarded as one of the most significant and widely adopted AI libraries due to its extensive features, community support, and versatility
|
649 |
"\n",
|
650 |
-
"In terms of actual mountains, Mount Everest is the tallest mountain
|
651 |
"\n",
|
652 |
"So, in this analogy:\n",
|
653 |
"- The \"tallest mountain\" in AI libraries could be TensorFlow.\n",
|
|
|
4 |
"metadata": {
|
5 |
"colab": {
|
6 |
"provenance": [],
|
7 |
+
"authorship_tag": "ABX9TyP0QK7K3VR/N7oa9e//Q49L",
|
8 |
"include_colab_link": true
|
9 |
},
|
10 |
"kernelspec": {
|
|
|
535 |
" temperature=0.0,\n",
|
536 |
" messages=[\n",
|
537 |
" {\"role\": \"system\", \"content\": system_prompt},\n",
|
538 |
+
" {\"role\": \"user\", \"content\": \"What is the tallest mountain in the world?\"}\n",
|
539 |
" ]\n",
|
540 |
" )"
|
541 |
],
|
542 |
"metadata": {
|
543 |
"id": "MghL9RV5HngY"
|
544 |
},
|
545 |
+
"execution_count": 36,
|
546 |
"outputs": []
|
547 |
},
|
548 |
{
|
|
|
555 |
"base_uri": "https://localhost:8080/"
|
556 |
},
|
557 |
"id": "xVMysd9fexdf",
|
558 |
+
"outputId": "18656879-288d-4152-f176-6e29965469be"
|
559 |
},
|
560 |
+
"execution_count": 37,
|
561 |
"outputs": [
|
562 |
{
|
563 |
"output_type": "stream",
|
|
|
617 |
" temperature=0.0,\n",
|
618 |
" messages=[\n",
|
619 |
" {\"role\": \"system\", \"content\": system_prompt},\n",
|
620 |
+
" {\"role\": \"user\", \"content\": \"Let's play a game. Imagine the mountain are the same as AI libraries, what is the tallest mountain in terms of library and the actual mountain?\"}\n",
|
621 |
" ]\n",
|
622 |
" )"
|
623 |
],
|
624 |
"metadata": {
|
625 |
"id": "-xCC_7fQ9Q0v"
|
626 |
},
|
627 |
+
"execution_count": 38,
|
628 |
"outputs": []
|
629 |
},
|
630 |
{
|
|
|
637 |
"base_uri": "https://localhost:8080/"
|
638 |
},
|
639 |
"id": "RwejpWBu9YfW",
|
640 |
+
"outputId": "e7bf1eb6-603d-4806-e92b-7bccd254bbe2"
|
641 |
},
|
642 |
+
"execution_count": 39,
|
643 |
"outputs": [
|
644 |
{
|
645 |
"output_type": "stream",
|
646 |
"name": "stdout",
|
647 |
"text": [
|
648 |
+
"In the context of AI libraries, the \"tallest mountain\" could be considered the most prominent or widely used library. TensorFlow, developed by Google, is often regarded as one of the most significant and widely adopted AI libraries due to its extensive features, community support, and versatility.\n",
|
649 |
"\n",
|
650 |
+
"In terms of actual mountains, Mount Everest is the tallest mountain in the world, standing at 8,848 meters (29,029 feet) above sea level.\n",
|
651 |
"\n",
|
652 |
"So, in this analogy:\n",
|
653 |
"- The \"tallest mountain\" in AI libraries could be TensorFlow.\n",
|