|
23 | 23 | }, |
24 | 24 | { |
25 | 25 | "cell_type": "code", |
26 | | - "execution_count": 1, |
27 | | - "metadata": { |
28 | | - "colab": { |
29 | | - "base_uri": "https://localhost:8080/" |
30 | | - }, |
31 | | - "id": "EB0gv8OzHfLV", |
32 | | - "outputId": "9de07e75-ddf4-4347-fc41-432a23774e2c" |
33 | | - }, |
34 | | - "outputs": [ |
35 | | - { |
36 | | - "name": "stdout", |
37 | | - "output_type": "stream", |
38 | | - "text": [ |
39 | | - " Installing build dependencies ... \u001b[?25l\u001b[?25hdone\n", |
40 | | - " Getting requirements to build wheel ... \u001b[?25l\u001b[?25hdone\n", |
41 | | - " Preparing metadata (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n", |
42 | | - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m480.6/480.6 kB\u001b[0m \u001b[31m25.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", |
43 | | - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m69.1/69.1 MB\u001b[0m \u001b[31m28.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", |
44 | | - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m116.3/116.3 kB\u001b[0m \u001b[31m7.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", |
45 | | - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m179.3/179.3 kB\u001b[0m \u001b[31m14.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", |
46 | | - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m134.8/134.8 kB\u001b[0m \u001b[31m8.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", |
47 | | - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.0/3.0 MB\u001b[0m \u001b[31m75.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", |
48 | | - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m194.1/194.1 kB\u001b[0m \u001b[31m17.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", |
49 | | - "\u001b[?25h Building wheel for transformers (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n", |
50 | | - "\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n", |
51 | | - "gcsfs 2024.10.0 requires fsspec==2024.10.0, but you have fsspec 2024.9.0 which is incompatible.\u001b[0m\u001b[31m\n", |
52 | | - "\u001b[0m" |
53 | | - ] |
54 | | - } |
55 | | - ], |
| 26 | + "execution_count": null, |
| 27 | + "metadata": {}, |
| 28 | + "outputs": [], |
56 | 29 | "source": [ |
57 | 30 | "!pip install -q -U datasets bitsandbytes peft git+https://github.com/huggingface/transformers.git" |
58 | 31 | ] |
|
68 | 41 | }, |
69 | 42 | { |
70 | 43 | "cell_type": "code", |
71 | | - "execution_count": 2, |
72 | | - "metadata": { |
73 | | - "colab": { |
74 | | - "base_uri": "https://localhost:8080/", |
75 | | - "height": 17, |
76 | | - "referenced_widgets": [ |
77 | | - "4f0e85aa740146d3aca81588a0288031", |
78 | | - "c7fcb9dd46e649c4b8bd967b69bdb867", |
79 | | - "c3fad0f1cb954317a20ee158f7e10363", |
80 | | - "3deca9286f89422aa691325b39347b0b", |
81 | | - "ca1c290bfb654f1190bbde68d51167f1", |
82 | | - "2d8493a60b7a42c1b25ec0bbe0a59043", |
83 | | - "c25efe32ee7c40d3a4c95093abb2a720", |
84 | | - "55c01e2c04d1499ca5b9b19dea7e4e02", |
85 | | - "bf9da831d7ad4651a262c5e7f80bbf87", |
86 | | - "ed2d3d1a700143d2a48e9a9b13bd1200", |
87 | | - "40782cfc43a8437da5534feee03c6ba6", |
88 | | - "b6fac3155dd140bc8e1b010270bc3cc2", |
89 | | - "ca348c721475417582ed5018ed43151f", |
90 | | - "3f07afac7c194db7a16167d177562a46", |
91 | | - "5515d96f0c8947f0ad4b7f17eb7d63f6", |
92 | | - "d703de12cf9d4f87aa6ec2cc52f1090a", |
93 | | - "757bc788bd6842d28a9f889187ffb88e", |
94 | | - "65f10d2456cb4ee1963fac050e4c34f7", |
95 | | - "9335e48fe8ba4fe9b535b5ece1be6ff5", |
96 | | - "80df5f3cd6c646808b09d99daed5bfd2" |
97 | | - ] |
98 | | - }, |
99 | | - "id": "NzJZSHD8tZZy", |
100 | | - "outputId": "c01b2b6f-3c1e-45da-9fc0-f4f518bcca24" |
101 | | - }, |
102 | | - "outputs": [ |
103 | | - { |
104 | | - "data": { |
105 | | - "application/vnd.jupyter.widget-view+json": { |
106 | | - "model_id": "4f0e85aa740146d3aca81588a0288031", |
107 | | - "version_major": 2, |
108 | | - "version_minor": 0 |
109 | | - }, |
110 | | - "text/plain": [ |
111 | | - "VBox(children=(HTML(value='<center> <img\\nsrc=https://huggingface.co/front/assets/huggingface_logo-noborder.sv…" |
112 | | - ] |
113 | | - }, |
114 | | - "metadata": {}, |
115 | | - "output_type": "display_data" |
116 | | - } |
117 | | - ], |
| 44 | + "execution_count": null, |
| 45 | + "metadata": {}, |
| 46 | + "outputs": [], |
118 | 47 | "source": [ |
119 | 48 | "from huggingface_hub import notebook_login\n", |
120 | 49 | "notebook_login()" |
|
131 | 60 | }, |
132 | 61 | { |
133 | 62 | "cell_type": "code", |
134 | | - "execution_count": 1, |
135 | | - "metadata": { |
136 | | - "colab": { |
137 | | - "base_uri": "https://localhost:8080/" |
138 | | - }, |
139 | | - "id": "az5kdSbNpjgH", |
140 | | - "outputId": "2d9f379c-eb31-45b0-b84c-79c2a2577d01" |
141 | | - }, |
142 | | - "outputs": [ |
143 | | - { |
144 | | - "name": "stderr", |
145 | | - "output_type": "stream", |
146 | | - "text": [ |
147 | | - "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_auth.py:94: UserWarning: \n", |
148 | | - "The secret `HF_TOKEN` does not exist in your Colab secrets.\n", |
149 | | - "To authenticate with the Hugging Face Hub, create a token in your settings tab (https://huggingface.co/settings/tokens), set it as secret in your Google Colab and restart your session.\n", |
150 | | - "You will be able to reuse this secret in all of your notebooks.\n", |
151 | | - "Please note that authentication is recommended but still optional to access public models or datasets.\n", |
152 | | - " warnings.warn(\n" |
153 | | - ] |
154 | | - } |
155 | | - ], |
| 63 | + "execution_count": null, |
| 64 | + "metadata": {}, |
| 65 | + "outputs": [], |
156 | 66 | "source": [ |
157 | 67 | "from datasets import load_dataset\n", |
158 | | - "ds = load_dataset('merve/vqav2-small', split=\"validation\")\n" |
| 68 | + "ds = load_dataset('merve/vqav2-small', split=\"validation\")" |
159 | 69 | ] |
160 | 70 | }, |
161 | 71 | { |
|
0 commit comments