|
2 | 2 | "cells": [ |
3 | 3 | { |
4 | 4 | "cell_type": "markdown", |
5 | | - "id": "e81c847e", |
| 5 | + "id": "92671f50", |
6 | 6 | "metadata": {}, |
7 | 7 | "source": [ |
8 | 8 | "# Integration with mlflow" |
9 | 9 | ] |
10 | 10 | }, |
11 | 11 | { |
12 | 12 | "cell_type": "markdown", |
13 | | - "id": "b6aa588c", |
| 13 | + "id": "b9b0b4ea", |
14 | 14 | "metadata": {}, |
15 | 15 | "source": [ |
16 | 16 | "### Summary: \n", |
|
20 | 20 | { |
21 | 21 | "cell_type": "code", |
22 | 22 | "execution_count": 3, |
23 | | - "id": "35d5f728", |
| 23 | + "id": "c600ab02", |
24 | 24 | "metadata": { |
25 | 25 | "execution": { |
26 | 26 | "iopub.execute_input": "2024-08-21T10:36:36.576223Z", |
|
44 | 44 | { |
45 | 45 | "cell_type": "code", |
46 | 46 | "execution_count": 6, |
47 | | - "id": "d82a914c", |
| 47 | + "id": "ec976b10", |
48 | 48 | "metadata": { |
49 | 49 | "execution": { |
50 | 50 | "iopub.execute_input": "2024-08-21T10:37:07.692657Z", |
|
85 | 85 | { |
86 | 86 | "cell_type": "code", |
87 | 87 | "execution_count": 7, |
88 | | - "id": "3faa80be", |
| 88 | + "id": "b848621b", |
89 | 89 | "metadata": { |
90 | 90 | "execution": { |
91 | 91 | "iopub.execute_input": "2024-08-21T10:39:13.803082Z", |
|
104 | 104 | { |
105 | 105 | "cell_type": "code", |
106 | 106 | "execution_count": 8, |
107 | | - "id": "c0c84614", |
| 107 | + "id": "3d9ad6a5", |
108 | 108 | "metadata": { |
109 | 109 | "execution": { |
110 | 110 | "iopub.execute_input": "2024-08-21T10:55:27.607989Z", |
|
120 | 120 | "\n", |
121 | 121 | "runner.cfg[\"logging\"][\"use_mlflow\"] = True # making flag True to use mlflow\n", |
122 | 122 | "runner.cfg[\"logging\"][\"mlflow\"] = {\n", |
123 | | - " \"MLFLOW_TRACKING_URI\": \"https://ml-flow.msk.bd-cloud.mts.ru/\", # uri of \n", |
| 123 | + " \"MLFLOW_TRACKING_URI\": \"<mlflow_url>\",\n", |
124 | 124 | " \"MLFLOW_TRACKING_USERNAME\": \"username\",\n", |
125 | 125 | " \"MLFLOW_TRACKING_PASSWORD\": \"password\",\n", |
126 | | - " \"MLFLOW_S3_ENDPOINT_URL\": \"https://s3.mts-corp.ru\", # to save artifacts\n", |
| 126 | + " \"MLFLOW_S3_ENDPOINT_URL\": \"<endpoint_url>\", # to save artifacts\n", |
127 | 127 | " \"AWS_ACCESS_KEY_ID\": \"access_key\", # to save artifacts\n", |
128 | 128 | " \"AWS_SECRET_ACCESS_KEY\": \"secret_access_key\", # to save artifacts\n", |
129 | 129 | " \"MLFLOW_TRACKING_INSECURE_TLS\": \"true\", # to ignore the TLS certificate verification\n", |
|
138 | 138 | { |
139 | 139 | "cell_type": "code", |
140 | 140 | "execution_count": 9, |
141 | | - "id": "f154a32f", |
| 141 | + "id": "995d9aa1", |
142 | 142 | "metadata": { |
143 | 143 | "execution": { |
144 | 144 | "iopub.execute_input": "2024-08-21T10:55:36.670982Z", |
|
185 | 185 | }, |
186 | 186 | { |
187 | 187 | "cell_type": "markdown", |
188 | | - "id": "c835b041", |
| 188 | + "id": "d58837ac", |
189 | 189 | "metadata": {}, |
190 | 190 | "source": [ |
191 | 191 | "### Let's see the results on Mlflow tracker" |
192 | 192 | ] |
193 | 193 | }, |
194 | 194 | { |
195 | 195 | "cell_type": "markdown", |
196 | | - "id": "c67c3798", |
| 196 | + "id": "f8eccc2e", |
197 | 197 | "metadata": { |
198 | 198 | "execution": { |
199 | 199 | "iopub.execute_input": "2024-08-21T11:08:43.663318Z", |
|
209 | 209 | }, |
210 | 210 | { |
211 | 211 | "cell_type": "markdown", |
212 | | - "id": "cbac9ca5", |
| 212 | + "id": "2b17c3f5", |
213 | 213 | "metadata": {}, |
214 | 214 | "source": [ |
215 | 215 | "### Success!" |
|
218 | 218 | { |
219 | 219 | "cell_type": "code", |
220 | 220 | "execution_count": null, |
221 | | - "id": "686924be", |
| 221 | + "id": "1d81e647", |
222 | 222 | "metadata": {}, |
223 | 223 | "outputs": [], |
224 | 224 | "source": [] |
|
0 commit comments