Quellcode durchsuchen

Fix broken formatting in the preview.

Converting to a code block
Chester Hu vor 1 Jahr
Ursprung
Commit
b07f349a2c
1 geänderte Dateien mit 10 neuen und 4 gelöschten Zeilen
  1. 10 4
      demo_apps/RAG_Chatbot_example/RAG_Chatbot_Example.ipynb

+ 10 - 4
demo_apps/RAG_Chatbot_example/RAG_Chatbot_Example.ipynb

@@ -241,12 +241,18 @@
    ]
    ]
   },
   },
   {
   {
-   "cell_type": "markdown",
-   "metadata": {},
+   "cell_type": "code",
+   "execution_count": null,
+   "metadata": {
+    "vscode": {
+     "languageId": "plaintext"
+    }
+   },
+   "outputs": [],
    "source": [
    "source": [
-    "model = meta-llama/Llama-2-7b-chat-hf  \n",
+    "model = meta-llama/Llama-2-7b-chat-hf    \n",
     "volume = $PWD/data  \n",
     "volume = $PWD/data  \n",
-    "token = #Your own HF tokens  \n",
+    "token = #Your own HF tokens   \n",
     "docker run --gpus all --shm-size 1g -e HUGGING_FACE_HUB_TOKEN=$token -p 8080:80 -v $volume:/data ghcr.io/huggingface/text-generation-inference:1.1.0 --model-id $model"
     "docker run --gpus all --shm-size 1g -e HUGGING_FACE_HUB_TOKEN=$token -p 8080:80 -v $volume:/data ghcr.io/huggingface/text-generation-inference:1.1.0 --model-id $model"
    ]
    ]
   },
   },