Skip to content
Merged

nbfmt #331

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion PaliGemma/[PaliGemma_1]Finetune_with_image_description.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,8 @@
"TOKENIZER_PATH = \"./paligemma_tokenizer.model\"\n",
"if not os.path.exists(TOKENIZER_PATH):\n",
" print(\"Downloading the model tokenizer...\")\n",
" !gcloud storage cp gs://big_vision/paligemma_tokenizer.model {TOKENIZER_PATH}\n", " print(f\"Tokenizer path: {TOKENIZER_PATH}\")"
" !gcloud storage cp gs://big_vision/paligemma_tokenizer.model {TOKENIZER_PATH}\n",
" print(f\"Tokenizer path: {TOKENIZER_PATH}\")"
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion PaliGemma/[PaliGemma_1]Finetune_with_object_detection.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,8 @@
"TOKENIZER_PATH = \"./paligemma_tokenizer.model\"\n",
"if not os.path.exists(TOKENIZER_PATH):\n",
" print(\"Downloading the model tokenizer...\")\n",
" !gcloud storage cp gs://big_vision/paligemma_tokenizer.model {TOKENIZER_PATH}\n", " print(f\"Tokenizer path: {TOKENIZER_PATH}\")"
" !gcloud storage cp gs://big_vision/paligemma_tokenizer.model {TOKENIZER_PATH}\n",
" print(f\"Tokenizer path: {TOKENIZER_PATH}\")"
]
},
{
Expand Down
6 changes: 4 additions & 2 deletions PaliGemma/[PaliGemma_2]Finetune_with_JAX.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -424,12 +424,14 @@
"TOKENIZER_PATH = \"./paligemma_tokenizer.model\"\n",
"if not os.path.exists(TOKENIZER_PATH):\n",
" print(\"Downloading the model tokenizer...\")\n",
" !gcloud storage cp gs://big_vision/paligemma_tokenizer.model {TOKENIZER_PATH}\n", " print(f\"Tokenizer path: {TOKENIZER_PATH}\")\n",
" !gcloud storage cp gs://big_vision/paligemma_tokenizer.model {TOKENIZER_PATH}\n",
" print(f\"Tokenizer path: {TOKENIZER_PATH}\")\n",
"\n",
"DATA_DIR=\"./longcap100\"\n",
"if not os.path.exists(DATA_DIR):\n",
" print(\"Downloading the dataset...\")\n",
" !gcloud storage cp --no-clobber --recursive gs://longcap100/ .\n", " print(f\"Data path: {DATA_DIR}\")"
" !gcloud storage cp --no-clobber --recursive gs://longcap100/ .\n",
" print(f\"Data path: {DATA_DIR}\")"
]
},
{
Expand Down
Loading