derekc4224 commited on
Commit
c170a35
·
verified ·
1 Parent(s): 14a620b

Upload folder using huggingface_hub

Browse files
0K9KLKWKIKT0UQA09QZSEQLSBQHS6QD0KKPKQKNKHKT00KPKLKO05QNK6QHSVQOKKKUKRK6K5Q10HK2K0KV00KA0SKNK.jpg ADDED

Git LFS Details

  • SHA256: 325f8b4d3e82035115307dc05c145880c52e23177b3a9c4834fe59cc841682cb
  • Pointer size: 130 Bytes
  • Size of remote file: 69.2 kB
0L6ZLLEZILTH2HLR8HTHGHCHGHDHHLDHQL2Z7HOH4H1H5HDH5HGZRLPZ8H8ZLL2ZGHVHKLOHNH3HGLZRILAZ8LEZKL6Z.jpg ADDED

Git LFS Details

  • SHA256: 9d8685c07cb0e36ddd2177637475f647e6cf9a32dbc87910017886a2b4f26c86
  • Pointer size: 130 Bytes
  • Size of remote file: 46.4 kB
0ZBLFLULHZWLJLPLHZJZLZFZ3LOZ0RPLSRJZLZTLMZDLQZKH7ZCLMZBLSZVL0ZTL0ZALMZSH2RHHXZ1L.jpg ADDED

Git LFS Details

  • SHA256: 108d989228e3614f91dc57a442c6411be8aec6bb5fcc3984fb784622d8a311b8
  • Pointer size: 130 Bytes
  • Size of remote file: 78.9 kB
1HMHDHXHRRRLVZ5LNZ8LUZ8LNZMLYH8L1ZMLFHILFH7H2Z4LVZ6HLR4LWZ7LRRPHRREH1Z7LRR5LJH9HLRPHVZPHUZ4L.jpg ADDED

Git LFS Details

  • SHA256: 8303065ffdc47da21e19ef21fc7ad18c8c5c6dcd0c335d8aef890438b6090062
  • Pointer size: 130 Bytes
  • Size of remote file: 80.7 kB
1HMHDHXHRRRLVZIL9Z7LNZLLEZKLOHMHVH7HTHWHFH4LUZ5LVZ5LBZNHHR4L2Z0LGZZLNZLL6ZXHDH8H5ZQL1Z4LJHUH.jpg ADDED

Git LFS Details

  • SHA256: 51e8e14bc0623977dcfe4ee4aaddf647eab11a363bb265fcad67d1e29a3b1ff9
  • Pointer size: 130 Bytes
  • Size of remote file: 57.5 kB
1KMKDKXKUKUQT01QRS1QJ0VQLS1Q1K7K1K4KZS5KZSEQEKIKVK4K1KVQJ05KDK1QY0NQ30UQHSUQAKXKLS4K30BQBKWQ.jpg ADDED

Git LFS Details

  • SHA256: e511d69c54d4d6587ef12457cef758281245eb3ea51972bd08fdd5ca67d606c7
  • Pointer size: 130 Bytes
  • Size of remote file: 54 kB
test.ipynb ADDED
@@ -0,0 +1,259 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 1,
6
+ "metadata": {},
7
+ "outputs": [
8
+ {
9
+ "name": "stdout",
10
+ "output_type": "stream",
11
+ "text": [
12
+ "hello world\n"
13
+ ]
14
+ }
15
+ ],
16
+ "source": [
17
+ "print(\"hello world\")"
18
+ ]
19
+ },
20
+ {
21
+ "cell_type": "code",
22
+ "execution_count": 2,
23
+ "metadata": {},
24
+ "outputs": [
25
+ {
26
+ "name": "stdout",
27
+ "output_type": "stream",
28
+ "text": [
29
+ "Defaulting to user installation because normal site-packages is not writeable\n",
30
+ "Requirement already satisfied: datasets in c:\\users\\d_toy\\appdata\\roaming\\python\\python312\\site-packages (3.2.0)\n",
31
+ "Requirement already satisfied: huggingface_hub in c:\\users\\d_toy\\appdata\\roaming\\python\\python312\\site-packages (0.28.0)\n",
32
+ "Requirement already satisfied: filelock in c:\\users\\d_toy\\appdata\\roaming\\python\\python312\\site-packages (from datasets) (3.17.0)\n",
33
+ "Requirement already satisfied: numpy>=1.17 in c:\\users\\d_toy\\appdata\\roaming\\python\\python312\\site-packages (from datasets) (2.2.2)\n",
34
+ "Requirement already satisfied: pyarrow>=15.0.0 in c:\\users\\d_toy\\appdata\\roaming\\python\\python312\\site-packages (from datasets) (19.0.0)\n",
35
+ "Requirement already satisfied: dill<0.3.9,>=0.3.0 in c:\\users\\d_toy\\appdata\\roaming\\python\\python312\\site-packages (from datasets) (0.3.8)\n",
36
+ "Requirement already satisfied: pandas in c:\\users\\d_toy\\appdata\\roaming\\python\\python312\\site-packages (from datasets) (2.2.3)\n",
37
+ "Requirement already satisfied: requests>=2.32.2 in c:\\programdata\\miniconda3\\lib\\site-packages (from datasets) (2.32.3)\n",
38
+ "Requirement already satisfied: tqdm>=4.66.3 in c:\\programdata\\miniconda3\\lib\\site-packages (from datasets) (4.66.5)\n",
39
+ "Requirement already satisfied: xxhash in c:\\users\\d_toy\\appdata\\roaming\\python\\python312\\site-packages (from datasets) (3.5.0)\n",
40
+ "Requirement already satisfied: multiprocess<0.70.17 in c:\\users\\d_toy\\appdata\\roaming\\python\\python312\\site-packages (from datasets) (0.70.16)\n",
41
+ "Requirement already satisfied: fsspec<=2024.9.0,>=2023.1.0 in c:\\users\\d_toy\\appdata\\roaming\\python\\python312\\site-packages (from fsspec[http]<=2024.9.0,>=2023.1.0->datasets) (2024.9.0)\n",
42
+ "Requirement already satisfied: aiohttp in c:\\users\\d_toy\\appdata\\roaming\\python\\python312\\site-packages (from datasets) (3.11.11)\n",
43
+ "Requirement already satisfied: packaging in c:\\programdata\\miniconda3\\lib\\site-packages (from datasets) (24.1)\n",
44
+ "Requirement already satisfied: pyyaml>=5.1 in c:\\programdata\\miniconda3\\lib\\site-packages (from datasets) (6.0.2)\n",
45
+ "Requirement already satisfied: typing-extensions>=3.7.4.3 in c:\\programdata\\miniconda3\\lib\\site-packages (from huggingface_hub) (4.12.2)\n",
46
+ "Requirement already satisfied: aiohappyeyeballs>=2.3.0 in c:\\users\\d_toy\\appdata\\roaming\\python\\python312\\site-packages (from aiohttp->datasets) (2.4.4)\n",
47
+ "Requirement already satisfied: aiosignal>=1.1.2 in c:\\users\\d_toy\\appdata\\roaming\\python\\python312\\site-packages (from aiohttp->datasets) (1.3.2)\n",
48
+ "Requirement already satisfied: attrs>=17.3.0 in c:\\programdata\\miniconda3\\lib\\site-packages (from aiohttp->datasets) (24.3.0)\n",
49
+ "Requirement already satisfied: frozenlist>=1.1.1 in c:\\users\\d_toy\\appdata\\roaming\\python\\python312\\site-packages (from aiohttp->datasets) (1.5.0)\n",
50
+ "Requirement already satisfied: multidict<7.0,>=4.5 in c:\\users\\d_toy\\appdata\\roaming\\python\\python312\\site-packages (from aiohttp->datasets) (6.1.0)\n",
51
+ "Requirement already satisfied: propcache>=0.2.0 in c:\\users\\d_toy\\appdata\\roaming\\python\\python312\\site-packages (from aiohttp->datasets) (0.2.1)\n",
52
+ "Requirement already satisfied: yarl<2.0,>=1.17.0 in c:\\users\\d_toy\\appdata\\roaming\\python\\python312\\site-packages (from aiohttp->datasets) (1.18.3)\n",
53
+ "Requirement already satisfied: charset-normalizer<4,>=2 in c:\\programdata\\miniconda3\\lib\\site-packages (from requests>=2.32.2->datasets) (3.3.2)\n",
54
+ "Requirement already satisfied: idna<4,>=2.5 in c:\\programdata\\miniconda3\\lib\\site-packages (from requests>=2.32.2->datasets) (3.7)\n",
55
+ "Requirement already satisfied: urllib3<3,>=1.21.1 in c:\\programdata\\miniconda3\\lib\\site-packages (from requests>=2.32.2->datasets) (2.2.3)\n",
56
+ "Requirement already satisfied: certifi>=2017.4.17 in c:\\programdata\\miniconda3\\lib\\site-packages (from requests>=2.32.2->datasets) (2024.12.14)\n",
57
+ "Requirement already satisfied: colorama in c:\\programdata\\miniconda3\\lib\\site-packages (from tqdm>=4.66.3->datasets) (0.4.6)\n",
58
+ "Requirement already satisfied: python-dateutil>=2.8.2 in c:\\programdata\\miniconda3\\lib\\site-packages (from pandas->datasets) (2.9.0.post0)\n",
59
+ "Requirement already satisfied: pytz>=2020.1 in c:\\users\\d_toy\\appdata\\roaming\\python\\python312\\site-packages (from pandas->datasets) (2024.2)\n",
60
+ "Requirement already satisfied: tzdata>=2022.7 in c:\\users\\d_toy\\appdata\\roaming\\python\\python312\\site-packages (from pandas->datasets) (2025.1)\n",
61
+ "Requirement already satisfied: six>=1.5 in c:\\programdata\\miniconda3\\lib\\site-packages (from python-dateutil>=2.8.2->pandas->datasets) (1.16.0)\n"
62
+ ]
63
+ }
64
+ ],
65
+ "source": [
66
+ "!pip install datasets huggingface_hub"
67
+ ]
68
+ },
69
+ {
70
+ "cell_type": "code",
71
+ "execution_count": 3,
72
+ "metadata": {},
73
+ "outputs": [
74
+ {
75
+ "ename": "DataFilesNotFoundError",
76
+ "evalue": "No (supported) data files found in B:/MyPassport-TempStorage/BeeMachine-Data-ZipFiles/HF-derek-test-bombus",
77
+ "output_type": "error",
78
+ "traceback": [
79
+ "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
80
+ "\u001b[1;31mDataFilesNotFoundError\u001b[0m Traceback (most recent call last)",
81
+ "Cell \u001b[1;32mIn[3], line 2\u001b[0m\n\u001b[0;32m 1\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mdatasets\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m load_dataset \n\u001b[1;32m----> 2\u001b[0m dataset \u001b[38;5;241m=\u001b[39m load_dataset(\u001b[38;5;124mr\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mB:\u001b[39m\u001b[38;5;130;01m\\\\\u001b[39;00m\u001b[38;5;124mMyPassport-TempStorage\u001b[39m\u001b[38;5;130;01m\\\\\u001b[39;00m\u001b[38;5;124mBeeMachine-Data-ZipFiles\u001b[39m\u001b[38;5;130;01m\\\\\u001b[39;00m\u001b[38;5;124mHF-derek-test-bombus\u001b[39m\u001b[38;5;130;01m\\\\\u001b[39;00m\u001b[38;5;124m\"\u001b[39m)\n",
82
+ "File \u001b[1;32m~\\AppData\\Roaming\\Python\\Python312\\site-packages\\datasets\\load.py:2129\u001b[0m, in \u001b[0;36mload_dataset\u001b[1;34m(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, keep_in_memory, save_infos, revision, token, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs)\u001b[0m\n\u001b[0;32m 2124\u001b[0m verification_mode \u001b[38;5;241m=\u001b[39m VerificationMode(\n\u001b[0;32m 2125\u001b[0m (verification_mode \u001b[38;5;129;01mor\u001b[39;00m VerificationMode\u001b[38;5;241m.\u001b[39mBASIC_CHECKS) \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m save_infos \u001b[38;5;28;01melse\u001b[39;00m VerificationMode\u001b[38;5;241m.\u001b[39mALL_CHECKS\n\u001b[0;32m 2126\u001b[0m )\n\u001b[0;32m 2128\u001b[0m \u001b[38;5;66;03m# Create a dataset builder\u001b[39;00m\n\u001b[1;32m-> 2129\u001b[0m builder_instance \u001b[38;5;241m=\u001b[39m load_dataset_builder(\n\u001b[0;32m 2130\u001b[0m path\u001b[38;5;241m=\u001b[39mpath,\n\u001b[0;32m 2131\u001b[0m name\u001b[38;5;241m=\u001b[39mname,\n\u001b[0;32m 2132\u001b[0m data_dir\u001b[38;5;241m=\u001b[39mdata_dir,\n\u001b[0;32m 2133\u001b[0m data_files\u001b[38;5;241m=\u001b[39mdata_files,\n\u001b[0;32m 2134\u001b[0m cache_dir\u001b[38;5;241m=\u001b[39mcache_dir,\n\u001b[0;32m 2135\u001b[0m features\u001b[38;5;241m=\u001b[39mfeatures,\n\u001b[0;32m 2136\u001b[0m download_config\u001b[38;5;241m=\u001b[39mdownload_config,\n\u001b[0;32m 2137\u001b[0m download_mode\u001b[38;5;241m=\u001b[39mdownload_mode,\n\u001b[0;32m 2138\u001b[0m revision\u001b[38;5;241m=\u001b[39mrevision,\n\u001b[0;32m 2139\u001b[0m token\u001b[38;5;241m=\u001b[39mtoken,\n\u001b[0;32m 2140\u001b[0m storage_options\u001b[38;5;241m=\u001b[39mstorage_options,\n\u001b[0;32m 2141\u001b[0m trust_remote_code\u001b[38;5;241m=\u001b[39mtrust_remote_code,\n\u001b[0;32m 2142\u001b[0m _require_default_config_name\u001b[38;5;241m=\u001b[39mname \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m,\n\u001b[0;32m 2143\u001b[0m \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mconfig_kwargs,\n\u001b[0;32m 2144\u001b[0m )\n\u001b[0;32m 2146\u001b[0m \u001b[38;5;66;03m# Return iterable dataset in case of streaming\u001b[39;00m\n\u001b[0;32m 2147\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m streaming:\n",
83
+ "File \u001b[1;32m~\\AppData\\Roaming\\Python\\Python312\\site-packages\\datasets\\load.py:1849\u001b[0m, in \u001b[0;36mload_dataset_builder\u001b[1;34m(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, token, storage_options, trust_remote_code, _require_default_config_name, **config_kwargs)\u001b[0m\n\u001b[0;32m 1847\u001b[0m download_config \u001b[38;5;241m=\u001b[39m download_config\u001b[38;5;241m.\u001b[39mcopy() \u001b[38;5;28;01mif\u001b[39;00m download_config \u001b[38;5;28;01melse\u001b[39;00m DownloadConfig()\n\u001b[0;32m 1848\u001b[0m download_config\u001b[38;5;241m.\u001b[39mstorage_options\u001b[38;5;241m.\u001b[39mupdate(storage_options)\n\u001b[1;32m-> 1849\u001b[0m dataset_module \u001b[38;5;241m=\u001b[39m dataset_module_factory(\n\u001b[0;32m 1850\u001b[0m path,\n\u001b[0;32m 1851\u001b[0m revision\u001b[38;5;241m=\u001b[39mrevision,\n\u001b[0;32m 1852\u001b[0m download_config\u001b[38;5;241m=\u001b[39mdownload_config,\n\u001b[0;32m 1853\u001b[0m download_mode\u001b[38;5;241m=\u001b[39mdownload_mode,\n\u001b[0;32m 1854\u001b[0m data_dir\u001b[38;5;241m=\u001b[39mdata_dir,\n\u001b[0;32m 1855\u001b[0m data_files\u001b[38;5;241m=\u001b[39mdata_files,\n\u001b[0;32m 1856\u001b[0m cache_dir\u001b[38;5;241m=\u001b[39mcache_dir,\n\u001b[0;32m 1857\u001b[0m trust_remote_code\u001b[38;5;241m=\u001b[39mtrust_remote_code,\n\u001b[0;32m 1858\u001b[0m _require_default_config_name\u001b[38;5;241m=\u001b[39m_require_default_config_name,\n\u001b[0;32m 1859\u001b[0m _require_custom_configs\u001b[38;5;241m=\u001b[39m\u001b[38;5;28mbool\u001b[39m(config_kwargs),\n\u001b[0;32m 1860\u001b[0m )\n\u001b[0;32m 1861\u001b[0m \u001b[38;5;66;03m# Get dataset builder class from the processing script\u001b[39;00m\n\u001b[0;32m 1862\u001b[0m builder_kwargs \u001b[38;5;241m=\u001b[39m dataset_module\u001b[38;5;241m.\u001b[39mbuilder_kwargs\n",
84
+ "File \u001b[1;32m~\\AppData\\Roaming\\Python\\Python312\\site-packages\\datasets\\load.py:1586\u001b[0m, in \u001b[0;36mdataset_module_factory\u001b[1;34m(path, revision, download_config, download_mode, dynamic_modules_path, data_dir, data_files, cache_dir, trust_remote_code, _require_default_config_name, _require_custom_configs, **download_kwargs)\u001b[0m\n\u001b[0;32m 1577\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m LocalDatasetModuleFactoryWithScript(\n\u001b[0;32m 1578\u001b[0m combined_path,\n\u001b[0;32m 1579\u001b[0m download_mode\u001b[38;5;241m=\u001b[39mdownload_mode,\n\u001b[0;32m 1580\u001b[0m dynamic_modules_path\u001b[38;5;241m=\u001b[39mdynamic_modules_path,\n\u001b[0;32m 1581\u001b[0m trust_remote_code\u001b[38;5;241m=\u001b[39mtrust_remote_code,\n\u001b[0;32m 1582\u001b[0m )\u001b[38;5;241m.\u001b[39mget_module()\n\u001b[0;32m 1583\u001b[0m \u001b[38;5;28;01melif\u001b[39;00m os\u001b[38;5;241m.\u001b[39mpath\u001b[38;5;241m.\u001b[39misdir(path):\n\u001b[0;32m 1584\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m LocalDatasetModuleFactoryWithoutScript(\n\u001b[0;32m 1585\u001b[0m path, data_dir\u001b[38;5;241m=\u001b[39mdata_dir, data_files\u001b[38;5;241m=\u001b[39mdata_files, download_mode\u001b[38;5;241m=\u001b[39mdownload_mode\n\u001b[1;32m-> 1586\u001b[0m )\u001b[38;5;241m.\u001b[39mget_module()\n\u001b[0;32m 1587\u001b[0m \u001b[38;5;66;03m# Try remotely\u001b[39;00m\n\u001b[0;32m 1588\u001b[0m \u001b[38;5;28;01melif\u001b[39;00m is_relative_path(path) \u001b[38;5;129;01mand\u001b[39;00m path\u001b[38;5;241m.\u001b[39mcount(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m/\u001b[39m\u001b[38;5;124m\"\u001b[39m) \u001b[38;5;241m<\u001b[39m\u001b[38;5;241m=\u001b[39m \u001b[38;5;241m1\u001b[39m:\n",
85
+ "File \u001b[1;32m~\\AppData\\Roaming\\Python\\Python312\\site-packages\\datasets\\load.py:842\u001b[0m, in \u001b[0;36mLocalDatasetModuleFactoryWithoutScript.get_module\u001b[1;34m(self)\u001b[0m\n\u001b[0;32m 836\u001b[0m patterns \u001b[38;5;241m=\u001b[39m get_data_patterns(base_path)\n\u001b[0;32m 837\u001b[0m data_files \u001b[38;5;241m=\u001b[39m DataFilesDict\u001b[38;5;241m.\u001b[39mfrom_patterns(\n\u001b[0;32m 838\u001b[0m patterns,\n\u001b[0;32m 839\u001b[0m base_path\u001b[38;5;241m=\u001b[39mbase_path,\n\u001b[0;32m 840\u001b[0m allowed_extensions\u001b[38;5;241m=\u001b[39mALL_ALLOWED_EXTENSIONS,\n\u001b[0;32m 841\u001b[0m )\n\u001b[1;32m--> 842\u001b[0m module_name, default_builder_kwargs \u001b[38;5;241m=\u001b[39m infer_module_for_data_files(\n\u001b[0;32m 843\u001b[0m data_files\u001b[38;5;241m=\u001b[39mdata_files,\n\u001b[0;32m 844\u001b[0m path\u001b[38;5;241m=\u001b[39m\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mpath,\n\u001b[0;32m 845\u001b[0m )\n\u001b[0;32m 846\u001b[0m data_files \u001b[38;5;241m=\u001b[39m data_files\u001b[38;5;241m.\u001b[39mfilter_extensions(_MODULE_TO_EXTENSIONS[module_name])\n\u001b[0;32m 847\u001b[0m \u001b[38;5;66;03m# Collect metadata files if the module supports them\u001b[39;00m\n",
86
+ "File \u001b[1;32m~\\AppData\\Roaming\\Python\\Python312\\site-packages\\datasets\\load.py:603\u001b[0m, in \u001b[0;36minfer_module_for_data_files\u001b[1;34m(data_files, path, download_config)\u001b[0m\n\u001b[0;32m 601\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mValueError\u001b[39;00m(\u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mCouldn\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mt infer the same data file format for all splits. Got \u001b[39m\u001b[38;5;132;01m{\u001b[39;00msplit_modules\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m\"\u001b[39m)\n\u001b[0;32m 602\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m module_name:\n\u001b[1;32m--> 603\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m DataFilesNotFoundError(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mNo (supported) data files found\u001b[39m\u001b[38;5;124m\"\u001b[39m \u001b[38;5;241m+\u001b[39m (\u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m in \u001b[39m\u001b[38;5;132;01m{\u001b[39;00mpath\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m\"\u001b[39m \u001b[38;5;28;01mif\u001b[39;00m path \u001b[38;5;28;01melse\u001b[39;00m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m\"\u001b[39m))\n\u001b[0;32m 604\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m module_name, default_builder_kwargs\n",
87
+ "\u001b[1;31mDataFilesNotFoundError\u001b[0m: No (supported) data files found in B:/MyPassport-TempStorage/BeeMachine-Data-ZipFiles/HF-derek-test-bombus"
88
+ ]
89
+ }
90
+ ],
91
+ "source": [
92
+ "from datasets import load_dataset \n",
93
+ "dataset = load_dataset(r\"B:\\\\MyPassport-TempStorage\\\\BeeMachine-Data-ZipFiles\\\\HF-derek-test-bombus\\\\\")"
94
+ ]
95
+ },
96
+ {
97
+ "cell_type": "code",
98
+ "execution_count": 5,
99
+ "metadata": {},
100
+ "outputs": [
101
+ {
102
+ "data": {
103
+ "application/vnd.jupyter.widget-view+json": {
104
+ "model_id": "ebcd9fb3b13e4be39628851c99b5097d",
105
+ "version_major": 2,
106
+ "version_minor": 0
107
+ },
108
+ "text/plain": [
109
+ "VBox(children=(HTML(value='<center> <img\\nsrc=https://huggingface.co/front/assets/huggingface_logo-noborder.sv…"
110
+ ]
111
+ },
112
+ "metadata": {},
113
+ "output_type": "display_data"
114
+ }
115
+ ],
116
+ "source": [
117
+ "from huggingface_hub import login\n",
118
+ "\n",
119
+ "login() # Enter your token when prompted"
120
+ ]
121
+ },
122
+ {
123
+ "cell_type": "code",
124
+ "execution_count": null,
125
+ "metadata": {},
126
+ "outputs": [
127
+ {
128
+ "data": {
129
+ "application/vnd.jupyter.widget-view+json": {
130
+ "model_id": "a94f2d094d4a44148f6a60a629cbc3da",
131
+ "version_major": 2,
132
+ "version_minor": 0
133
+ },
134
+ "text/plain": [
135
+ "Upload 6 LFS files: 0%| | 0/6 [00:00<?, ?it/s]"
136
+ ]
137
+ },
138
+ "metadata": {},
139
+ "output_type": "display_data"
140
+ },
141
+ {
142
+ "data": {
143
+ "application/vnd.jupyter.widget-view+json": {
144
+ "model_id": "1882b3a316ce4e64be55a5f5f8c2dcad",
145
+ "version_major": 2,
146
+ "version_minor": 0
147
+ },
148
+ "text/plain": [
149
+ "0K9KLKWKIKT0UQA09QZSEQLSBQHS6QD0KKPKQKNKHKT00KPKLKO05QNK6QHSVQOKKKUKRK6K5Q10HK2K0KV00KA0SKNK.jpg: 0%| …"
150
+ ]
151
+ },
152
+ "metadata": {},
153
+ "output_type": "display_data"
154
+ },
155
+ {
156
+ "data": {
157
+ "application/vnd.jupyter.widget-view+json": {
158
+ "model_id": "4ab2a242781143ee81d08c0d722d0738",
159
+ "version_major": 2,
160
+ "version_minor": 0
161
+ },
162
+ "text/plain": [
163
+ "0ZBLFLULHZWLJLPLHZJZLZFZ3LOZ0RPLSRJZLZTLMZDLQZKH7ZCLMZBLSZVL0ZTL0ZALMZSH2RHHXZ1L.jpg: 0%| | 0.00/78…"
164
+ ]
165
+ },
166
+ "metadata": {},
167
+ "output_type": "display_data"
168
+ },
169
+ {
170
+ "data": {
171
+ "application/vnd.jupyter.widget-view+json": {
172
+ "model_id": "569061451bcc46e0a973e267a514a893",
173
+ "version_major": 2,
174
+ "version_minor": 0
175
+ },
176
+ "text/plain": [
177
+ "0L6ZLLEZILTH2HLR8HTHGHCHGHDHHLDHQL2Z7HOH4H1H5HDH5HGZRLPZ8H8ZLL2ZGHVHKLOHNH3HGLZRILAZ8LEZKL6Z.jpg: 0%| …"
178
+ ]
179
+ },
180
+ "metadata": {},
181
+ "output_type": "display_data"
182
+ },
183
+ {
184
+ "data": {
185
+ "application/vnd.jupyter.widget-view+json": {
186
+ "model_id": "8937fa95f4894d40b0727192ad7b75cc",
187
+ "version_major": 2,
188
+ "version_minor": 0
189
+ },
190
+ "text/plain": [
191
+ "1HMHDHXHRRRLVZ5LNZ8LUZ8LNZMLYH8L1ZMLFHILFH7H2Z4LVZ6HLR4LWZ7LRRPHRREH1Z7LRR5LJH9HLRPHVZPHUZ4L.jpg: 0%| …"
192
+ ]
193
+ },
194
+ "metadata": {},
195
+ "output_type": "display_data"
196
+ },
197
+ {
198
+ "data": {
199
+ "application/vnd.jupyter.widget-view+json": {
200
+ "model_id": "5112b251e93345bab3702dbd3636ad15",
201
+ "version_major": 2,
202
+ "version_minor": 0
203
+ },
204
+ "text/plain": [
205
+ "1HMHDHXHRRRLVZIL9Z7LNZLLEZKLOHMHVH7HTHWHFH4LUZ5LVZ5LBZNHHR4L2Z0LGZZLNZLL6ZXHDH8H5ZQL1Z4LJHUH.jpg: 0%| …"
206
+ ]
207
+ },
208
+ "metadata": {},
209
+ "output_type": "display_data"
210
+ },
211
+ {
212
+ "data": {
213
+ "application/vnd.jupyter.widget-view+json": {
214
+ "model_id": "19c84b0015734f7c9bb48268ad8797cd",
215
+ "version_major": 2,
216
+ "version_minor": 0
217
+ },
218
+ "text/plain": [
219
+ "1KMKDKXKUKUQT01QRS1QJ0VQLS1Q1K7K1K4KZS5KZSEQEKIKVK4K1KVQJ05KDK1QY0NQ30UQHSUQAKXKLS4K30BQBKWQ.jpg: 0%| …"
220
+ ]
221
+ },
222
+ "metadata": {},
223
+ "output_type": "display_data"
224
+ }
225
+ ],
226
+ "source": [
227
+ "from huggingface_hub import HfApi\n",
228
+ "api = HfApi()\n",
229
+ "\n",
230
+ "api.upload_folder(\n",
231
+ " folder_path=r\"B:\\\\MyPassport-TempStorage\\\\BeeMachine-Data-ZipFiles\\\\HF-derek-test-bombus\\\\\",\n",
232
+ " repo_id=\"derekc4224/derek-test\",\n",
233
+ " repo_type=\"dataset\",\n",
234
+ ")"
235
+ ]
236
+ }
237
+ ],
238
+ "metadata": {
239
+ "kernelspec": {
240
+ "display_name": "base",
241
+ "language": "python",
242
+ "name": "python3"
243
+ },
244
+ "language_info": {
245
+ "codemirror_mode": {
246
+ "name": "ipython",
247
+ "version": 3
248
+ },
249
+ "file_extension": ".py",
250
+ "mimetype": "text/x-python",
251
+ "name": "python",
252
+ "nbconvert_exporter": "python",
253
+ "pygments_lexer": "ipython3",
254
+ "version": "3.12.8"
255
+ }
256
+ },
257
+ "nbformat": 4,
258
+ "nbformat_minor": 2
259
+ }