{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Running Phi-3 model in MLFlow" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "---------\n", "This notebook describes the use of Transformer pipeline on the example of Phi-3 mini 4K Instruct." ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "# Importing required packages\n", "import mlflow\n", "import transformers" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### Selecting Phi-3 Mini 4K from HuggingFace" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "9f1bb22f43e44552881ddca9ec96f20d", "version_major": 2, "version_minor": 0 }, "text/plain": [ "Loading checkpoint shards: 0%| | 0/2 [00:00