From 727ae66fa6db3803cdba13d8acb671f6765564b6 Mon Sep 17 00:00:00 2001 From: dnth Date: Mon, 21 Oct 2024 17:50:11 +0800 Subject: [PATCH] update quickstart --- nbs/quickstart.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nbs/quickstart.ipynb b/nbs/quickstart.ipynb index e9d2b37..0d2948b 100644 --- a/nbs/quickstart.ipynb +++ b/nbs/quickstart.ipynb @@ -8,7 +8,7 @@ "\n", "This notebook shows how to get started with using x.infer.\n", "\n", - "x.infer relies on PyTorch and torchvision, so make sure you have it installed on your system." + "x.infer relies on PyTorch and torchvision, so make sure you have it installed on your system. Uncomment the following line to install it." ] }, { @@ -17,7 +17,7 @@ "metadata": {}, "outputs": [], "source": [ - "!pip install -Uqq torch torchvision" + "# !pip install -Uqq torch torchvision" ] }, { @@ -203,7 +203,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Because we only installed the `transformers` extra, we can only use models from the `transformers` library.\n", + "Because we only installed the `transformers` extra, we can only use models from the `transformers` library. To see more models, you can install the `all` extra. Note: Google Colab comes preinstalled with the `timm` library.\n", "\n", "You can pick any model from the list of models available.\n", "Let's create a model from the `vikhyatk/moondream2` model. We can optionally specify the device and dtype. By default, the model is created on the CPU and the dtype is `float32`."