codeShare commited on
Commit
b6b88ea
1 Parent(s): 98c2bfd

Upload sd_token_similarity_calculator.ipynb

Browse files
Google Colab Notebooks/sd_token_similarity_calculator.ipynb CHANGED
@@ -112,7 +112,7 @@
112
  " loaded\n",
113
  "except:\n",
114
  " %cd {home_directory}\n",
115
- " !git clone https://huggingface.co/datasets/codeShare/text-to-image-prompts\n",
116
  " loaded = True\n",
117
  "#--------#\n",
118
  "\n",
@@ -219,7 +219,7 @@
219
  "colab": {
220
  "base_uri": "https://localhost:8080/"
221
  },
222
- "outputId": "d3a94235-5080-4fef-d97d-21265a455921"
223
  },
224
  "execution_count": 1,
225
  "outputs": [
@@ -229,15 +229,15 @@
229
  "text": [
230
  "/content\n",
231
  "/content\n",
232
- "Cloning into 'text-to-image-prompts'...\n",
233
- "remote: Enumerating objects: 17748, done.\u001b[K\n",
234
- "remote: Counting objects: 100% (17748/17748), done.\u001b[K\n",
235
- "remote: Compressing objects: 100% (15162/15162), done.\u001b[K\n",
236
- "remote: Total 17748 (delta 2445), reused 17747 (delta 2444), pack-reused 0 (from 0)\u001b[K\n",
237
- "Receiving objects: 100% (17748/17748), 179.13 MiB | 5.96 MiB/s, done.\n",
238
- "Resolving deltas: 100% (2445/2445), done.\n",
239
- "Updating files: 100% (7700/7700), done.\n",
240
- "Filtering content: 100% (3083/3083), 9.01 GiB | 49.39 MiB/s, done.\n"
241
  ]
242
  }
243
  ]
@@ -356,7 +356,20 @@
356
  "metadata": {
357
  "id": "d8l5C7WTSz4P"
358
  },
359
- "execution_count": 14,
 
 
 
 
 
 
 
 
 
 
 
 
 
360
  "outputs": []
361
  },
362
  {
@@ -427,7 +440,7 @@
427
  "id": "n_VnDi3c_JiD",
428
  "outputId": "52a9c155-ff60-42fc-fea9-cdb9e8bad08c"
429
  },
430
- "execution_count": 15,
431
  "outputs": [
432
  {
433
  "output_type": "stream",
@@ -5767,7 +5780,7 @@
5767
  },
5768
  "outputId": "5f573f72-ed35-4ef9-8073-ec137ee16075"
5769
  },
5770
- "execution_count": 20,
5771
  "outputs": [
5772
  {
5773
  "output_type": "stream",
@@ -5803,7 +5816,7 @@
5803
  "id": "arXFKYTQQBeI",
5804
  "outputId": "0c5a04d8-5d51-45d8-b604-5b988fcd77ac"
5805
  },
5806
- "execution_count": 17,
5807
  "outputs": [
5808
  {
5809
  "output_type": "stream",
 
112
  " loaded\n",
113
  "except:\n",
114
  " %cd {home_directory}\n",
115
+ " !git clone https://huggingface.co/datasets/codeShare/workspace\n",
116
  " loaded = True\n",
117
  "#--------#\n",
118
  "\n",
 
219
  "colab": {
220
  "base_uri": "https://localhost:8080/"
221
  },
222
+ "outputId": "f42d0aa9-8f71-43db-bf84-b617e8e4cc02"
223
  },
224
  "execution_count": 1,
225
  "outputs": [
 
229
  "text": [
230
  "/content\n",
231
  "/content\n",
232
+ "Cloning into 'workspace'...\n",
233
+ "remote: Enumerating objects: 872, done.\u001b[K\n",
234
+ "remote: Counting objects: 100% (869/869), done.\u001b[K\n",
235
+ "remote: Compressing objects: 100% (862/862), done.\u001b[K\n",
236
+ "remote: Total 872 (delta 3), reused 0 (delta 0), pack-reused 3 (from 1)\u001b[K\n",
237
+ "Receiving objects: 100% (872/872), 11.20 MiB | 6.25 MiB/s, done.\n",
238
+ "Resolving deltas: 100% (3/3), done.\n",
239
+ "Updating files: 100% (840/840), done.\n",
240
+ "Filtering content: 100% (420/420), 1.25 GiB | 34.96 MiB/s, done.\n"
241
  ]
242
  }
243
  ]
 
356
  "metadata": {
357
  "id": "d8l5C7WTSz4P"
358
  },
359
+ "execution_count": 2,
360
+ "outputs": []
361
+ },
362
+ {
363
+ "cell_type": "code",
364
+ "source": [
365
+ "# FANFIC TAGS\n",
366
+ "urls = ['/content/workspace/civit9',]\n",
367
+ "save_from_urls(urls , 'civitai_9')"
368
+ ],
369
+ "metadata": {
370
+ "id": "mfJi-QaBR3aZ"
371
+ },
372
+ "execution_count": null,
373
  "outputs": []
374
  },
375
  {
 
440
  "id": "n_VnDi3c_JiD",
441
  "outputId": "52a9c155-ff60-42fc-fea9-cdb9e8bad08c"
442
  },
443
+ "execution_count": null,
444
  "outputs": [
445
  {
446
  "output_type": "stream",
 
5780
  },
5781
  "outputId": "5f573f72-ed35-4ef9-8073-ec137ee16075"
5782
  },
5783
+ "execution_count": null,
5784
  "outputs": [
5785
  {
5786
  "output_type": "stream",
 
5816
  "id": "arXFKYTQQBeI",
5817
  "outputId": "0c5a04d8-5d51-45d8-b604-5b988fcd77ac"
5818
  },
5819
+ "execution_count": null,
5820
  "outputs": [
5821
  {
5822
  "output_type": "stream",