bernardo-de-almeida commited on
Commit
b1c583b
·
1 Parent(s): fde8639

feat: update notebook with HF authentication

Browse files
notebooks_pipelines/01_functional_track_prediction.ipynb CHANGED
@@ -24,6 +24,18 @@
24
  "## 0) 📦 Imports + setup"
25
  ]
26
  },
 
 
 
 
 
 
 
 
 
 
 
 
27
  {
28
  "cell_type": "code",
29
  "execution_count": 1,
 
24
  "## 0) 📦 Imports + setup"
25
  ]
26
  },
27
+ {
28
+ "cell_type": "code",
29
+ "execution_count": null,
30
+ "id": "5a301bc6",
31
+ "metadata": {},
32
+ "outputs": [],
33
+ "source": [
34
+ "# Login to HuggingFace (required for gated models)\n",
35
+ "from huggingface_hub import login\n",
36
+ "login()"
37
+ ]
38
+ },
39
  {
40
  "cell_type": "code",
41
  "execution_count": 1,
notebooks_pipelines/02_model_interpretation.ipynb CHANGED
@@ -32,6 +32,17 @@
32
  "## 0) 📦 Imports + Setup\n"
33
  ]
34
  },
 
 
 
 
 
 
 
 
 
 
 
35
  {
36
  "cell_type": "code",
37
  "execution_count": null,
 
32
  "## 0) 📦 Imports + Setup\n"
33
  ]
34
  },
35
+ {
36
+ "cell_type": "code",
37
+ "execution_count": null,
38
+ "metadata": {},
39
+ "outputs": [],
40
+ "source": [
41
+ "# Login to HuggingFace (required for gated models)\n",
42
+ "from huggingface_hub import login\n",
43
+ "login()"
44
+ ]
45
+ },
46
  {
47
  "cell_type": "code",
48
  "execution_count": null,
notebooks_tutorials/00_quickstart_inference.ipynb CHANGED
@@ -29,6 +29,18 @@
29
  "## 0) 📦 Imports + setup"
30
  ]
31
  },
 
 
 
 
 
 
 
 
 
 
 
 
32
  {
33
  "cell_type": "code",
34
  "execution_count": 1,
@@ -119,7 +131,7 @@
119
  },
120
  {
121
  "cell_type": "code",
122
- "execution_count": null,
123
  "id": "336bb40c",
124
  "metadata": {},
125
  "outputs": [
@@ -165,7 +177,7 @@
165
  },
166
  {
167
  "cell_type": "code",
168
- "execution_count": null,
169
  "id": "6cc5f2df",
170
  "metadata": {},
171
  "outputs": [
 
29
  "## 0) 📦 Imports + setup"
30
  ]
31
  },
32
+ {
33
+ "cell_type": "code",
34
+ "execution_count": null,
35
+ "id": "0b354087",
36
+ "metadata": {},
37
+ "outputs": [],
38
+ "source": [
39
+ "# Login to HuggingFace (required for gated models)\n",
40
+ "from huggingface_hub import login\n",
41
+ "login()"
42
+ ]
43
+ },
44
  {
45
  "cell_type": "code",
46
  "execution_count": 1,
 
131
  },
132
  {
133
  "cell_type": "code",
134
+ "execution_count": 4,
135
  "id": "336bb40c",
136
  "metadata": {},
137
  "outputs": [
 
177
  },
178
  {
179
  "cell_type": "code",
180
+ "execution_count": 5,
181
  "id": "6cc5f2df",
182
  "metadata": {},
183
  "outputs": [
notebooks_tutorials/01_tracks_prediction.ipynb CHANGED
@@ -43,6 +43,18 @@
43
  "## 0) 📦 Imports + setup"
44
  ]
45
  },
 
 
 
 
 
 
 
 
 
 
 
 
46
  {
47
  "cell_type": "code",
48
  "execution_count": 1,
@@ -404,7 +416,7 @@
404
  },
405
  {
406
  "cell_type": "code",
407
- "execution_count": null,
408
  "id": "6765a9b9",
409
  "metadata": {},
410
  "outputs": [
 
43
  "## 0) 📦 Imports + setup"
44
  ]
45
  },
46
+ {
47
+ "cell_type": "code",
48
+ "execution_count": null,
49
+ "id": "38ec1971",
50
+ "metadata": {},
51
+ "outputs": [],
52
+ "source": [
53
+ "# Login to HuggingFace (required for gated models)\n",
54
+ "from huggingface_hub import login\n",
55
+ "login()"
56
+ ]
57
+ },
58
  {
59
  "cell_type": "code",
60
  "execution_count": 1,
 
416
  },
417
  {
418
  "cell_type": "code",
419
+ "execution_count": 8,
420
  "id": "6765a9b9",
421
  "metadata": {},
422
  "outputs": [
notebooks_tutorials/02_fine_tuning_pretrained_model.ipynb CHANGED
@@ -36,6 +36,17 @@
36
  "# 0. 📦 Imports dependencies"
37
  ]
38
  },
 
 
 
 
 
 
 
 
 
 
 
39
  {
40
  "cell_type": "code",
41
  "execution_count": null,
 
36
  "# 0. 📦 Imports dependencies"
37
  ]
38
  },
39
+ {
40
+ "cell_type": "code",
41
+ "execution_count": null,
42
+ "metadata": {},
43
+ "outputs": [],
44
+ "source": [
45
+ "# Login to HuggingFace (required for gated models)\n",
46
+ "from huggingface_hub import login\n",
47
+ "login()"
48
+ ]
49
+ },
50
  {
51
  "cell_type": "code",
52
  "execution_count": null,
notebooks_tutorials/03_fine_tuning_posttrained_model.ipynb CHANGED
@@ -23,6 +23,17 @@
23
  "# 0. 📦 Imports dependencies"
24
  ]
25
  },
 
 
 
 
 
 
 
 
 
 
 
26
  {
27
  "cell_type": "code",
28
  "execution_count": 1,
 
23
  "# 0. 📦 Imports dependencies"
24
  ]
25
  },
26
+ {
27
+ "cell_type": "code",
28
+ "execution_count": null,
29
+ "metadata": {},
30
+ "outputs": [],
31
+ "source": [
32
+ "# Login to HuggingFace (required for gated models)\n",
33
+ "from huggingface_hub import login\n",
34
+ "login()"
35
+ ]
36
+ },
37
  {
38
  "cell_type": "code",
39
  "execution_count": 1,
notebooks_tutorials/04_model_interpretation.ipynb CHANGED
The diff for this file is too large to render. See raw diff