Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nobuhikosekiya/13478e388e3fd21c7987417a392f6044 to your computer and use it in GitHub Desktop.
Save nobuhikosekiya/13478e388e3fd21c7987417a392f6044 to your computer and use it in GitHub Desktop.
qiitablog-vectorsearch-elasticsearch.ipynb
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github",
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/gist/nobuhikosekiya/13478e388e3fd21c7987417a392f6044/qiitablog-vectorsearch-elasticsearch.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "u-OxWKHLUOaZ"
},
"source": [
"# このJupyter Notebookの使い方\n",
"これはレシピ集として作成されています。最初に、初期設定セクションにて利用するElasticsearch環境やOpenAI環境、HuggingFace環境の接続情報を設定します。その後は、実行したいセクションA. B. C. ..から始めて順番にコマンドを実行してください。\n",
"そのためにセクション間で重複したコードが繰り返しあります。"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "9-71MkaMUOac"
},
"source": [
"# 1.初期設定"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "eUcE-Tz0UOac"
},
"source": [
"## ライブラリの有効化"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "M_GXeQu2UOad",
"outputId": "7a4f829d-e95f-4d49-ce40-0c3b76b82dba"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m412.8/412.8 kB\u001b[0m \u001b[31m3.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m794.4/794.4 kB\u001b[0m \u001b[31m8.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m225.4/225.4 kB\u001b[0m \u001b[31m7.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.0/2.0 MB\u001b[0m \u001b[31m14.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m656.0/656.0 kB\u001b[0m \u001b[31m14.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m59.8/59.8 kB\u001b[0m \u001b[31m3.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.5/1.5 MB\u001b[0m \u001b[31m15.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m192.4/192.4 kB\u001b[0m \u001b[31m13.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m46.7/46.7 kB\u001b[0m \u001b[31m1.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m75.9/75.9 kB\u001b[0m \u001b[31m3.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m49.4/49.4 kB\u001b[0m \u001b[31m1.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m76.9/76.9 kB\u001b[0m \u001b[31m3.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m58.3/58.3 kB\u001b[0m \u001b[31m3.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25h\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",
"llmx 0.0.15a0 requires cohere, which is not installed.\n",
"tensorflow-probability 0.22.0 requires typing-extensions<4.6.0, but you have typing-extensions 4.9.0 which is incompatible.\u001b[0m\u001b[31m\n",
"\u001b[0m"
]
}
],
"source": [
"%pip install -q elasticsearch==8.11.1 langchain==0.0.352 openai==1.6.1 tiktoken jq"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"id": "jQqsjx1HUOad"
},
"outputs": [],
"source": [
"from pprint import pprint\n",
"import os, time\n",
"from getpass import getpass\n",
"from elasticsearch import Elasticsearch\n",
"from elasticsearch.helpers import bulk\n",
"from langchain.vectorstores.elasticsearch import ElasticsearchStore\n",
"from langchain.embeddings.openai import OpenAIEmbeddings"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "mnqgm395UOad"
},
"source": [
"## Elasticsearchの設定"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "4TRbI2QAUOad",
"outputId": "853895ae-78e3-40c2-82f9-a9bc96875193"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Elastic deployment Cloud ID··········\n",
"Elastic deployment API Key··········\n",
"ObjectApiResponse({'name': 'instance-0000000036', 'cluster_name': '507a2cf6ba204071943512e0537eee58', 'cluster_uuid': 'oF-xDLtXRCet87gRuM3eJg', 'version': {'number': '8.11.2', 'build_flavor': 'default', 'build_type': 'docker', 'build_hash': '76013fa76dcbf144c886990c6290715f5dc2ae20', 'build_date': '2023-12-05T10:03:47.729926671Z', 'build_snapshot': False, 'lucene_version': '9.8.0', 'minimum_wire_compatibility_version': '7.17.0', 'minimum_index_compatibility_version': '7.0.0'}, 'tagline': 'You Know, for Search'})\n"
]
}
],
"source": [
"ELASTIC_CLOUD_ID = getpass(\"Elastic deployment Cloud ID\")\n",
"ELASTIC_API_KEY = getpass(\"Elastic deployment API Key\")\n",
"if ELASTIC_CLOUD_ID == '':\n",
" ELASTIC_URL = getpass(\"Elastic deployment URL. No need if Cloud ID is provided.\")\n",
"if ELASTIC_API_KEY == '':\n",
" ELASTIC_USER = getpass(\"Elastic user. No need if API key is provided.\")\n",
" ELASTIC_PASSWORD = getpass(\"Elastic password. No need if API key is provided.\")\n",
"\n",
"if ELASTIC_CLOUD_ID != '' and ELASTIC_API_KEY != '':\n",
" es = Elasticsearch(\n",
" cloud_id=ELASTIC_CLOUD_ID,\n",
" api_key=ELASTIC_API_KEY,\n",
" request_timeout=300\n",
" )\n",
"elif ELASTIC_URL != '' and ELASTIC_USER != '' and ELASTIC_PASSWORD != '':\n",
" es = Elasticsearch(\n",
" hosts = ELASTIC_URL,\n",
" basic_auth=(ELASTIC_USER, ELASTIC_PASSWORD),\n",
" request_timeout=300\n",
" )\n",
"elif ELASTIC_URL != '' and ELASTIC_USER == '':\n",
" es = Elasticsearch(\n",
" hosts = ELASTIC_URL,\n",
" # request_timeout=300,\n",
" request_timeout=300\n",
" )\n",
"else:\n",
" print(\"env needs to set either ELASTIC_CLOUD_ID or ELASTIC_URL\")\n",
"\n",
"\n",
"pprint(es.info()) # should return cluster info"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "6MPAeOZXUOae"
},
"source": [
"## テスト名の設定"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 53
},
"id": "O_d6XJ_BUOae",
"outputId": "807e8cc5-9e0a-4f13-88d1-61e837937677"
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Set the Elasticsearch index name prefix (Optional):test1226\n"
]
},
{
"output_type": "execute_result",
"data": {
"text/plain": [
"'test1226'"
],
"application/vnd.google.colaboratory.intrinsic+json": {
"type": "string"
}
},
"metadata": {},
"execution_count": 5
}
],
"source": [
"TEST_NAME=input(\"Set the test name (Optional):\")\n",
"\n",
"if TEST_NAME == '':\n",
" INDEX_PREFIX='test'\n",
"else:\n",
" INDEX_PREFIX=TEST_NAME\n",
"INDEX_PREFIX"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "VVqCWiSOUOae"
},
"source": [
"## OpenAIかAzure OpenAIの有効化"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "h2wX0iTaUOae",
"outputId": "a4fc2727-6b29-4835-bbc4-2816da7b7558"
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Enter number (or nothing to skip): 1: OpenAI 2: Azure OpenAI 1\n"
]
}
],
"source": [
"num = input(\"Enter number (or nothing to skip): 1: OpenAI 2: Azure OpenAI \")\n",
"USE_OPENAI = num == \"1\"\n",
"USE_AZURE_OPENAI = num == \"2\"\n",
"os.environ[\"OPENAI_API_KEY\"] = \"\""
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "Ymbpy5urUOae"
},
"source": [
"### OpenAI APIの有効化"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "Czz0TciiUOae",
"outputId": "9b790ce1-ed98-4c0f-90e9-54ce9b8998c1"
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"OpenAI API key: ··········\n"
]
}
],
"source": [
"if USE_OPENAI:\n",
" os.environ[\"OPENAI_API_KEY\"] = getpass(\"OpenAI API key: \")\n",
" # os.environ[\"OPENAI_API_TYPE\"] = \"open_ai\"\n",
" # os.environ[\"OPENAI_API_BASE\"] = \"https://api.openai.com/v1\""
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "BfzMn7xzUOae"
},
"source": [
"### Azure OpenAI APIの設定"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {
"id": "xge508rfUOae"
},
"outputs": [],
"source": [
"if USE_AZURE_OPENAI:\n",
" os.environ[\"OPENAI_API_BASE\"] = getpass(\"Azure OpenAI API endpoint: \")\n",
" os.environ[\"OPENAI_API_KEY\"] = getpass(\"Azure OpenAI API key: \")\n",
" os.environ[\"OPENAI_API_TYPE\"] = \"azure\"\n",
" os.environ[\"OPENAI_API_VERSION\"] = \"2023-05-15\"\n",
" azureOpenAI_embedding_deployment = getpass(\"Name of Azure OpenAI deployment for embedding\")\n",
" azureOpenAI_chat_deployment = getpass(\"Name of Azure OpenAI deployment for chat\")"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "ueAXc1dDUOae"
},
"source": [
"## Elastic 上のMLモデルの有効化"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "kTQbUenYUOae"
},
"source": [
"### 有効化するMLモデルの設定"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "Mwim1WQEUOaf",
"outputId": "cf3636ac-2c02-4f74-d65a-dc299b081c90"
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Enable ML model intfloat/multilingual-e5-small? Enter any key for 'Yes'.··········\n",
"Enable ML model cl-tohoku/bert-base-japanese-v3? Enter any key for 'Yes'.··········\n",
"Enable ML model cl-tohoku/bert-base-japanese-v2? Enter any key for 'Yes'.··········\n"
]
}
],
"source": [
"enable_multilinguale5small = getpass(\"Enable ML model intfloat/multilingual-e5-small? Enter any key for 'Yes'.\") != \"\"\n",
"enable_bertbasejapanesev3 = getpass(\"Enable ML model cl-tohoku/bert-base-japanese-v3? Enter any key for 'Yes'.\") != \"\"\n",
"enable_bertbasejapanesev2 = getpass(\"Enable ML model cl-tohoku/bert-base-japanese-v2? Enter any key for 'Yes'.\") != \"\""
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "N_bPVVw8UOaf",
"outputId": "c52d246d-613f-422f-a978-7049a4557c6f"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/157.9 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[91m━━━━━━━━━━\u001b[0m\u001b[90m╺\u001b[0m\u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m41.0/157.9 kB\u001b[0m \u001b[31m1.0 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m157.9/157.9 kB\u001b[0m \u001b[31m2.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25h\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/86.0 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m86.0/86.0 kB\u001b[0m \u001b[31m4.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25h Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.3/1.3 MB\u001b[0m \u001b[31m8.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25h Building wheel for sentence_transformers (setup.py) ... \u001b[?25l\u001b[?25hdone\n"
]
},
{
"output_type": "stream",
"name": "stderr",
"text": [
"/usr/local/lib/python3.10/dist-packages/eland/ml/_optional.py:116: UserWarning: Eland requires version '1.3' or newer of 'sklearn' (version '1.2.2' currently installed). Use pip or conda to update sklearn.\n",
" warnings.warn(msg, UserWarning)\n"
]
}
],
"source": [
"%pip install -q eland elasticsearch transformers sentence_transformers\n",
"import tempfile\n",
"from eland.ml.pytorch import PyTorchModel\n",
"from eland.ml.pytorch.transformers import TransformerModel\n",
"from eland.ml.pytorch.transformers import elasticsearch_model_id\n",
"\n",
"def load_model(es_connection, model_id, task_type):\n",
" with tempfile.TemporaryDirectory() as tmp_dir:\n",
" print(f\"Loading HuggingFace transformer tokenizer and model [{model_id}] for task [{task_type}]\" )\n",
"\n",
" tm = TransformerModel(model_id=model_id, task_type=task_type)\n",
" model_path, config, vocab_path = tm.save(tmp_dir)\n",
"\n",
" ptm = PyTorchModel(es_connection, tm.elasticsearch_model_id())\n",
" model_exists = es_connection.options(ignore_status=404).ml.get_trained_models(model_id=ptm.model_id).meta.status == 200\n",
"\n",
" if model_exists:\n",
" print(\"Model has already been imported\")\n",
" else:\n",
" print(\"Importing model\")\n",
" ptm.import_model(model_path=model_path, config_path=None, vocab_path=vocab_path, config=config)\n",
" print(f\"Model successfully imported with id '{ptm.model_id}'\")\n",
"\n",
"def start_model(es_connection, model_id=None, es_model_id=None):\n",
" if model_id:\n",
" es_model_id = elasticsearch_model_id(model_id)\n",
" if is_model_started(es_connection, es_model_id=es_model_id):\n",
" print(f\"Model '{es_model_id}' is already started\")\n",
" else:\n",
" print(f\"Starting model deployment '{es_model_id}'\")\n",
" es_connection.options(request_timeout=300).ml.start_trained_model_deployment(\n",
" model_id=es_model_id, timeout=\"300s\", wait_for=\"started\")\n",
" print(f\"Model successfully started with id '{es_model_id}'\")\n",
"\n",
"def stop_model(es_connection, model_id=None, es_model_id=None):\n",
" if model_id:\n",
" es_model_id = elasticsearch_model_id(model_id)\n",
" es_connection.options(request_timeout=300).ml.stop_trained_model_deployment(model_id=es_model_id, force=True)\n",
" print(\"Stopping model deployment\")\n",
"\n",
"def is_model_started(es_connection, model_id=None, es_model_id=None):\n",
" if model_id:\n",
" es_model_id = elasticsearch_model_id(model_id)\n",
" r = es_connection.ml.get_trained_models_stats(model_id=es_model_id)\n",
" if r['trained_model_stats'][0].get('deployment_stats') != None:\n",
" state = r['trained_model_stats'][0]['deployment_stats']['state']\n",
" if state == 'started':\n",
" print(\"Check: Model is started\")\n",
" return True\n",
" elif state == 'starting':\n",
" print(\"Check: Model is starting\")\n",
" return False\n",
" else:\n",
" print(f\"Check: Model is in {state} state\")\n",
" return False\n",
" else:\n",
" print(f\"Check: Model does not have deployment stats\")\n",
" return False"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "f1Jo82GXUOaf"
},
"source": [
"### Elastic MLにE5モデルをアップロード"
]
},
{
"cell_type": "code",
"execution_count": 12,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 821,
"referenced_widgets": [
"1042eb65111944229d59aeb6b72a681b",
"6a27a4f37abd4577b7bdd65e75a85257",
"dc1f116bac864769b48ad8b337b0f8fe",
"9cd3facfe39146bc905dea1a5638d3f1",
"20ee57abb81643fc80a1899421430531",
"10262830f9da404ba2c04a02192afb1c",
"0d895bdb538b4c40bc48632b359206d1",
"9b247c45cef040208428251b5076b0e4",
"c688413701e345ecadd51410602bf7b1",
"876b17ecd955452e9dff74dd5efbfbe0",
"97fd491a50ff40b4a206b32b57a6ee3e",
"5f84c17179c74539bbe049815eb8e2a8",
"cdef3f29afd44227970d0ef44803748b",
"9bcaf282796149dbb9ba80622fdf544a",
"aefb3f0805ce407688c7393c92339d3b",
"6bc4dce09d00404d8fd365bdcecd7e1e",
"95ef27e5442f4d61bf740b372078ed83",
"df69e67845684deabe0c6d26b8079e88",
"8f07965560144e1dbe23c09f9627c0c7",
"b72dcc3a6eb840f3af20536eafb253b2",
"d68f53ae9f744cb68dd654a942edbc7b",
"9aa011eeb8c340cb8ac259c955576b06",
"24c04facccbd45a4b428a0773afe86c1",
"13d55145828c42198c285e9cb45d41cf",
"e255e37b6e184884a0b612b1f5862156",
"331b46a664fb4ec08d816a48d892cd9b",
"ce6dede5504f42e18befddd4862aa696",
"a6ef7959e9c54cf5a1e230071552ef55",
"ff9119b46c5a494cb329dd841eec4917",
"69918e2184e34a4fb8c566aa84aa6e5e",
"4db161a3cf7347419665a92860b8ac04",
"18ae6ff8e2904c6980ab58ad2e913cde",
"f70ac0dc353b4cd593e7214c46e6420e",
"61a81d46139d48dab05d589fa38690f6",
"0e59638a925a44939f306498dc6d8347",
"806d12cf87624088a556edb6b3181495",
"2c1b9a5514384895bcf1106daf0eb484",
"6b095b46c2ca4f238f9a2bc26b831d27",
"e38ca440d2914c0e8074f0ae0f717ac6",
"e8bb7a3131ba45faaf0042394b2ae7ce",
"81a63eddbef94adcbd9edfc3a0ff2795",
"24bb3d4d437447b9943b5177ad65e67f",
"5f82214c4f86460ba3c20df4dc3aad94",
"32e65e37e2d3499aac958f4f74a3c2e7",
"250befcededc4c83908bd7f6ef058066",
"f929ba84aa1c4b95861a1b08ea02b6dd",
"75046b4763624dd9ad5994af094ddf64",
"26462914bf6044c59dc990a6080889db",
"af978c2a9922425a9daaacb4d18d8b75",
"ce3fd4a6c80f4b6c9b9f4482373645cf",
"d456033ea49747b493d90df390c5fe4c",
"4b94aca698f34e62bb92663a977ed8b1",
"0eaeaac2f2da4dee909b0c771bf9244d",
"c59b94bcbdfd4c5da880b18543d7132d",
"3d998bee4beb49aab590f4c4b461b9df",
"1605376349e74dfd83198d0066864dc4",
"7ad375c23ace4080bb245b5a7315b281",
"e9531c807d5045998e5b4d818d6e63e2",
"c8f89ad50690456aa682a5cbabcd2d41",
"89ea401c65e5437b922df59999e796bd",
"3de3cbd6f1864669b5df325c251892ee",
"1fcfa0a34f534a2fa36187049c29b417",
"778cee7027b04717ac3d6f57904f8c96",
"31e89d659311454b950061acbf0a569c",
"655fd46c9b8b48aa8fb99c7287de7e94",
"262db7e8aa0f4341b2a167fb4f2b824d",
"74ab8c653ce94591aebc2b0dd23e79c4",
"9f640770ee5e470da8687480c3ced51a",
"cecf659781d34a5a9b0e1a80e7fa1df2",
"3da9fc5d220a4f108c2643acd5506723",
"164ce979ccb54affb1e5d434edbc622f",
"3e878dc13fa74a45ba16fa70150ec172",
"e92edacda7624e67a7819f0a45869ab9",
"bf8c76875ad643a7a5f508cd00fcebf2",
"bbf3401868fd48feb89c91af7efff396",
"56c12bb4384f4db4b258f7ddacc045d2",
"ea30605a266b483fab91cf300e99980e",
"876276fe9815491ea28e5768545131c6",
"33f1ee5dcf814818ac433021144db9a5",
"67aa27350e8b4fa0ad50b4c4e8ed26e0",
"4c94360a34144e65889502c10cd7cf65",
"301506bbef344c5388d6d7402740f01d",
"7d7e6f3b101d471d87392191ea5039b9",
"82bd65a3bb064e99a5f30a917e152369",
"84ba639abbc84e498fe3ab7f6010ad60",
"f899075513084e4cb7e695993c33c631",
"f9098fcfaf724b2aabaee654c31bbf54",
"c843eeee6490496b8b394a64b4404b7f",
"2fccd0c07f474dd0babdced89813480d",
"0452db1281a94a0f8221b32f02796f55",
"bfcf44c13c564e80a47aa7907347a66a",
"2a2e0da969b244869e9348b1955a72f6",
"cc143a75a46a4fa7a103b498b526d549",
"c16d8561e9f04b5cbb2bc32c7dd3cd9e",
"5cd46794b06d4ed7b9331b04dd725617",
"ee103e114b6947b69c7b76a3347c51cb",
"6a7b54c8f900435e9a511df83f7448e5",
"e6ef896781634c1887773de0cfd8a65d",
"c21156647a8c485081bffe70c95507cd",
"87e0a04bb6e34427a074574464d00b2e",
"0628e14fc711440a9af21d8cccbff42c",
"dd1429cc31644f079c383b585635174b",
"96312c7aa1b743a69a08505905bd970d",
"92355f811b154320b86e3708bfe89d00",
"0a71378bcc744a4d96604cb695e24eda",
"f29e0a46a4e84150bbb2856318d0fff0",
"d887e30b882941c887ac2a0f3d1be976",
"fba13baf82b54718a7f95fb45fc0c209",
"9eade7dabf3b48b29ddb8c0e1c846cea",
"b2d9a825ca2a4bd28cbbbec530f2c73b",
"9caa06296ad845419fe67dce3c100f6e",
"51c0284e2ef147bbac89836b1456f859",
"568737f2168b406891d421c4ca0b2c81",
"9321796c9f6a43de845db989c03d0e0c",
"6d6197d1585b4d29a2f6b4beff7ea9b9",
"a730424b90164e219ddc68e0c51b6288",
"99c5da397c1743dc9098b1c996dab7ac",
"fcc9cd759db74afb9882a4f5121de4a3",
"218e8558aaa1448da6718790b16f02ff",
"e5ab68be89dd459e918012ebf91a940c",
"6603955ea4c6409e89a78f92b3d4f75c",
"80f98ba7e19b45ae93fd7dabf2f40a6f",
"c6d57e93ec7f4850b4024a6d54ff86fa",
"8d975fb0f26146839783873ba9d91583",
"e52d4683e4b84dbdb6ebb2ba2ba104d9",
"0d09f25679ab4b9f8105eb364a734724",
"c7faaaeb9e6443249b51e648fcbf0e4e",
"9a4eacba48914b27b9d8e43069e8aba9",
"f8aa993233e0486b9951e901c6320fe2",
"f535161d69894cefbf09c9bd9394d816",
"a036d16408fb4bafb1bcb62a33672ddc",
"df8338b1062d4a778eaaa48b715a1d03",
"bea8df4eae0b4eb7a2b86baced7e86e1",
"242f167afff44b3a9430ce7612ec8b9f",
"5566421881cc44f887b5487e1d8a5ac1",
"7132da2cfd284b1b97d8a798c31115b5",
"fedaa3a8cd6e4dc0b03cddbdad5d6f64",
"4b85095ae81f4ceeb7c92f4f8c6bcb60",
"139630de35d5433882b560c8c89b8de4",
"4286736d4d5b454cbc7db3c41be1a4d8",
"8856c540d0e94723a8283685e388a130",
"50b3348e24eb4a478d67eaf4810e4d2c",
"fd1464ec69c0482990d4432b0748ef5d",
"3f434e8ca60d416fa54824bc718bd4dd",
"f3a949e4dafd45449a908cf01a591708",
"3627eba5b89342c295d53b20116d74c3",
"f5338b448ac043f09c6a64e978b4d0b3",
"72011e6a79484320a666a3ca5d2b710d",
"9c938bd774d64f2e928693c4b86916ca",
"9234ca962bec4c73ae35a8e7acb280ce",
"6affc9a088d742d086a30bb8e040ab27",
"76a25918791b45ebbc1449ce95bf67cd",
"716852e64889448ba026f52d52d7ad92",
"3fa3468886634f7aaf98abb2b4716a2e",
"cae87c4e3e5c4a7da62b1ca46282eac9",
"3a10fddf4a574c5dbcc2e2c3935d01a1",
"e75bec133c3c410e95acc55cb235f686",
"e03838a418724be9a1abe531ff5062fc",
"a0dd1c67d320441994cee6ebd488a8ff",
"f1ab52c42f384c29b10f09ec8533cfef",
"e10f3632bbb34eada59cee3c156843c0",
"f94efaf111324f2cb5dd98dfba92d7f9",
"80cde445269342dd92dcdd3c27f13f6d",
"647da4016b8b4be28af12a514ff2df64",
"4a4700ab7dd64a049aeaaf4dcdacfb5f",
"1043a80571914316a5dce4cc0451b57c",
"1bf933cf696a42f3b7b39f42962a061f",
"dc634afe552e41629e9a38a424cc0a80",
"b7dc58758b384283bd95c32d837f56fb",
"ccb18fc4abb049bfb4f4ea27b114ffd4",
"64fb84457ef548b6a5b208675e8dea93",
"348710959f5e4831b5a467ad49098605",
"bca12d398adc4fa7842c2db28932f2a4",
"d935a922e37948e982c928d185994749",
"2e619c43326241a7a322983ccfd14055",
"ed05036bc2fa4fd0aa0a5a38ee73480d",
"3bdfe6c1c2914107a18e90866c2ef628",
"796ed4ce049247c586a92820a11e26f0",
"310f4c94a53141cb9ab110e470f39cbd",
"67179f6bfca2497389b82a10c7f87757",
"c00ddad7f8e24d0fbd62b44766e82749",
"0fcf47e7d9e247689b98b29ce5ea8c62",
"0684d1bbd8754a3f801b6d8202ab452a",
"3c211e12b89d42738dd0a91bc62b217a",
"b4b7cfddca934054bed78b1390349a7d",
"af95ddb40c934afda6559019d10e4c33",
"557e3c800bf747a6ac7f6aea89c5b25c",
"e746413a5b754dfd92ac8a5e557df685",
"a523cddd683b4b6d929bb64fa98e1aa1",
"62f294105a764d428d353b871990aedb",
"012374f990ba4cd1b5c801c0d0b96856",
"16cf0c29a40b4050a6731395398df7b5",
"a7e889879fbd4c2fa6a8687f37dae6f6",
"0983c9e453fd4b699d4ffec7f04026a8",
"b73451d4682742bba071695e15f741d4",
"3fca808c9b3c4629b85adbe3e05863f4",
"3f041564b6084bed95400f0520102084",
"5467dc57b11b4bdea30ebc25132fadb0",
"0bb35c5d95b3412cb9f4df8f8e7816f5",
"c16e5a5e8566435ea47894deb3d357ef",
"a075cf216a074a76ae739e24604a421a",
"1f52ecaa2523424f951313b01a5f43e3",
"9f80b1b91b6a4728aeddc12ac1fed808",
"2d612ea5eafd4c3fa6268ca82abe624e",
"54df0199d59c49eabf26207a2d4cfbcb",
"545ceb0ff1744bd9b3345f03e313a3b5",
"d5c627eaab20471a8bfd9fab5042b6cf",
"13b9122d124b4fa084d53243c474a358",
"d15ef429325040bc88b8e0e0babdb174",
"969f44634cdf4e9ea4449a5225a1275f",
"dd11edf52795443a811007abc9dd7509",
"ad8a0eed61b34b1399e6fea50f7dd4d6",
"2ff6e526ee4d4e9e8efebe42d67c1695",
"f0cf14ebdf524496988fbfaa9be1dc7b",
"2701447d31d945d2abfea31b6473c773",
"2dd9d541cab947e3b6693cd5344e7a2f",
"209f5daebb544e2aa88621f0b417acaf",
"9fb243d5c00a4f9f9d9e37898e20db46",
"d75c2bd1a92c4f1c9b30172c6b614bca",
"95ce5a2f2ccd4df6b1ca28bb28ba460c",
"fa81bc35cefc4f79a3ea0dd68db4f910",
"0a815d6ef96a43ba8779effc24de1000",
"e452d51f348f497e9937703e4da75e82",
"bd44fe088373439283318caca52ef4a5",
"02db5df99b294a0da6aee79331c49bc8",
"495d3c55dd8f4694b54eddead61c8ea3",
"74398c93b6f44929a84096c490ae6e23",
"7efcc001a1c449f9b054aeeacdc0d715",
"97b38029d3f3445397bf21082f07a727",
"29d6fa6404a14e0393d22e8101a131a8",
"01b057c603084fe68a45a92581336156",
"a4d4a0827362446cab437ed37e5499d3",
"f355377513db467da3a0d4d90426451c",
"0a679b4b48b94cb78070af89580bff13",
"8f4386b8836a4eb2a73cbd7af7abc5a6",
"6156232690d8482aa806ee0edf78f66c",
"3ffffa0ee61d40c695b71c9802b0718a",
"ae90f900874e43edb105bb1c95bf675e",
"86b318b2f1864b38ada54001a954c193",
"70970931eff742d8b7dce9f928e9aa73",
"c23bd9eef7084bc985d510a77c249572",
"b5fbbde7e6cb446289359dd8fd6145f2",
"eaca85d61178428598b512dbb6a4a04f",
"84067d217bc645739f599903977d1b00",
"df095f31fafd4a7a829b6373a179cb7a",
"2cb0a25e5fb14b22831b5c3a663419e4",
"cc7f6fbc631143a38ea5afeba61729d3",
"311dfb5fc3f64afcb76e0e0a4a053deb",
"acd38b2cdcb446378a5692fb7cd74965",
"7afff963be82492180dd8ead8f9720a5",
"27d92ef104ca4855849b3b38dd40e7cd",
"e78a084f2ffc4543994823d3b691c94e",
"dc2059a13dc745248860b9b71c8e290e",
"cbf05482130748bc869fae970908de0b",
"4a51cf64668c44d5abcc1f1803c3aa0a",
"ea00f2460a994da8bdef10a14b70668f",
"efebe539cb4a44c5a2fddb0175402cc5",
"9c050a09a64f4a989cd784fd865fca70",
"e0782bd3d7574554ba1b959fc39ad79f",
"9464023dda9143638058c643cc62d5d4",
"37da1ef70f204b3a9ac83718ded54465",
"86fde9b98a8c40e5bfd143e54b816c30",
"e30e44827425409a8abcae3e7195ac78",
"ab375097bbfa4b29b9a6da74f78c935e"
]
},
"id": "z7rhNzEbUOaf",
"outputId": "c5b15e79-2e52-4838-87a5-8e50187a9414"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Loading HuggingFace transformer tokenizer and model [intfloat/multilingual-e5-small] for task [text_embedding]\n"
]
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"tokenizer_config.json: 0%| | 0.00/443 [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "1042eb65111944229d59aeb6b72a681b"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"sentencepiece.bpe.model: 0%| | 0.00/5.07M [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "5f84c17179c74539bbe049815eb8e2a8"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"special_tokens_map.json: 0%| | 0.00/167 [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "24c04facccbd45a4b428a0773afe86c1"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"tokenizer.json: 0%| | 0.00/17.1M [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "61a81d46139d48dab05d589fa38690f6"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"config.json: 0%| | 0.00/655 [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "250befcededc4c83908bd7f6ef058066"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"model.safetensors: 0%| | 0.00/471M [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "1605376349e74dfd83198d0066864dc4"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
".gitattributes: 0%| | 0.00/1.57k [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "74ab8c653ce94591aebc2b0dd23e79c4"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"1_Pooling/config.json: 0%| | 0.00/200 [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "876276fe9815491ea28e5768545131c6"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"README.md: 0%| | 0.00/160k [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "2fccd0c07f474dd0babdced89813480d"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"config.json: 0%| | 0.00/655 [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "87e0a04bb6e34427a074574464d00b2e"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"model.safetensors: 0%| | 0.00/471M [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "9caa06296ad845419fe67dce3c100f6e"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"onnx/config.json: 0%| | 0.00/653 [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "80f98ba7e19b45ae93fd7dabf2f40a6f"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"model.onnx: 0%| | 0.00/470M [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "bea8df4eae0b4eb7a2b86baced7e86e1"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"sentencepiece.bpe.model: 0%| | 0.00/5.07M [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "3f434e8ca60d416fa54824bc718bd4dd"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"onnx/special_tokens_map.json: 0%| | 0.00/167 [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "cae87c4e3e5c4a7da62b1ca46282eac9"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"tokenizer.json: 0%| | 0.00/17.1M [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "1043a80571914316a5dce4cc0451b57c"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"onnx/tokenizer_config.json: 0%| | 0.00/443 [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "3bdfe6c1c2914107a18e90866c2ef628"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"pytorch_model.bin: 0%| | 0.00/471M [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "e746413a5b754dfd92ac8a5e557df685"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"sentence_bert_config.json: 0%| | 0.00/57.0 [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "0bb35c5d95b3412cb9f4df8f8e7816f5"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"sentencepiece.bpe.model: 0%| | 0.00/5.07M [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "969f44634cdf4e9ea4449a5225a1275f"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"special_tokens_map.json: 0%| | 0.00/167 [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "fa81bc35cefc4f79a3ea0dd68db4f910"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"tokenizer.json: 0%| | 0.00/17.1M [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "a4d4a0827362446cab437ed37e5499d3"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"tokenizer_config.json: 0%| | 0.00/443 [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "eaca85d61178428598b512dbb6a4a04f"
}
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"modules.json: 0%| | 0.00/387 [00:00<?, ?B/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "cbf05482130748bc869fae970908de0b"
}
},
"metadata": {}
},
{
"output_type": "stream",
"name": "stdout",
"text": [
"Model has already been imported\n"
]
}
],
"source": [
"if enable_multilinguale5small:\n",
" load_model(es, \"intfloat/multilingual-e5-small\", \"text_embedding\")"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "dRcF2qs9UOaf"
},
"source": [
"### Elastic ML E5モデルの開始"
]
},
{
"cell_type": "code",
"execution_count": 13,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "_1RqEb6ZUOaf",
"outputId": "a9ae9ac6-4bcc-4811-ab52-b779eb15fadb"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Check: Model does not have deployment stats\n",
"Starting model deployment 'intfloat__multilingual-e5-small'\n",
"Model successfully started with id 'intfloat__multilingual-e5-small'\n"
]
}
],
"source": [
"if enable_multilinguale5small:\n",
" start_model(es, model_id=\"intfloat/multilingual-e5-small\")\n"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "Y1xU75LLUOaf"
},
"source": [
"### Elastic MLにTohoku Bertモデルをアップロード"
]
},
{
"cell_type": "code",
"execution_count": 14,
"metadata": {
"id": "np1MgM3dUOaf"
},
"outputs": [],
"source": [
"if enable_bertbasejapanesev3:\n",
" %pip install -q fugashi ipadic unidic_lite\n",
" load_model(es, \"cl-tohoku/bert-base-japanese-v3\", \"text_embedding\")\n",
"\n",
"if enable_bertbasejapanesev2:\n",
" %pip install -q fugashi ipadic unidic_lite\n",
" load_model(es, \"cl-tohoku/bert-base-japanese-v2\", \"text_embedding\")"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "G5UxidkiUOag"
},
"source": [
"### Elastic ML Tohoku Bertモデルの開始"
]
},
{
"cell_type": "code",
"execution_count": 15,
"metadata": {
"id": "AO7xrJixUOag"
},
"outputs": [],
"source": [
"if enable_bertbasejapanesev3:\n",
" start_model(es, model_id=\"cl-tohoku/bert-base-japanese-v3\")\n",
"if enable_bertbasejapanesev2:\n",
" start_model(es, model_id=\"cl-tohoku/bert-base-japanese-v2\")"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "WOh7ZLPQUOah"
},
"source": [
"## テスト結果をまとめる関数"
]
},
{
"cell_type": "code",
"execution_count": 19,
"metadata": {
"id": "EktDn6pwUOah"
},
"outputs": [],
"source": [
"import json\n",
"\n",
"# Initialize a list to store the results\n",
"\n",
"\n",
"# Define the file path for data persistence\n",
"file_path = f\"{INDEX_PREFIX}_results.json\"\n",
"result_list = {}\n",
"\n",
"def add_result(query, search_logic, result):\n",
" global result_list\n",
" # クエリが存在しない場合、新しいクエリを追加\n",
" if query not in result_list[\"queries\"]:\n",
" result_list[\"queries\"][query] = {}\n",
"\n",
" # ロジックが存在しない場合、新しいロジックを追加\n",
" if search_logic not in result_list[\"queries\"][query]:\n",
" result_list[\"queries\"][query][search_logic] = []\n",
"\n",
" # 結果を追加\n",
" result_list[\"queries\"][query][search_logic] = result\n",
" save_results()\n",
"\n",
"def save_results():\n",
" global result_list\n",
" with open(file_path, 'w') as file:\n",
" json.dump(result_list, file, ensure_ascii=False, indent=2)\n",
"\n",
"def load_results():\n",
" global result_list\n",
" try:\n",
" if os.path.exists(file_path):\n",
" with open(file_path, 'r', encoding='utf-8') as file:\n",
" result_list = json.load(file)\n",
" else:\n",
" result_list = { \"queries\": {} }\n",
" except FileNotFoundError:\n",
" # If the file doesn't exist, start with an empty results list\n",
" result_list.clear()\n",
"\n",
"# Load existing results from the file (if any)\n",
"load_results()"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "KTHH4UKMUOag"
},
"source": [
"# 2.検索ドキュメントのセットアップ\n"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "41mhALLmUOaa"
},
"source": [
"## Qiita記事のダウンロード"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "7Fg8mQrDUOab",
"outputId": "2220e340-746a-4eb0-e379-ae171bba0940"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (2.31.0)\n",
"Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests) (3.3.2)\n",
"Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests) (3.6)\n",
"Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests) (2.0.7)\n",
"Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests) (2023.11.17)\n",
"200 OK\n",
"total_count: 69\n"
]
}
],
"source": [
"%pip install requests\n",
"\n",
"import json\n",
"import requests\n",
"import os\n",
"\n",
"# h = {'Authorization': 'Bearer xxxx'} # ユーザ認証する場合\n",
"h = {}\n",
"url = \"https://qiita.com/api/v2/items?\"\n",
"\n",
"# tag別に記事をPAGEだけ繰り返し取得\n",
"query = \"&query=org%3Aelasticsearch_japan\"\n",
"# 検索で指定した期間内に作成された記事数を取得\n",
"res = requests.get(url=url + query, headers=h)\n",
"# サーバーからの応答\n",
"print(res.status_code, res.reason)\n",
"# print(\"指定しているタグ: \" + tag_name)\n",
"total_count = int(res.headers['Total-Count'])\n",
"print(\"total_count: \" + str(total_count))\n",
"\n",
"page = f\"page=1&per_page={total_count}\"\n",
"os.makedirs(\"qiita/elasticsearch_japan\", exist_ok=True)\n",
"res = requests.get(url=url + page + query, headers=h)\n",
"documents = json.loads(res.text)\n",
"for doc in documents:\n",
" search_doc = {\n",
" \"title\": doc[\"title\"],\n",
" \"url\": doc[\"url\"],\n",
" \"body\": doc[\"body\"],\n",
" \"tags\": doc[\"tags\"]\n",
" }\n",
" title = doc[\"title\"].replace('/', '_')\n",
" filename = \"./qiita/\" + \"elasticsearch_japan\" + \"/\" + title + \".json\"\n",
" with open(filename, 'w') as f:\n",
" json.dump(search_doc, f, indent=2, ensure_ascii=False)"
]
},
{
"cell_type": "markdown",
"source": [
"## GPTによる質問の自動生成"
],
"metadata": {
"id": "ekoSaD3PZpFK"
}
},
{
"cell_type": "code",
"source": [
"from openai import OpenAI\n",
"\n",
"def generate_questions(context):\n",
" input_text='以下の情報に対する質問を10個作成してください。質問は以下に含まれる情報だけを使ってください。答えはJSON形式でquestionsキーのリストとして返してください。次のようなjson形式でお願いします。\\n' + \\\n",
" '''\n",
"{\n",
" \"questions\": [\n",
" \"ElasticsearchのRPMインストール後に表示されるパスワードをどのように管理すべきですか?\",\n",
" \"Kibanaのネットワークインターフェースの設定を変更する目的は何ですか?\",\n",
" ]\n",
"}\n",
"''' + \"\\n\\n\" + context\n",
"\n",
" client = OpenAI()\n",
"\n",
" response = client.chat.completions.create(\n",
" model=\"gpt-3.5-turbo-1106\",\n",
" response_format={ \"type\": \"json_object\" },\n",
" messages=[\n",
" {\"role\": \"system\", \"content\": \"You are a helpful assistant.\"},\n",
" {\"role\": \"user\", \"content\": input_text},\n",
" ]\n",
" )\n",
"\n",
" response_content = response.choices[0].message.content\n",
" # print(response_content)\n",
" response_content = json.loads(response_content)\n",
" return response_content\n",
" # response_content = json.loads(response_content)\n",
" # print(\"Received response:\" + json.dumps(response, ensure_ascii=False))"
],
"metadata": {
"id": "FuHbnFSxZscF"
},
"execution_count": 51,
"outputs": []
},
{
"cell_type": "code",
"source": [
"# フォルダのパスを指定\n",
"blog_path = './qiita/elasticsearch_japan/'\n",
"questions_path = './qiita/questions/'\n",
"os.makedirs(questions_path, exist_ok=True)\n",
"documents = []\n",
"file_list=os.listdir(blog_path)\n",
"total = len(file_list)\n",
"for i, filename in enumerate(file_list):\n",
" print(f\"Generating file for {i}/{total}: {filename}\")\n",
" file_path = os.path.join(blog_path, filename)\n",
" with open(file_path, 'r', encoding='utf-8') as f:\n",
" try:\n",
" data = json.load(f)\n",
" page_content = data.get('body')\n",
" if len(page_content) <= 100:\n",
" print(f\"Skipping because content length is short\")\n",
" continue\n",
"\n",
" questions = generate_questions(page_content[:10000])\n",
" docs_per_question = []\n",
" try:\n",
" for q in questions['questions']:\n",
" if not isinstance(q, str):\n",
" raise Exception(\"bad format: \" + data.get('title'))\n",
" doc = data.copy()\n",
" del doc['body']\n",
" doc['question'] = q\n",
" docs_per_question.append(doc)\n",
" except Exception:\n",
" print(f\"Error at {file_path}\")\n",
" print(questions)\n",
" continue\n",
"\n",
" new_file_name = filename\n",
" new_file_path = os.path.join(questions_path, new_file_name)\n",
"\n",
" # \"questions.json\"としてデータを書き出す\n",
" with open(new_file_path, 'w', encoding='utf-8') as new_file:\n",
" json.dump(docs_per_question, new_file, ensure_ascii=False, indent=2)\n",
"\n",
" except json.JSONDecodeError as e:\n",
" print(f'Error decoding JSON in file {file_path}: {e}')"
],
"metadata": {
"id": "BOtzipZBZ3q1",
"colab": {
"base_uri": "https://localhost:8080/"
},
"outputId": "5db6d616-2284-42a5-e869-aac26d21f9fd"
},
"execution_count": 52,
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Generating file for 0/69: AWS s3 をElasticsearchに取り込んで検索してみる(パート2: NLP Inferenceを追加).json\n",
"Generating file for 1/69: Elastic Cloud について 〜実際にデプロイメントを作ってみよう〜.json\n",
"Generating file for 2/69: ElasticsearchでRAG (Retrieval Augmented Generation) を試す.json\n",
"Generating file for 3/69: GKE上のOpenTelemetry DemoアプリケーションをさくっとElasticでAPM・ログ・インフラ+eBPFプロファイリング監視する.json\n",
"Generating file for 4/69: Elastic Stackに対してTerraformのImportをやってみた.json\n",
"Generating file for 5/69: Elasticsearchにカスタム時系列データを取り込む (Elastic Agent編).json\n",
"Generating file for 6/69: Elastic Stack コードリーディング: Painless スクリプト.json\n",
"Generating file for 7/69: Elastic Cloudに対してTerraformのImportをやってみた.json\n",
"Generating file for 8/69: [v8.7] Elasticsearch multinode_dedicaded masterをdocker-composeでインストールする手順(試用用途).json\n",
"Generating file for 9/69: Elastic Stack 8.0 の NLP で日本語センチメント分析を試してみた - 前編.json\n",
"Generating file for 10/69: APMでElasticsearchのクエリーをどこまで分析できるかやってみた.json\n",
"Generating file for 11/69: [v8.6] Elasticsearch_Kibanaをdocker-composeでインストールする手順(試用用途).json\n",
"Generating file for 12/69: ビジネス・オブザーバビリティ?Elasticでビジネストレンドのレポート自動化に挑戦.json\n",
"Generating file for 13/69: IT リーダーが検索体験の向上のためにベクトル検索を必要とする5つの理由.json\n",
"Generating file for 14/69: Elastic CloudでHotに溜まっているデータを別のティアに移動するやり方.json\n",
"Generating file for 15/69: PandasのData FrameとElasticsearchのindexを相互変換する.json\n",
"Generating file for 16/69: Elasticsearchのマシン・ラーニング異常検知の動きを理解する(3) [変更設定編].json\n",
"Generating file for 17/69: Elasticsearch v8.9 で実装した日本語NLP、ベクトル検索(セマンティック検索)を使ってみる.json\n",
"Generating file for 18/69: Elastic Certified Engineerについて 〜検索を究める第一歩〜.json\n",
"Generating file for 19/69: Elastic Securityにおける脅威インテリジェンス(Threat Intelligence)を試してみた.json\n",
"Generating file for 20/69: [まとめ記事] Elasticsearch Machine Learningに関するブログ一覧.json\n",
"Generating file for 21/69: Elastic と AWS:すぐに使用できる統合プラットフォームでログとメトリックをシームレスに取り込む.json\n",
"Generating file for 22/69: Elastic Stack一式をelastic-packageコマンドを使ってローカルに一発で立ち上げる.json\n",
"Generating file for 23/69: Elastic における OpenTelemetry による独立性.json\n",
"Generating file for 24/69: ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (2).json\n",
"Generating file for 25/69: AzureのログをさくっとElastic Cloudに送る方法.json\n",
"Generating file for 26/69: ElasticsearchをソースからビルドしてIntelliJを使ってデバッグ実行する.json\n",
"Generating file for 27/69: [v8.7] Elasticsearch_Kibana_Fleet_Elastic Agentをdocker-composeでインストールする手順(試用用途).json\n",
"Generating file for 28/69: [v8.6_8.7] ElasticsearchとKibanaをWindowsにインストールする手順 (試用用途).json\n",
"Generating file for 29/69: Elastic Security for Cloud 発表、新しいポスチャ管理とワークロード保護機能を提供.json\n",
"Generating file for 30/69: [v8.6] Elasticsearch 最速インストール手順 その2: Elastic Agentでデータコレクト .json\n",
"Generating file for 31/69: オンプレミスから Elastic on AWS への Elastic ワークロード移行を自動化するための10のステップ.json\n",
"Generating file for 32/69: Azure App Service上のPHPにElastic APMを設定する方法.json\n",
"Generating file for 33/69: Elastic Security を使用した AWS ワークロードの保護.json\n",
"Generating file for 34/69: さくっとOpenTelemetryをElastic Observabilityで試す方法.json\n",
"Generating file for 35/69: ElasticのIntegrations(Cisco ASA)にバグをプルリクを投げて修正した話.json\n",
"Generating file for 36/69: Connectorを使ってWindowsにあるファイルをElasticsearchにインデックスする.json\n",
"Generating file for 37/69: OpenLDAPのログをElastic AgentのCustom Logsで取り込む.json\n",
"Generating file for 38/69: Elastic Cloud, App Search, Docker, Python, React Search UI を使った Elastic サンプルアプリのご紹介.json\n",
"Generating file for 39/69: Elasticsearch Python Client (elasticsearch-py)でProxyを設定する方法.json\n",
"Generating file for 40/69: Elasticsearchに日本語のNLPモデルをアップロードする.json\n",
"Generating file for 41/69: さくっとGoogle CloudのログをElastic Cloudに送る方法.json\n",
"Generating file for 42/69: [v8.5版] ElasticsearchとKibanaとElastic Agentの最速インストール手順 (試用環境として).json\n",
"Generating file for 43/69: Elasticsearchのマシン・ラーニング異常検知の動きを理解する(2) [アラート編].json\n",
"Generating file for 44/69: ElasticsearchにS3のデータを取り込んで検索できるようにする! (パート1).json\n",
"Generating file for 45/69: Elasticsearchにカスタム時系列データを取り込む (Filebeat編).json\n",
"Generating file for 46/69: ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (1).json\n",
"Generating file for 47/69: Azure App Service上のJava + TomcatにElastic APMを設定する方法.json\n",
"Generating file for 48/69: スコープ付き検索サジェストと検索クエリ修正の構築方法.json\n",
"Generating file for 49/69: eBPF の裏側:プラットフォームの監視とセキュリティのための新しい方法.json\n",
"Generating file for 50/69: Elastic Cloud の Private Link を使って Azure の環境と接続してみる.json\n",
"Generating file for 51/69: Elastic Stack でジオフェンシングをやってみた.json\n",
"Generating file for 52/69: Kibanaをソースからビルドする.json\n",
"Generating file for 53/69: Lookup Runtime Field 〜Elasticsearch 8.2 新機能〜.json\n",
"Generating file for 54/69: Elasticsearchで日付周りをPainlessを使ってうまい具合にハンドリングする.json\n",
"Generating file for 55/69: [小ネタ] ElasticのAPMでコードに手を入れずにメソッド監視する方法.json\n",
"Generating file for 56/69: Upgrade Assistantを使ってElastic Stackをバージョンアップ.json\n",
"Generating file for 57/69: さくっとAWSのログをElastic Cloudに送る方法.json\n",
"Generating file for 58/69: delika のデータを Elastic Stack で分析じゃ.json\n",
"Generating file for 59/69: Elastic Observability による AWS サービスメトリクスの高速な監視.json\n",
"Generating file for 60/69: Elasticsearchのマシン・ラーニング異常検知の動きを理解しよう(1).json\n",
"Generating file for 61/69: Elastic Observability による Kubernetes クラスタの管理.json\n",
"Generating file for 62/69: App SearchのElasticsearch index-baesdエンジンの日本語検索を試してみた.json\n",
"Generating file for 63/69: 私のElastic ES|QL Tips集.json\n",
"Generating file for 64/69: Elasticsearch_LuceneのAnalyzerにおけるトークングラフを理解して適合率と再現率をコントロール.json\n",
"Generating file for 65/69: Elastic Stack 8.0 の NLP で日本語センチメント分析を試してみた - 後編.json\n",
"Generating file for 66/69: ESQL 入門 - 柔軟で反復的な分析のための新しいクエリ言語.json\n",
"Generating file for 67/69: Elastic で NLPジョブを実装してみた.json\n",
"Generating file for 68/69: Elasticsearchにカスタム時系列データを取り込む (Logstash編).json\n"
]
}
]
},
{
"cell_type": "code",
"execution_count": 16,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "tp6TVu79UOag",
"outputId": "0ae7ba71-1349-4462-a594-013fd869afb3"
},
"outputs": [
{
"output_type": "stream",
"name": "stderr",
"text": [
"100%|██████████| 69/69 [00:00<00:00, 140.30it/s]"
]
},
{
"output_type": "stream",
"name": "stdout",
"text": [
"'document count: 69'\n",
"Document(page_content='# はじめに\\n前回の[パート1](https://qiita.com/nobuhikosekiya/items/f58a9c72d3972d3e24cc)ではAWS S3のバケットに入っているファイルをElasticの[S3 Connector Client](https://www.elastic.co/guide/en/enterprise-search/8.7/connectors-s3.html)を使ってElasticsearchにインデックスしてテキスト情報などを取り込みました。\\n\\n今回は、現在流行りのNLPの話題に乗っかるために、Elasticの[NLP Inference機能](https://www.elastic.co/guide/en/machine-learning/8.7/ml-nlp-inference.html)を試します。\\n具体的に何ができるようになるかというと、Elasticsearchにインデックスされたデータ(今回はS3バケット内にアップロードされているファイルに含まれるテキスト情報)に対してM/L学習モデルを使ってInference(推論)をかけ、その出力を同じElasticsearchのドキュメントに保存(インデックス)できます。\\nどのようなM/L学習モデルが使えるかは[こちら](https://www.elastic.co/guide/en/machine-learning/8.7/ml-nlp-model-ref.html)に書かれています。\\n\\n# MLノードの追加\\n最初に、ElasticsearchのMLノードが必要です。Elastic Cloudの場合Machine Learning Nodeを数クリックで簡単にデプロイできてしまいます :)\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/8f6c97b7-b99e-e7a4-0dc8-033372a8003f.png)\\nとりあえず低めのスペック(2GB RAM)からスタートしています。あとで簡単に拡張できるので。\\n\\n# MLモデルのデプロイ\\nサードパーティ学習モデルをM/Lノードにデプロイするには、ElandというElasticのpython製のツールを使います。以下の情報を見ながら今回の手順を実行していきました。\\nhttps://www.elastic.co/guide/en/enterprise-search/8.7/machine-learning-start.html\\n\\n1: 最初にElandのコードをダウンロードし、コンテナをビルドします。\\n```\\ngit clone git@github.com:elastic/eland.git\\ncd eland\\ndocker build -t elastic/eland .\\n```\\n\\n2: 次に、以下のパラメータを与えて学習モデルをMLノードにアップロードします。\\n- 学習モデル(--hub-model-idに指定)\\n- タスクタイプ(--task-typeに指定。fill_mask, ner, text_classification, text_embedding, zero_shot_classificationから選択)\\n- アップロード先のElasticsearchのURLとその認証のユーザーパスワード\\n```\\ndocker run -it --rm --network host \\\\\\n elastic/eland \\\\\\n eland_import_hub_model \\\\\\n --url https://XXX.cloud.es.io:443 \\\\\\n -u elastic -p <PASSWORD> \\\\\\n --hub-model-id distilbert-base-uncased-finetuned-sst-2-english \\\\\\n --task-type text_classification \\\\\\n --start\\n```\\n \\n以下実行例です。\\n```\\n~/lab/projects/eland % docker run -it --rm --network host \\\\\\n elastic/eland \\\\\\n eland_import_hub_model \\\\\\n --url https://XXX.es.asia-northeast1.gcp.cloud.es.io:443 \\\\\\n -u elastic -p XXX \\\\\\n --hub-model-id distilbert-base-uncased-finetuned-sst-2-english \\\\\\n --task-type text_classification \\\\\\n --start --clear-previous\\n2023-04-17 11:54:41,453 INFO : Establishing connection to Elasticsearch\\n2023-04-17 11:54:41,587 INFO : Connected to cluster named \\'b54f23853a2c4e6ea34aca4b2381d5a3\\' (version: 8.7.0)\\n2023-04-17 11:54:41,588 INFO : Loading HuggingFace transformer tokenizer and model \\'distilbert-base-uncased-finetuned-sst-2-english\\'\\nDownloading: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 48.0/48.0 [00:00<00:00, 80.6kB/s]\\nDownloading: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 629/629 [00:00<00:00, 415kB/s]\\nDownloading: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 226k/226k [00:00<00:00, 3.56MB/s]\\nDownloading: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 255M/255M [00:34<00:00, 7.70MB/s]\\n/usr/local/lib/python3.9/dist-packages/transformers/models/distilbert/modeling_distilbert.py:214: TracerWarning: torch.tensor results are registered as constants in the trace. You can safely ignore this warning if you use this function to create tensors out of constant variables that would be the same every time you call this function. In any other case, this might cause the trace to be incorrect.\\n scores = scores.masked_fill(mask, torch.tensor(-float(\"inf\"))) # (bs, n_heads, q_length, k_length)\\n2023-04-17 11:55:22,574 INFO : Stopping deployment for model with id \\'distilbert-base-uncased-finetuned-sst-2-english\\'\\n2023-04-17 11:55:22,593 INFO : Deleting model with id \\'distilbert-base-uncased-finetuned-sst-2-english\\'\\n/usr/local/lib/python3.9/dist-packages/eland/ml/pytorch/_pytorch_model.py:155: ElasticsearchWarning: The default [remove_binary] value of \\'false\\' is deprecated and will be set to \\'true\\' in a future release. Set [remove_binary] explicitly to \\'true\\' or \\'false\\' to ensure no behavior change.\\n self._client.options(ignore_status=404).ml.delete_trained_model(\\n2023-04-17 11:55:22,902 INFO : Creating model with id \\'distilbert-base-uncased-finetuned-sst-2-english\\'\\n2023-04-17 11:55:22,930 INFO : Uploading model definition\\n100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 64/64 [01:26<00:00, 1.36s/ parts]\\n2023-04-17 11:56:49,674 INFO : Uploading model vocabulary\\n2023-04-17 11:56:49,804 INFO : Starting model deployment\\n2023-04-17 11:56:59,317 INFO : Model successfully imported with id \\'distilbert-base-uncased-finetuned-sst-2-english\\'\\n```\\n \\n3: Trained ModelsメニューでMLモデルがロードされたことを確認します。Stateがstartedになっていない場合、ActionsからStartしてください。\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/a8c67c1e-2ace-7dfa-265e-f342c4a7c538.png)\\n\\n\\n# NLP Inferenceのパイプラインを追加\\n今回は、S3からElasticsearchにデータを取り込む時のパイプライン処理にNLP Inference処理を追加します。最新のv8.7では、Enterprise Searchメニューから簡単にこれを追加できるようになりました。\\n\\n前回の[記事](https://qiita.com/nobuhikosekiya/items/f58a9c72d3972d3e24cc)で作ったEnterprise Searchメニューから該当Indexを開きます。PipelinesタブにMachine Learning Inference Pipelinesの項目が見えますが、最初は押せません。Ingest PipelinesをCopy and customizeしないといけないとあります。上にあるCopy and customizeリンクをクリックしましょう。\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/edb7082a-2a9a-ee26-13cd-1a88f6752826.png)\\n\\nそうすると、Add Inference Pipelineが押せるようになりました。\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/7420e68a-f94e-39ac-b3c3-9b5666cb1d1f.png)\\n\\n適当なPipeline名をつけ(test001)、先ほどのモデルを選択します。Source fieldとして、Inference対象のFieldとして、S3ファイルのテキストが抽出されたフィールド(=body)を選択します。Target fieldは今回は空のままにします。\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/34f48d47-cdd7-a40c-9d11-06498dbba049.png)\\n\\n次の画面ではこのML Inferenceをテストできます。テストするために既にインデックスにあるDocumentのIDが必要なので、別のブラウザタブを開いてEnterprise Search > Content > Indiciesのメニューをたどり、IndexのDocumentを確認し、好きなDocument idをコピーします。\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/bdf1d4af-8f45-8c69-8fe3-8aa114da33c6.png)\\n\\nそして、ここのDocument IDにペーストすると、そのDocument情報が左側に読み込まれます。\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/b8ff7946-7f7f-649a-9e70-6a49690cebd7.png)\\n\\nSimulate Pipelineをクリックすると、結果が右側に出てきます。Inference(推論)結果としてpredicted_value: POSITIVEという結果が得られました。\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/d115bf75-cd96-8f8d-0944-5dd399d9a361.png)\\n\\n最終的なパイプライン定義が確認できるので、Create pipelineで確定します。\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/c35fe4e0-655c-3670-dc9e-c0333de26107.png)\\n\\nIngest Pipelineの全体はこのようになっていました。\\n```\\n[\\n {\\n \"remove\": {\\n \"field\": \"ml.inference.test001\",\\n \"ignore_missing\": true\\n }\\n },\\n {\\n \"remove\": {\\n \"field\": \"test001\",\\n \"ignore_missing\": true\\n }\\n },\\n {\\n \"inference\": {\\n \"field_map\": {\\n \"body\": \"text_field\"\\n },\\n \"model_id\": \"distilbert-base-uncased-finetuned-sst-2-english\",\\n \"on_failure\": [\\n {\\n \"append\": {\\n \"field\": \"_source._ingest.inference_errors\",\\n \"value\": [\\n {\\n \"message\": \"Processor \\'inference\\' in pipeline \\'ml-inference-test001\\' failed with message \\'{{ _ingest.on_failure_message }}\\'\",\\n \"pipeline\": \"ml-inference-test001\",\\n \"timestamp\": \"{{{ _ingest.timestamp }}}\"\\n }\\n ]\\n }\\n }\\n ],\\n \"target_field\": \"ml.inference.test001\"\\n }\\n },\\n {\\n \"append\": {\\n \"field\": \"_source._ingest.processors\",\\n \"value\": [\\n {\\n \"model_version\": \"8.7.0\",\\n \"pipeline\": \"ml-inference-test001\",\\n \"processed_timestamp\": \"{{{ _ingest.timestamp }}}\",\\n \"types\": [\\n \"pytorch\",\\n \"text_classification\"\\n ]\\n }\\n ]\\n }\\n },\\n {\\n \"set\": {\\n \"copy_from\": \"ml.inference.test001.predicted_value\",\\n \"description\": \"Copy the predicted_value to \\'test001\\' if the prediction_probability is greater than 0.5\",\\n \"field\": \"test001\",\\n \"if\": \"ctx?.ml?.inference != null && ctx.ml.inference[\\'test001\\'] != null && ctx.ml.inference[\\'test001\\'].prediction_probability > 0.5\"\\n }\\n }\\n]\\n```\\n\\n# S3ファイルに対してNLP Inferenceをかける\\ns3に新たなオブジェクトをアップロードし、Enterprise SearchのIndex画面のSyncボタンで即時同期させます。\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/f854866e-e41c-c6b5-e04d-c66d1e505c01.png)\\nそうすると、s3ファイルのテキスト抽出とともに、ML Inference処理が適用され、結果test001: \"NEGATIVE\"というフィウールどがDocumentに追加されるようになりました。\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/bca57c7b-5470-4b62-e493-a7c5e68b8a5a.png)\\n\\n\\n# 2つ目のMLモデル(Named Entity Recognition)を適用\\n先ほどの学習モデルはtext_classificationだったので、今度はNamed Entity Recognitionタイプのモデルを使ったInferenceをパイプラインに追加してみたいと思います。\\n\\n新しいモデルをElandでアップします(ここでは実は間違えてtask-typeをtext_classificationのままにしてしまいました。後続手順で修正していますが、そのままのログを残します。)\\n```\\ndocker run -it --rm --network host \\\\\\n elastic/eland \\\\\\n eland_import_hub_model \\\\\\n --url https://XXX.cloud.es.io:443 \\\\\\n -u elastic -p <PASSWORD> \\\\\\n --hub-model-id elastic/distilbert-base-uncased-finetuned-conll03-english \\\\\\n --task-type text_classification \\\\\\n --start\\n```\\n\\nしかし、キャパシティ不足で2つのMLモデルのアップロードは失敗してしまいました。\\n```\\nelasticsearch.ApiError: ApiError(429, \\'status_exception\\', \\'Could not start deployment because no ML nodes with sufficient capacity were found\\')\\n```\\n\\nよって、Elastic CloudでMLノードのメモリを増やします。2GBから4GBに変更。\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/493481a7-31df-e4de-e078-bc9cd90eef90.png)\\n\\nモデルのアップロードはされていたので、Elandは再実行せずこの管理画面からstartを実行して、再トライします。startedになればOKです。\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/c8601028-ef86-1ca8-01ef-2d7b4d0eb6e3.png)\\n\\nMemoryの使用状況はこの画面から確認できます。\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/f8ad9222-c459-ac61-a7e9-ebb77de5dd31.png)\\n\\ntest002として、新しくデプロイしたMLモデルのパイプラインを作ります。前と同じくbodyフィールドに対して分析します。\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/bd2661c1-07f6-2805-8f56-d5a562ed8189.png)\\n\\nテストしてみたら、predicted valueに\"I_MISC\" ?? \\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/2e322175-0f93-86a6-9d9a-801ef36d99dc.png)\\n\\nどうやらMLモデルをアップロードするときにタイプを間違えていたようです。\\n--task-type text_classification\\u3000ではなく\\n--task-type ner\\u3000と設定すべきでした。\\n\\n先ほどアップロードしたモデルを画面からDeleteします。\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/0744ca50-bcaf-f8d1-77f1-94cb8727a4b1.png)\\n\\n再び、Elandでアップロード。nerをtask-typeに指定。\\n```\\ndocker run -it --rm --network host \\\\\\n elastic/eland \\\\\\n eland_import_hub_model \\\\\\n --url https://XXX.cloud.es.io:443 \\\\\\n -u elastic -p <PASSWORD> \\\\\\n --hub-model-id elastic/distilbert-base-uncased-finetuned-conll03-english \\\\\\n --task-type ner \\\\\\n --start\\n```\\n\\n今度は正しくなってます。\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/ded180a2-616a-d093-7735-5cdce89a8e30.png)\\n\\n今度はテスト結果もそれっぽい値になっています。\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/0820f234-01e2-b948-912d-123ff43935b5.png)\\n\\n出来上がったPipeline定義はこうなりました。\\n```\\n{\\n \"description\": \"\",\\n \"processors\": [\\n {\\n \"remove\": {\\n \"field\": \"ml.inference.test002\",\\n \"ignore_missing\": true\\n }\\n },\\n {\\n \"inference\": {\\n \"field_map\": {\\n \"body\": \"text_field\"\\n },\\n \"model_id\": \"elastic__distilbert-base-uncased-finetuned-conll03-english\",\\n \"on_failure\": [\\n {\\n \"append\": {\\n \"field\": \"_source._ingest.inference_errors\",\\n \"value\": [\\n {\\n \"message\": \"Processor \\'inference\\' in pipeline \\'test002\\' failed with message \\'{{ _ingest.on_failure_message }}\\'\",\\n \"pipeline\": \"test002\",\\n \"timestamp\": \"{{{ _ingest.timestamp }}}\"\\n }\\n ]\\n }\\n }\\n ],\\n \"target_field\": \"ml.inference.test002\"\\n }\\n },\\n {\\n \"append\": {\\n \"field\": \"_source._ingest.processors\",\\n \"value\": [\\n {\\n \"model_version\": \"8.7.0\",\\n \"pipeline\": \"test002\",\\n \"processed_timestamp\": \"{{{ _ingest.timestamp }}}\",\\n \"types\": [\\n \"pytorch\",\\n \"ner\"\\n ]\\n }\\n ]\\n }\\n }\\n ],\\n \"version\": 1\\n}\\n```\\n\\n\\nS3にまた新たなファイルをアップし、Syncでオンデマンドで取り込みを行います。\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/f854866e-e41c-c6b5-e04d-c66d1e505c01.png)\\n\\n結果は... どうなんでしょう。日本の文書だからでしょうか。今回は操作方法の実現目的なので出力結果にはこだわらないでおきます。\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/c0c9c145-afd4-4cb2-4c47-4417e54785e0.png)\\n\\n他いくつかの英語の文書で再トライ。\\n\\n文書1:\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/63c90453-bfe3-0adc-5dd5-2e9db3b9efa1.png)\\n\\n文書2:\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/5240ad2f-f78c-5700-16ed-90f84fa2f7d6.png)\\n\\n最後に一気に19個のファイルをS3にアップし、同期処理させてみます。\\n![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/fd05d4eb-d62b-5bf5-5431-1baa44e8e70f.png)\\n\\nConnector Clientのログを見る限り、57秒でS3からの取り込みとElasticsearchへのインデックス化が完了したようです。\\n```\\n[FMWK][13:21:15][INFO] Successfully connected to AWS Server.\\n[FMWK][13:21:15][INFO] Starting doc lookups\\n[FMWK][13:22:12][INFO] Job reporting task is stopped.\\n[FMWK][13:22:12][INFO] [p8Bgj4cBElFcAjC8BShT] Sync done: 19 indexed, 0 deleted. (57 seconds)\\n```\\n\\n# 終わり\\nNLP InferenceをElasticsearchのIngest Pipelineとして簡単に追加することができました。そしてパート1で作成したs3データの取り込み(インジェスト)にその処理を組み入れました。\\n\\n従来この辺のPipeline設定は自分でコードを書かなくてはなりませんでしたが、v8.7からだいぶ画面の設定ベースで進めることができ、大分使いやすくなったと感じます。\\n\\nどんなデータに対してどんなモデルを使うか、など今回は適当に選択しましたが、とりあえず一連のフローの実装方法のサンプルができたので、ぜひ皆さんもこれを元に使ってみてほしいと思います。(多分Elasticのs3コネクターを使ったNLP Inferenceのサンプル記事は世界初だと思います)\\n\\n他の使用例としては、例えばText EmbeddingsモデルのInferenceを使えば、ベクター値をElasticsearchに保存し、あとでElaticsearchのKNN-Searchクエリーにてセマンティック検索ができます。\\n\\nS3のデータの取り込みとそれに対するMLパイプラインの適用が1日で実装できると考えると、アイディア次第では面白いことができるんじゃないでしょうか :)\\n\\n', metadata={'source': '/content/qiita/elasticsearch_japan/AWS s3 をElasticsearchに取り込んで検索してみる(パート2: NLP Inferenceを追加).json', 'seq_num': 1, 'title': 'AWS s3 をElasticsearchに取り込んで検索してみる(パート2: NLP Inferenceを追加)', 'url': 'https://qiita.com/nobuhikosekiya/items/765a7269da8809898936', 'tags': [{'name': 'S3', 'versions': []}, {'name': 'NLP', 'versions': []}, {'name': 'Elasticsearch', 'versions': []}]})\n",
"{'seq_num': 1,\n",
" 'source': '/content/qiita/elasticsearch_japan/AWS s3 '\n",
" 'をElasticsearchに取り込んで検索してみる(パート2: NLP Inferenceを追加).json',\n",
" 'tags': [{'name': 'S3', 'versions': []},\n",
" {'name': 'NLP', 'versions': []},\n",
" {'name': 'Elasticsearch', 'versions': []}],\n",
" 'title': 'AWS s3 をElasticsearchに取り込んで検索してみる(パート2: NLP Inferenceを追加)',\n",
" 'url': 'https://qiita.com/nobuhikosekiya/items/765a7269da8809898936'}\n"
]
},
{
"output_type": "stream",
"name": "stderr",
"text": [
"\n"
]
}
],
"source": [
"from langchain.document_loaders import DirectoryLoader\n",
"from langchain.document_loaders import JSONLoader\n",
"\n",
"DRIVE_FOLDER = \"./qiita/elasticsearch_japan/\"\n",
"\n",
"def metadata_func(record: dict, metadata: dict) -> dict:\n",
"\n",
" metadata[\"title\"] = record.get(\"title\")\n",
" metadata[\"url\"] = record.get(\"url\")\n",
" metadata[\"tags\"] = record.get(\"tags\")\n",
"\n",
" return metadata\n",
"\n",
"loader_kwargs = {\n",
" 'jq_schema':'.',\n",
" 'text_content': True,\n",
" 'content_key': \"body\",\n",
" 'metadata_func': metadata_func\n",
"}\n",
"\n",
"loader = DirectoryLoader(DRIVE_FOLDER, glob='**/*.json', show_progress=True, loader_cls=JSONLoader, loader_kwargs = loader_kwargs)\n",
"\n",
"json_docs = loader.load()\n",
"\n",
"pprint(f'document count: {len(json_docs)}')\n",
"pprint(json_docs[0] if len(json_docs) > 0 else None)\n",
"pprint(json_docs[0].metadata if len(json_docs) > 0 else None)"
]
},
{
"cell_type": "code",
"execution_count": 17,
"metadata": {
"id": "3YpW8gsAUOag"
},
"outputs": [],
"source": [
"if False: #質問検索する場合はTrueに変えてください\n",
" from langchain.document_loaders import DirectoryLoader\n",
" from langchain.document_loaders import JSONLoader\n",
"\n",
" DRIVE_FOLDER = \"./qiita/questions/\"\n",
"\n",
" def metadata_func(record: dict, metadata: dict) -> dict:\n",
"\n",
" metadata[\"title\"] = record.get(\"title\")\n",
" metadata[\"url\"] = record.get(\"url\")\n",
" metadata[\"tags\"] = record.get(\"tags\")\n",
"\n",
" return metadata\n",
"\n",
" loader_kwargs = {\n",
" 'jq_schema':'.[]',\n",
" 'text_content': True,\n",
" 'content_key': \"question\",\n",
" 'metadata_func': metadata_func\n",
" }\n",
"\n",
" loader = DirectoryLoader(DRIVE_FOLDER, glob='**/*.json', show_progress=True, loader_cls=JSONLoader, loader_kwargs = loader_kwargs)\n",
"\n",
" json_docs = loader.load()\n",
"\n",
" pprint(f'document count: {len(json_docs)}')\n",
" pprint(json_docs[0] if len(json_docs) > 0 else None)"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "4-NmshkmUOag"
},
"source": [
"# 3.検索の質問の設定"
]
},
{
"cell_type": "code",
"execution_count": 18,
"metadata": {
"id": "V6-9-qUaUOag"
},
"outputs": [],
"source": [
"questions = [\n",
" \"Frozen tierの使い方について教えてください\",\n",
"]"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "VmRjQygUUOah"
},
"source": [
"## Run Allする際にストップしますか?"
]
},
{
"cell_type": "code",
"execution_count": 20,
"metadata": {
"id": "kwBI-QBqUOah",
"colab": {
"base_uri": "https://localhost:8080/"
},
"outputId": "af258600-3db4-4471-f6c1-6248e6e7b4d8"
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Auto run the tests? Enter any key for true, no key for falsed\n"
]
}
],
"source": [
"AUTO_RUN=input(\"Auto run the tests? Enter any key for true, no key for false\") != \"\"\n",
"if not AUTO_RUN:\n",
" raise UserWarning('Exit to stop here.')"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "VwtJI68nUOah"
},
"source": [
"# 3.様々なサーチを試そう"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "fRujnWkoUOaz"
},
"source": [
"## Elasticsearchのキーワード検索 (BM25)"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "kZ2A50GpUOaz"
},
"source": [
"### インデックス作成\n",
"Kuromojiをアナライザーとして設定したElasticsearchのインデックスを作成します。"
]
},
{
"cell_type": "code",
"execution_count": 21,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 35
},
"id": "KY_cwSJEUOaz",
"outputId": "6fb9744a-2d92-425b-fa09-effcda6f7145"
},
"outputs": [
{
"output_type": "execute_result",
"data": {
"text/plain": [
"'test1226_bm25'"
],
"application/vnd.google.colaboratory.intrinsic+json": {
"type": "string"
}
},
"metadata": {},
"execution_count": 21
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_bm25\"\n",
"INDEX_NAME"
]
},
{
"cell_type": "code",
"execution_count": 22,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "L8vzhm90UOaz",
"outputId": "104e9e03-028f-4b3a-b13d-ccf0c23eb460"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Index 'test1226_bm25' deleted successfully.\n"
]
},
{
"output_type": "execute_result",
"data": {
"text/plain": [
"ObjectApiResponse({'acknowledged': True, 'shards_acknowledged': True, 'index': 'test1226_bm25'})"
]
},
"metadata": {},
"execution_count": 22
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_bm25\"\n",
"if es.indices.exists(index=INDEX_NAME):\n",
" # If it exists, delete the index\n",
" es.indices.delete(index=INDEX_NAME)\n",
" print(f\"Index '{INDEX_NAME}' deleted successfully.\")\n",
"else:\n",
" print(f\"Index '{INDEX_NAME}' does not exist.\")\n",
"\n",
"es.indices.create(\n",
" index=INDEX_NAME,\n",
" settings={\n",
" \"index\": {\n",
" \"number_of_shards\": 1,\n",
" \"number_of_replicas\": 0\n",
" }\n",
" }\n",
")\n"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "gqXboKfIUOaz"
},
"source": [
"### Kuromojiアナライザの設定"
]
},
{
"cell_type": "code",
"execution_count": 23,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "FxBHFx5bUOaz",
"outputId": "f9e7fd4c-03be-4eb4-bfe8-7de393577088"
},
"outputs": [
{
"output_type": "stream",
"name": "stderr",
"text": [
"<ipython-input-23-77f437a2cdf9>:65: DeprecationWarning: Importing from the 'elasticsearch.client' module is deprecated. Instead use 'elasticsearch' module for importing the client.\n",
" from elasticsearch.client import SynonymsClient\n",
"<ipython-input-23-77f437a2cdf9>:120: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.\n",
" es.indices.open(index=INDEX_NAME, request_timeout=60)\n"
]
},
{
"output_type": "execute_result",
"data": {
"text/plain": [
"ObjectApiResponse({'acknowledged': True, 'shards_acknowledged': True})"
]
},
"metadata": {},
"execution_count": 23
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_bm25\"\n",
"es.indices.close(index=INDEX_NAME)\n",
"\n",
"add_settings = {\n",
" \"index\": {\n",
" \"analysis\": {\n",
" \"char_filter\": {\n",
" \"normalize\": {\n",
" \"mode\": \"compose\",\n",
" \"name\": \"nfkc\",\n",
" \"type\": \"icu_normalizer\"\n",
" }\n",
" }\n",
" }\n",
" }\n",
"}\n",
"es.indices.put_settings(index=INDEX_NAME, body=add_settings)\n",
"\n",
"add_settings = {\n",
" \"index\": {\n",
" \"analysis\": {\n",
" \"filter\": {\n",
" \"ja_index_synonym\": {\n",
" \"type\": \"synonym\",\n",
" \"lenient\": \"false\",\n",
" \"synonyms\": []\n",
" }\n",
" }\n",
" }\n",
" }\n",
"}\n",
"es.indices.put_settings(index=INDEX_NAME, body=add_settings)\n",
"\n",
"add_settings = {\n",
" \"index\": {\n",
" \"analysis\": {\n",
" \"tokenizer\": {\n",
" \"ja_kuromoji_tokenizer\": {\n",
" \"mode\": \"search\",\n",
" \"discard_compound_token\": \"true\",\n",
" \"type\": \"kuromoji_tokenizer\"\n",
" }\n",
" }\n",
" }\n",
" }\n",
"}\n",
"\n",
"es.indices.put_settings(index=INDEX_NAME, body=add_settings)\n",
"\n",
"# Define a synonym set\n",
"synonyms_set = [\n",
" # {\n",
" # \"id\": \"test-1\",\n",
" # \"synonyms\": \"foo, bar\"\n",
" # },\n",
" # {\n",
" # \"id\": \"test-2\",\n",
" # \"synonyms\": \"test => check\"\n",
" # }\n",
" ]\n",
"\n",
"# Define the identifier for the synonym set\n",
"synonym_id = \"ja_search_synonym-set\"\n",
"\n",
"from elasticsearch.client import SynonymsClient\n",
"# Call the put_synonym function to add or update the synonym set\n",
"response = SynonymsClient(es).put_synonym(id=synonym_id, synonyms_set=synonyms_set)\n",
"\n",
"# Define the new settings you want to apply\n",
"add_settings = {\n",
" \"index\": {\n",
" \"analysis\": {\n",
" \"filter\": {\n",
" \"ja_search_synonym\": {\n",
" \"type\": \"synonym_graph\",\n",
" \"synonyms_set\": \"ja_search_synonym-set\",\n",
" \"updateable\": \"true\"\n",
" }\n",
" },\n",
" \"analyzer\": {\n",
" \"ja_kuromoji_index_analyzer\": {\n",
" \"filter\": [\n",
" \"kuromoji_baseform\",\n",
" \"kuromoji_part_of_speech\",\n",
" \"ja_index_synonym\",\n",
" \"cjk_width\",\n",
" \"ja_stop\",\n",
" \"kuromoji_stemmer\",\n",
" \"lowercase\"\n",
" ],\n",
" \"char_filter\": [\n",
" \"normalize\"\n",
" ],\n",
" \"type\": \"custom\",\n",
" \"tokenizer\": \"ja_kuromoji_tokenizer\"\n",
" },\n",
" \"ja_kuromoji_search_analyzer\": {\n",
" \"filter\": [\n",
" \"kuromoji_baseform\",\n",
" \"kuromoji_part_of_speech\",\n",
" \"ja_search_synonym\",\n",
" \"cjk_width\",\n",
" \"ja_stop\",\n",
" \"kuromoji_stemmer\",\n",
" \"lowercase\"\n",
" ],\n",
" \"char_filter\": [\n",
" \"normalize\"\n",
" ],\n",
" \"type\": \"custom\",\n",
" \"tokenizer\": \"ja_kuromoji_tokenizer\"\n",
" }\n",
" }\n",
" }\n",
" }\n",
"}\n",
"\n",
"es.indices.put_settings(index=INDEX_NAME, body=add_settings)\n",
"\n",
"es.indices.open(index=INDEX_NAME, request_timeout=60)\n"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "GDCe07WfUOa0"
},
"source": [
"### Mapping定義"
]
},
{
"cell_type": "code",
"execution_count": 24,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "y0vu2HzuUOa0",
"outputId": "0f725600-4ade-47c2-9bcf-08cd2746f4d3"
},
"outputs": [
{
"output_type": "stream",
"name": "stderr",
"text": [
"<ipython-input-24-b38c42e6f337>:2: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.\n",
" es.indices.close(index=INDEX_NAME, request_timeout=60)\n"
]
},
{
"output_type": "execute_result",
"data": {
"text/plain": [
"ObjectApiResponse({'acknowledged': True, 'shards_acknowledged': True})"
]
},
"metadata": {},
"execution_count": 24
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_bm25\"\n",
"es.indices.close(index=INDEX_NAME, request_timeout=60)\n",
"\n",
"# Define the new mapping\n",
"add_mapping = {\n",
" \"properties\": {\n",
" \"page_content\": {\n",
" \"type\": \"text\",\n",
" \"search_analyzer\": \"ja_kuromoji_search_analyzer\",\n",
" \"analyzer\": \"ja_kuromoji_index_analyzer\"\n",
" },\n",
" \"metadata\": {\n",
" \"properties\": {\n",
" \"seq_num\": {\n",
" \"type\": \"long\"\n",
" },\n",
" \"source\": {\n",
" \"type\": \"keyword\"\n",
" },\n",
" \"tags\": {\n",
" \"properties\": {\n",
" \"name\": {\n",
" \"type\": \"text\",\n",
" \"search_analyzer\": \"ja_kuromoji_search_analyzer\",\n",
" \"analyzer\": \"ja_kuromoji_index_analyzer\"\n",
" }\n",
" }\n",
" },\n",
" \"title\": {\n",
" \"type\": \"text\",\n",
" \"search_analyzer\": \"ja_kuromoji_search_analyzer\",\n",
" \"analyzer\": \"ja_kuromoji_index_analyzer\"\n",
" },\n",
" \"url\": {\n",
" \"type\": \"text\",\n",
" }\n",
" }\n",
" }\n",
" }\n",
"}\n",
"\n",
"es.indices.put_mapping(index=INDEX_NAME, body=add_mapping)\n",
"\n",
"es.indices.open(index=INDEX_NAME)"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "TlBoXPeSUOa0"
},
"source": [
"### インジェスト"
]
},
{
"cell_type": "code",
"execution_count": 25,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "5Q8rpoFpUOa0",
"outputId": "72f14b5f-b913-4a44-b495-5246a1934410"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"metadata: {'source': '/content/qiita/elasticsearch_japan/AWS s3 をElasticsearchに取り込んで検索してみる(パート2: NLP Inferenceを追加).json', 'seq_num': 1, 'title': 'AWS s3 をElasticsearchに取り込んで検索してみる(パート2: NLP Inferenceを追加)', 'url': 'https://qiita.com/nobuhikosekiya/items/765a7269da8809898936', 'tags': [{'name': 'S3', 'versions': []}, {'name': 'NLP', 'versions': []}, {'name': 'Elasticsearch', 'versions': []}]}\n",
"metadata: {'source': '/content/qiita/elasticsearch_japan/Elastic Cloud について\\u3000〜実際にデプロイメントを作ってみよう〜.json', 'seq_num': 1, 'title': 'Elastic Cloud について\\u3000〜実際にデプロイメントを作ってみよう〜', 'url': 'https://qiita.com/tomo_s_el/items/3584d0b1fabb0bafa4fa', 'tags': [{'name': 'Elasticsearch', 'versions': []}, {'name': 'elasticcloud', 'versions': []}]}\n",
"metadata: {'source': '/content/qiita/elasticsearch_japan/ElasticsearchでRAG (Retrieval Augmented Generation) を試す.json', 'seq_num': 1, 'title': 'ElasticsearchでRAG (Retrieval Augmented Generation) を試す', 'url': 'https://qiita.com/takeo-furukubo/items/e5d43fa734e4338b895f', 'tags': [{'name': 'Python', 'versions': []}, {'name': 'Elasticsearch', 'versions': []}, {'name': 'OpenAI', 'versions': []}, {'name': '生成AI', 'versions': []}, {'name': 'ChatGPT', 'versions': []}]}\n",
"metadata: {'source': '/content/qiita/elasticsearch_japan/GKE上のOpenTelemetry DemoアプリケーションをさくっとElasticでAPM・ログ・インフラ+eBPFプロファイリング監視する.json', 'seq_num': 1, 'title': 'GKE上のOpenTelemetry DemoアプリケーションをさくっとElasticでAPM・ログ・インフラ+eBPFプロファイリング監視する', 'url': 'https://qiita.com/nobuhikosekiya/items/9c3ae25b39827b1ef9d1', 'tags': [{'name': 'Elasticsearch', 'versions': []}, {'name': 'GKE', 'versions': []}, {'name': 'ElasticStack', 'versions': []}, {'name': 'opentelemetry', 'versions': []}]}\n",
"metadata: {'source': '/content/qiita/elasticsearch_japan/Elastic Stackに対してTerraformのImportをやってみた.json', 'seq_num': 1, 'title': 'Elastic Stackに対してTerraformのImportをやってみた', 'url': 'https://qiita.com/nobuhikosekiya/items/44027ee0cb6653d29858', 'tags': [{'name': 'Terraform', 'versions': []}, {'name': 'ElasticStack', 'versions': []}]}\n",
"metadata: {'source': '/content/qiita/elasticsearch_japan/Elasticsearchにカスタム時系列データを取り込む (Elastic Agent編).json', 'seq_num': 1, 'title': 'Elasticsearchにカスタム時系列データを取り込む (Elastic Agent編)', 'url': 'https://qiita.com/yukshimizu/items/abec12ac46749db46b40', 'tags': [{'name': 'Elasticsearch', 'versions': []}, {'name': 'beats', 'versions': []}, {'name': 'elasticcloud', 'versions': []}, {'name': 'ElasticStack', 'versions': []}, {'name': 'ElasticAgent', 'versions': []}]}\n",
"metadata: {'source': '/content/qiita/elasticsearch_japan/Elastic Stack コードリーディング: Painless スクリプト.json', 'seq_num': 1, 'title': 'Elastic Stack コードリーディング: Painless スクリプト', 'url': 'https://qiita.com/ijokarumawak@github/items/84b619a799d78421eca5', 'tags': [{'name': 'Elasticsearch', 'versions': []}, {'name': 'Kibana', 'versions': []}, {'name': 'Painless', 'versions': []}]}\n",
"metadata: {'source': '/content/qiita/elasticsearch_japan/Elastic Cloudに対してTerraformのImportをやってみた.json', 'seq_num': 1, 'title': 'Elastic Cloudに対してTerraformのImportをやってみた', 'url': 'https://qiita.com/nobuhikosekiya/items/c474a21b7114f3371d85', 'tags': [{'name': 'Terraform', 'versions': []}, {'name': 'elasticcloud', 'versions': []}]}\n",
"metadata: {'source': '/content/qiita/elasticsearch_japan/[v8.7] Elasticsearch multinode_dedicaded masterをdocker-composeでインストールする手順(試用用途).json', 'seq_num': 1, 'title': '[v8.7] Elasticsearch multinode/dedicaded masterをdocker-composeでインストールする手順(試用用途)', 'url': 'https://qiita.com/takeo-furukubo/items/13214d8cf822376c6072', 'tags': [{'name': 'Elasticsearch', 'versions': []}, {'name': 'docker-compose', 'versions': []}]}\n",
"metadata: {'source': '/content/qiita/elasticsearch_japan/Elastic Stack 8.0 の NLP で日本語センチメント分析を試してみた - 前編.json', 'seq_num': 1, 'title': 'Elastic Stack 8.0 の NLP で日本語センチメント分析を試してみた - 前編', 'url': 'https://qiita.com/ijokarumawak@github/items/9b0c2d650536488718a5', 'tags': [{'name': 'NLP', 'versions': []}, {'name': 'Elasticsearch', 'versions': []}, {'name': 'Kibana', 'versions': []}]}\n"
]
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_bm25\"\n",
"from elasticsearch import Elasticsearch, helpers\n",
"\n",
"# 前の実行で残っているDocumentはクリアしてからインジェストします\n",
"if es.indices.exists(index=INDEX_NAME):\n",
" es.delete_by_query(index=INDEX_NAME, body={\"query\": {\"match_all\": {}}})\n",
"\n",
"docs_json = [doc.to_json()[\"kwargs\"] for doc in json_docs]\n",
"# print(docs_json)\n",
"\n",
"index_docs = []\n",
"for doc_json in docs_json:\n",
" index_docs.append({\n",
" \"_index\": INDEX_NAME,\n",
" \"_source\": doc_json,\n",
" })\n",
"\n",
"helpers.bulk(es, index_docs)\n",
"es.indices.refresh(index=INDEX_NAME)\n",
"\n",
"response = es.search(index=INDEX_NAME, query={\"match_all\": {}}, fields=[\"metadata\"])\n",
"for hit in response['hits']['hits']:\n",
" metadata = hit['_source']['metadata']\n",
" print(f\"metadata: {metadata}\")"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "28N__yHJUOa0"
},
"source": [
"### サーチ"
]
},
{
"cell_type": "code",
"execution_count": 26,
"metadata": {
"id": "gcEOCL8uUOa0"
},
"outputs": [],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_bm25\"\n",
"def do_search(query_text, filter=None, subfield=None):\n",
" subfield=\"prefix\"\n",
" query = {\n",
" \"bool\": {\n",
" \"must\": [\n",
" {\n",
" \"match\": {\n",
" \"page_content\": {\n",
" \"query\": query_text,\n",
" \"analyzer\": \"ja_kuromoji_search_analyzer\"\n",
" }\n",
" }\n",
" }\n",
" ]\n",
" }\n",
" }\n",
"\n",
" # フィルタが指定されている場合はフィルタを追加\n",
" if filter is not None:\n",
" query[\"bool\"][\"filter\"] = filter\n",
"\n",
" highlight = {\n",
" \"fields\": {\n",
" \"page_content\": {}\n",
" }\n",
" }\n",
" fields = [\"metadata\"]\n",
" response = es.search(index=INDEX_NAME, query=query, fields=fields, highlight=highlight)\n",
"\n",
" results = []\n",
" # Iterate through the search results and access the fields you want\n",
" for hit in response['hits']['hits']:\n",
" metadata = hit['_source']['metadata']\n",
" score = hit['_score']\n",
" highlight = hit['highlight']\n",
" print(f\"_score: {score}, metadata: {metadata}\")\n",
" pprint(f\"{highlight}\")\n",
" r = {\n",
" \"metadata\": metadata,\n",
" \"highlight\": highlight\n",
" }\n",
" results.append(json.dumps(r, ensure_ascii=False))\n",
"\n",
" return {\"query\": query_text, \"result\": results}"
]
},
{
"cell_type": "code",
"execution_count": 27,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "WW7mKv9YUOa0",
"outputId": "bf006c3d-854c-4164-a83a-e3bb894f1166"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Frozen tierの使い方について教えてください\n",
"_score: 10.334702, metadata: {'source': '/content/qiita/elasticsearch_japan/Elastic Cloud について\\u3000〜実際にデプロイメントを作ってみよう〜.json', 'seq_num': 1, 'title': 'Elastic Cloud について\\u3000〜実際にデプロイメントを作ってみよう〜', 'url': 'https://qiita.com/tomo_s_el/items/3584d0b1fabb0bafa4fa', 'tags': [{'name': 'Elasticsearch', 'versions': []}, {'name': 'elasticcloud', 'versions': []}]}\n",
"(\"{'page_content': ['- クラスターのデプロイ\\\\n - Elasticsearch ノード (Hot, Warm, Cold, \"\n",
" \"<em>Frozen</em>, Machine Learning, Coordinating)\\\\n -', '[[Pricing \"\n",
" 'Calculator]](https://cloud.elastic.co/pricing/) '\n",
" \"というツールですが、構成をポチポチと選択すると、その金額を<em>教え</em>てくれるので金額感やサイズ', '```\\\\n- Hot \"\n",
" '<em>tier</em> node 8GB RAM x 2zones\\\\n- Master (tie breaker) node 1GB RAM x '\n",
" \"1zone (自動追加)\\\\n- Integration', '*ただし、Machine Learning 自体はplatinum \"\n",
" \"ライセンスの機能なのでご注意<em>ください</em>。', \"\n",
" \"'少し長くなったので、いったんここで区切りましたが、まだまだ色々と便利な機能があるので、<em>使い方</em>や tips \"\n",
" \"含め書いていきたいと思います。']}\")\n",
"_score: 8.751479, metadata: {'source': '/content/qiita/elasticsearch_japan/Elastic CloudでHotに溜まっているデータを別のティアに移動するやり方.json', 'seq_num': 1, 'title': 'Elastic CloudでHotに溜まっているデータを別のティアに移動するやり方', 'url': 'https://qiita.com/nobuhikosekiya/items/3c03932c3efec0a9f04d', 'tags': [{'name': 'Elasticsearch', 'versions': []}]}\n",
"(\"{'page_content': ['基本(必須)のHot \"\n",
" \"<em>Tier</em>以外に、よりコストの安いWarm/Cold/<em>Frozen</em>の<em>Tier</em>を選択的に設けることができます。', \"\n",
" \"'しかし、Warm/Cold/<em>Frozen</em>はそれらのノードを立ち上げただけではデータはデフォルトではそちらに移動してくれません。', \"\n",
" \"'前提: 事前に使用したい<em>Tier</em>をElastic \"\n",
" \"Cloudの管理画面で作成して<em>ください</em>。あるいはオートスケールを有効にしておくと、<em>Tier</em>が必要となったときに自動的に作成されます。', \"\n",
" \"'このようなケースでは、0000001のロールオーバーされたインデックスがWarm/Cold/<em>Frozen</em> \"\n",
" \"の<em>Tier</em>に移動できます。', \"\n",
" \"'qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/53166964-686b-7723-30d5-839041b6e8bc.png)\\\\n\\\\n\\\\n# \"\n",
" \"最後に\\\\nインデックスがどの<em>Tier</em>']}\")\n",
"_score: 8.153202, metadata: {'source': '/content/qiita/elasticsearch_japan/ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (1).json', 'seq_num': 1, 'title': 'ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (1)', 'url': 'https://qiita.com/nobuhikosekiya/items/dd2ce836b184730f8d70', 'tags': [{'name': 'Elasticsearch', 'versions': []}]}\n",
"(\"{'page_content': \"\n",
" \"['(<em>Frozen</em>を使うにはEnterpriseライセンスが必要です。)\\\\n\\\\n(Opensearchでは同じ機能は存在しないので、ご注意<em>ください</em>)\\\\n\\\\n!', \"\n",
" \"'44a0ee84-8fc4-3294-cc9f-bb39fb837f82.png)\\\\n引用: \"\n",
" \"https://www.elastic.co/blog/introducing-elasticsearch-<em>frozen</em>-<em>tier</em>-searchbox-on-s3', \"\n",
" \"'このブログでは、<em>Frozen</em>データティアを使うための必要な最低限の設定と、実際にデータが<em>Frozen</em>に入る様子を確認していきます。', \"\n",
" \"'以下のように<em>Frozen</em> data <em>tier</em>を設定するだけです。\\\\n!', \"\n",
" \"'実際に<em>Frozen</em>データティアを使いたいと思っても、<em>Frozen</em>ノードをプロビジョンしただけではデフォルトではデータは入っていきませんので、今回の手順を参考にILMの設定、Data \"\n",
" \"Streamの設定をして<em>ください</em>']}\")\n",
"_score: 7.010372, metadata: {'source': '/content/qiita/elasticsearch_japan/Elasticsearch v8.9 で実装した日本語NLP、ベクトル検索(セマンティック検索)を使ってみる.json', 'seq_num': 1, 'title': 'Elasticsearch v8.9 で実装した日本語NLP、ベクトル検索(セマンティック検索)を使ってみる', 'url': 'https://qiita.com/daixque/items/931b8be343075b835097', 'tags': [{'name': 'NLP', 'versions': []}, {'name': 'Elasticsearch', 'versions': []}, {'name': 'ベクトル検索', 'versions': []}, {'name': 'VectorSearch', 'versions': []}, {'name': 'VectorStore', 'versions': []}]}\n",
"(\"{'page_content': ['御託はいいからベクトル検索の<em>使い方</em>だけ<em>教えろ</em>!', \"\n",
" \"'より丁寧な説明を読みたい方は上記ブログを参照して<em>ください</em>。', \"\n",
" \"'Elandは以下のようにインストールして<em>ください</em>。', \"\n",
" \"'ここでword_tokenizer_typeの値がmecabとなっていることを確認して<em>ください</em>。', \"\n",
" \"'こちらも合わせて確認して<em>ください</em>。\\\\n\\\\nベクトル検索を使ったセマンティック検索を実現する流れについては以上になります。']}\")\n",
"_score: 6.7907996, metadata: {'source': '/content/qiita/elasticsearch_japan/ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (2).json', 'seq_num': 1, 'title': 'ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (2)', 'url': 'https://qiita.com/nobuhikosekiya/items/8ab82e70953b6b5d1736', 'tags': [{'name': 'Elasticsearch', 'versions': []}]}\n",
"(\"{'page_content': ['(Hotで設定できる一番小さい構成)\\\\n - <em>Frozen</em> <em>Tier</em>: \"\n",
" \"6.25 TB Storage | 4 GB RAM | Up to 2.5 vcpu を1 Availability Zone', \"\n",
" \"'を有効化\\\\n<em>Frozen</em>を有効化し、HotのIndexのロールオーバが500 MB溜まったら行われる条件としています。', \"\n",
" \"'ロールオーバー後すぐに<em>Frozen</em>に移動させるために<em>frozen</em>のmin_ageは0dです。', \"\n",
" \"'に対する検索\\\\n<em>Frozen</em>にあるデータを検索した際どうなるかを確認してみます。', '### 性能値 テスト1: \"\n",
" \"Hotのみの場合の結果(<em>Frozen</em>は使わない)\\\\n!']}\")\n",
"_score: 5.4528594, metadata: {'source': '/content/qiita/elasticsearch_japan/Upgrade Assistantを使ってElastic Stackをバージョンアップ.json', 'seq_num': 1, 'title': 'Upgrade Assistantを使ってElastic Stackをバージョンアップ', 'url': 'https://qiita.com/yukshimizu/items/50e471379e1c693b61bc', 'tags': [{'name': 'Elasticsearch', 'versions': []}, {'name': 'Kibana', 'versions': []}, {'name': 'elasticcloud', 'versions': []}, {'name': 'ElasticStack', 'versions': []}]}\n",
"(\"{'page_content': \"\n",
" \"['www.elastic.co/guide/en/kibana/7.17/batch-start-resume-reindex.html)が、Experimentalながらもガイドされるので、興味があれば試してみて<em>ください</em>', \"\n",
" \"'local\\\\n```\\\\n\\\\nDeprecation logにログが出力されるので、以下のように<em>教え</em>てくれます。\\\\n!', \"\n",
" \"'アプリケーションの対応後、再度テストをして、Deprecation \"\n",
" \"logが出なくなったことを確認したりといった<em>使い方</em>ができますね。\\\\n!']}\")\n",
"_score: 4.744902, metadata: {'source': '/content/qiita/elasticsearch_japan/Elastic Cloudに対してTerraformのImportをやってみた.json', 'seq_num': 1, 'title': 'Elastic Cloudに対してTerraformのImportをやってみた', 'url': 'https://qiita.com/nobuhikosekiya/items/c474a21b7114f3371d85', 'tags': [{'name': 'Terraform', 'versions': []}, {'name': 'elasticcloud', 'versions': []}]}\n",
"(\"{'page_content': ['なお、Elastic \"\n",
" \"Stackの方のTerraform化については以下の記事を参照<em>ください</em>。', \"\n",
" \"'items/44027ee0cb6653d29858)\\\\n\\\\n# 手順\\\\n## Elastic \"\n",
" \"CloudのAPIキーの取得\\\\n最初にElastic Cloudの管理画面のこのページからAPIキーを作成して<em>ください</em>', \"\n",
" \"'xxxのところは上の手順で取得した値を入れて<em>ください</em>。', \"\n",
" \"'このリソースを自動的に生成してくれる-generate-config-outオプションをコマンドを<em>教え</em>てくれます。', \"\n",
" '\\'\"0g\"\\\\n size_resource = \"memory\"\\\\n zone_count = '\n",
" \"2\\\\n }\\\\n extension = null\\\\n <em>frozen</em>']}\")\n",
"_score: 4.572545, metadata: {'source': '/content/qiita/elasticsearch_japan/Elastic と AWS:すぐに使用できる統合プラットフォームでログとメトリックをシームレスに取り込む.json', 'seq_num': 1, 'title': 'Elastic と AWS:すぐに使用できる統合プラットフォームでログとメトリックをシームレスに取り込む', 'url': 'https://qiita.com/shosuz/items/5fc76be33f7332cf3e76', 'tags': [{'name': 'AWS', 'versions': []}, {'name': 'log', 'versions': []}, {'name': 'metrics', 'versions': []}, {'name': 'ElasticStack', 'versions': []}, {'name': 'observability', 'versions': []}]}\n",
"(\"{'page_content': \"\n",
" \"['トレードオフやバックアップからデータを[再水和する必要なしに](https://www.elastic.co/blog/whats-new-elastic-7-12-0-schema-on-read-<em>frozen</em>-<em>tier</em>-autoscaling', \"\n",
" \"'90分と長時間ですが、AWS と Elastic \"\n",
" \"合計3名のスピーカー陣により、今回記述した内容の一部について、デモなどを含めてご紹介していますので、ぜひこちら登録の上ご覧<em>ください</em>。', \"\n",
" \"'33599/e1dd0d0b-730f-4641-3b57-1c61a917c452.png)\\\\n\\\\n今後、さらなる AWS さんとの協業や、共同 \"\n",
" \"Webinar なども色々予定していますので、ぜひご期待<em>ください</em>']}\")\n",
"_score: 4.2220697, metadata: {'source': '/content/qiita/elasticsearch_japan/Elastic Observability による AWS サービスメトリクスの高速な監視.json', 'seq_num': 1, 'title': 'Elastic Observability による AWS サービスメトリクスの高速な監視', 'url': 'https://qiita.com/shosuz/items/489863f7b4d4269c9628', 'tags': [{'name': 'AWS', 'versions': []}, {'name': 'Elasticsearch', 'versions': []}, {'name': 'elasticcloud', 'versions': []}, {'name': 'observability', 'versions': []}, {'name': 'AWSIntegration', 'versions': []}]}\n",
"(\"{'page_content': ['# \"\n",
" \"前提条件と構成\\\\nこのブログを見てやってみようと思われる方は、このデモをセットアップするために使用したコンポーネントと詳細を参照して<em>ください</em>。', \"\n",
" \"'[aws-three-<em>tier</em>-web-architecture-workshop]( \"\n",
" \"https://github.com/aws-samples/aws-three-<em>tier</em>-web-architecture-workshop', \"\n",
" \"'## ステップ\\\\u30000:AWS Three <em>Tier</em> アプリケーションをロードし、クレデンシャルを取得する\\\\n[AWS の \"\n",
" \"Three <em>Tier</em> app](https://github.com/aws-samples', \"\n",
" \"'/aws-three-<em>tier</em>-web-architecture-workshop) に記載されている手順と、git \"\n",
" \"上のワークショップのリンクに記載されている手順にしたがって<em>ください</em>。', \"\n",
" \"'以下のアーキテクチャ図を参照して<em>ください</em>。\\\\n!']}\")\n",
"_score: 3.4045644, metadata: {'source': '/content/qiita/elasticsearch_japan/PandasのData FrameとElasticsearchのindexを相互変換する.json', 'seq_num': 1, 'title': 'PandasのData FrameとElasticsearchのindexを相互変換する', 'url': 'https://qiita.com/daixque/items/a9708a6e438a8f84fac4', 'tags': [{'name': 'Python', 'versions': []}, {'name': 'Elasticsearch', 'versions': []}, {'name': 'pandas', 'versions': []}, {'name': 'DataFrame', 'versions': []}, {'name': 'eland', 'versions': []}]}\n",
"(\"{'page_content': \"\n",
" \"['eland\\\\n```\\\\n\\\\nElandの詳細については[ドキュメント](https://eland.readthedocs.io/en/v8.11.0/reference/index.html)を確認して<em>ください</em>', \"\n",
" \"'ドキュメント](https://eland.readthedocs.io/en/v8.11.0/reference/api/eland.DataFrame.html#eland.DataFrame)を確認して<em>ください</em>', \"\n",
" \"'さらに進んだ<em>使い方</em>として、ElasticsearchのデータをPandasで読み込んだ後にScikit \"\n",
" \"LearnのXGBoostなどで学習させて、出来上がった予測モデルをElasticsearchにアップロード', \"\n",
" \"'して利用する、などの<em>使い方</em>もできます。', '機械学習が得意な方はぜひ試してみて<em>ください</em>。']}\")\n"
]
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_bm25\"\n",
"for query in questions:\n",
" print(query)\n",
" result = do_search(query)\n",
" add_result(search_logic=\"bm25\", query=query, result=result)"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "aa0uJv0DUOa0"
},
"source": [
"## (Open AI Embeddingを利用) Elasticsearchのセマンティック検索\n",
"LangchainのElasticsearchStoreというクラスを使って色々なAI/MLモデルを切り替えながらElasticsearchのベクトル検索をテストしていくことができます。\n",
"\n",
"参考:https://python.langchain.com/docs/integrations/vectorstores/elasticsearch"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "VX9zX3wDUOa0"
},
"source": [
"### インジェスト\n",
"補足:ElasticsearchStoreの中で自動的にインデックスの作成も行われています。"
]
},
{
"cell_type": "code",
"execution_count": 28,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 35
},
"id": "ER_zyLbmUOa0",
"outputId": "4d53367d-e518-4b19-d040-505473d4d250"
},
"outputs": [
{
"output_type": "execute_result",
"data": {
"text/plain": [
"'test1226_openai'"
],
"application/vnd.google.colaboratory.intrinsic+json": {
"type": "string"
}
},
"metadata": {},
"execution_count": 28
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_openai\"\n",
"INDEX_NAME"
]
},
{
"cell_type": "code",
"execution_count": 29,
"metadata": {
"id": "qInbxruLUOa0"
},
"outputs": [],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_openai\"\n",
"\n",
"if os.environ[\"OPENAI_API_KEY\"] == \"\":\n",
" print(\"Skipping because model is not enabled\")\n",
"else:\n",
" if USE_AZURE_OPENAI:\n",
" embedding = OpenAIEmbeddings(deployment=azureOpenAI_embedding_deployment)\n",
" else:\n",
" embedding = OpenAIEmbeddings(openai_api_type=\"open_ai\")\n",
"\n",
"\n",
" db_openai = ElasticsearchStore(\n",
" es_connection=es,\n",
" index_name=INDEX_NAME,\n",
" embedding=embedding,\n",
" strategy=ElasticsearchStore.ApproxRetrievalStrategy()\n",
" )"
]
},
{
"cell_type": "code",
"execution_count": 30,
"metadata": {
"id": "OTa5OSQlUOa1"
},
"outputs": [],
"source": [
"if os.environ[\"OPENAI_API_KEY\"] == \"\":\n",
" print(\"Skipping because model is not enabled\")\n",
"else:\n",
"\n",
" # 前の実行で残っているDocumentはクリアしてからインジェストします\n",
" if es.indices.exists(index=INDEX_NAME):\n",
" db_openai.client.delete_by_query(index=INDEX_NAME, body={\"query\": {\"match_all\": {}}})\n",
" db_openai.add_documents(json_docs)\n",
" db_openai.client.indices.refresh(index=INDEX_NAME)"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "FX1oloKuUOa1"
},
"source": [
"### サーチ"
]
},
{
"cell_type": "code",
"execution_count": 31,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "JPXbLZ7PUOa1",
"outputId": "b893cded-e787-4bee-effa-0bb28ff176a1"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Frozen tierの使い方について教えてください\n",
"0.92430925 {'source': '/content/qiita/elasticsearch_japan/ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (1).json', 'seq_num': 1, 'title': 'ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (1)', 'url': 'https://qiita.com/nobuhikosekiya/items/dd2ce836b184730f8d70', 'tags': [{'name': 'Elasticsearch', 'versions': []}]} シリーズ\n",
"[ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (1)](https://qiita.com/nobuhikosekiya/items/dd2ce836b184730f8d70)\n",
"[ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (2)](https://qiita.com/nobuhikosekiya/items/8ab82e70953b6b5d1736)\n",
"\n",
"# はじめに\n",
"こんにちは。Elasticのソリューションアーキテクトをしている関屋です。\n",
"Elasticsearchバージョン7.12からFroze\n",
"0.910676 {'source': '/content/qiita/elasticsearch_japan/ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (2).json', 'seq_num': 1, 'title': 'ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (2)', 'url': 'https://qiita.com/nobuhikosekiya/items/8ab82e70953b6b5d1736', 'tags': [{'name': 'Elasticsearch', 'versions': []}]} シリーズ\n",
"[ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (1)](https://qiita.com/nobuhikosekiya/items/dd2ce836b184730f8d70)\n",
"[ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (2)](https://qiita.com/nobuhikosekiya/items/8ab82e70953b6b5d1736)\n",
"\n",
"# はじめに\n",
"こんにちは。Elasticのソリューションアーキテクトの関屋です。\n",
"前回の1回目の記事では、Frozenティアを使うための設定を確認し\n",
"0.908291 {'source': '/content/qiita/elasticsearch_japan/Elastic CloudでHotに溜まっているデータを別のティアに移動するやり方.json', 'seq_num': 1, 'title': 'Elastic CloudでHotに溜まっているデータを別のティアに移動するやり方', 'url': 'https://qiita.com/nobuhikosekiya/items/3c03932c3efec0a9f04d', 'tags': [{'name': 'Elasticsearch', 'versions': []}]} # はじめに\n",
"Elasticソリューションアーキテクトの関屋です。\n",
"Elastic Cloudでは、データを格納するノードを選択できます。基本(必須)のHot Tier以外に、よりコストの安いWarm/Cold/FrozenのTierを選択的に設けることができます。\n",
"\n",
"しかし、Warm/Cold/Frozenはそれらのノードを立ち上げただけではデータはデフォルトではそちらに移動してくれません。\n",
"Index Lifecycle Management (ILM)を使ってライフサイクルを設定する必要があります。\n",
"\n",
"ILMですが、インデックスの作られ方によって、状況は少し異なります。\n",
"1. Fileb\n",
"0.8984802 {'source': '/content/qiita/elasticsearch_japan/オンプレミスから Elastic on AWS への Elastic ワークロード移行を自動化するための10のステップ.json', 'seq_num': 1, 'title': 'オンプレミスから Elastic on AWS への Elastic ワークロード移行を自動化するための10のステップ', 'url': 'https://qiita.com/shosuz/items/a2714b98adfd35149c57', 'tags': [{'name': 'AWS', 'versions': []}, {'name': 'Elasticsearch', 'versions': []}, {'name': 'Terraform', 'versions': []}, {'name': 'Vault', 'versions': []}, {'name': 'elasticcloud', 'versions': []}]} \n",
"皆様こんにちは!\n",
"Elastic テクニカルプロダクトマーケティングマネージャー/エバンジェリストの鈴木章太郎です。\n",
"Elastic の Qiita の Organization もでき、個人のエントリとは別に、その中のエントリとしても、ブログを定期的に書いていきたいと思います。こちらの組織は、メインは弊社のソリューションアーキテクト4名、コンサルタント3名、ですが、僕も技術マーケッターとしてブログを書いていきますので、よろしくお願いします。\n",
"\n",
"自己管理の Elastic ワークロードを Elasticon Amazon Web Services(AWS) に移行して、コスト、時間、スケール\n",
"0.89588165 {'source': '/content/qiita/elasticsearch_japan/AzureのログをさくっとElastic Cloudに送る方法.json', 'seq_num': 1, 'title': 'AzureのログをさくっとElastic Cloudに送る方法', 'url': 'https://qiita.com/nobuhikosekiya/items/9751fda90ba59dde1561', 'tags': [{'name': 'Azure', 'versions': []}, {'name': 'Elasticsearch', 'versions': []}, {'name': 'ElasticStack', 'versions': []}]} # この記事について\n",
"AzureのログをElastic Stackに送りたいけど、具体的にどうすればいいのか? \n",
"基本的にはElastic Agentを使うことになりますが、どちらかというとログの転送のためのAzure側の設定が大変なので、そこをTerraformでさくっと作ってみます。\n",
"\n",
"他のクラウド版の記事と含め最終的にはこのように3つのクラウドからログを集めることができます。\n",
"![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/012d3e8d-48bd-1ea1-54ca-9c5\n"
]
}
],
"source": [
"if os.environ[\"OPENAI_API_KEY\"] == \"\":\n",
" print(\"Skipping because model is not enabled\")\n",
"else:\n",
"\n",
" # for query in questions:\n",
" for query in questions:\n",
" print(query)\n",
" results = db_openai.similarity_search_with_score(query, k=5)\n",
" [print(score, element.metadata, element.page_content[:300]) for element, score in results]\n",
" add_result(search_logic=\"vector_openai_embeddings\", query=query, result=[(f\"score: {score}\", element.metadata, element.page_content[:100]) for element, score in results])"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "re9CjfxlUOa1"
},
"source": [
"## (ElasticsearchにアップしたE5モデルを利用) Elasticsearchのセマンティック検索"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "twGgXF90UOa1"
},
"source": [
"### インジェスト"
]
},
{
"cell_type": "code",
"execution_count": 32,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 35
},
"id": "S08LHWidUOa1",
"outputId": "015b1a71-7eb5-4566-fbd3-57011cdef010"
},
"outputs": [
{
"output_type": "execute_result",
"data": {
"text/plain": [
"'test1226_esml_e5'"
],
"application/vnd.google.colaboratory.intrinsic+json": {
"type": "string"
}
},
"metadata": {},
"execution_count": 32
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_esml_e5\"\n",
"INDEX_NAME"
]
},
{
"cell_type": "code",
"execution_count": 33,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "NMe_XJS2UOa1",
"outputId": "013464bb-a898-4fd4-a156-d0903f48eafe"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Check: Model is started\n"
]
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_esml_e5\"\n",
"if not is_model_started(es, model_id=\"intfloat/multilingual-e5-small\"):\n",
" print(\"Skipping because model is not enabled\")\n",
"else:\n",
"\n",
" from langchain.vectorstores.elasticsearch import ElasticsearchStore\n",
" from langchain.embeddings.elasticsearch import ElasticsearchEmbeddings\n",
"\n",
" ES_MODEL_ID=elasticsearch_model_id(\"intfloat/multilingual-e5-small\")\n",
"\n",
" embedding = ElasticsearchEmbeddings.from_es_connection(\n",
" es_connection=es,\n",
" model_id=ES_MODEL_ID\n",
" )\n",
"\n",
" db_esml_e5 = ElasticsearchStore(\n",
" es_connection=es,\n",
" index_name=INDEX_NAME,\n",
" embedding=embedding,\n",
" strategy=ElasticsearchStore.ApproxRetrievalStrategy()\n",
" )"
]
},
{
"cell_type": "code",
"execution_count": 34,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "3xIDRGZMUOa1",
"outputId": "11849a09-5ff7-43cd-d132-1940710bd382"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Check: Model is started\n",
"....................................................................."
]
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_esml_e5\"\n",
"if not is_model_started(es, model_id=\"intfloat/multilingual-e5-small\"):\n",
" print(\"Skipping because model is not enabled\")\n",
"else:\n",
"\n",
" if db_esml_e5.client.indices.exists(index=INDEX_NAME):\n",
" db_esml_e5.client.delete_by_query(index=INDEX_NAME, body={\"query\": {\"match_all\": {}}})\n",
"\n",
" for doc in json_docs:\n",
" db_esml_e5.add_documents([doc])\n",
" print('.', end='')\n",
"\n",
" db_esml_e5.client.indices.refresh(index=INDEX_NAME)"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "3lY3SR8DUOa1"
},
"source": [
"### サーチ"
]
},
{
"cell_type": "code",
"execution_count": 35,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "_GK8qdzlUOa1",
"outputId": "25aa6c1d-0efc-4af2-90e0-f0917cd2dec3"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Check: Model is started\n",
"Frozen tierの使い方について教えてください\n",
"0.95075536 {'source': '/content/qiita/elasticsearch_japan/ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (1).json', 'seq_num': 1, 'title': 'ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (1)', 'url': 'https://qiita.com/nobuhikosekiya/items/dd2ce836b184730f8d70', 'tags': [{'name': 'Elasticsearch', 'versions': []}]} シリーズ\n",
"[ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (1)](https://qiita.com/nobuhikosekiya/items/dd2ce836b184730f8d70)\n",
"[ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (2)](https://qiita.com/nobuhikosekiya/items/8ab82e70953b6b5d1736)\n",
"\n",
"# はじめに\n",
"こんにちは。Elasticのソリューションアーキテクトをしている関屋です。\n",
"Elasticsearchバージョン7.12からFroze\n",
"0.942831 {'source': '/content/qiita/elasticsearch_japan/ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (2).json', 'seq_num': 1, 'title': 'ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (2)', 'url': 'https://qiita.com/nobuhikosekiya/items/8ab82e70953b6b5d1736', 'tags': [{'name': 'Elasticsearch', 'versions': []}]} シリーズ\n",
"[ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (1)](https://qiita.com/nobuhikosekiya/items/dd2ce836b184730f8d70)\n",
"[ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (2)](https://qiita.com/nobuhikosekiya/items/8ab82e70953b6b5d1736)\n",
"\n",
"# はじめに\n",
"こんにちは。Elasticのソリューションアーキテクトの関屋です。\n",
"前回の1回目の記事では、Frozenティアを使うための設定を確認し\n",
"0.93683434 {'source': '/content/qiita/elasticsearch_japan/Elastic CloudでHotに溜まっているデータを別のティアに移動するやり方.json', 'seq_num': 1, 'title': 'Elastic CloudでHotに溜まっているデータを別のティアに移動するやり方', 'url': 'https://qiita.com/nobuhikosekiya/items/3c03932c3efec0a9f04d', 'tags': [{'name': 'Elasticsearch', 'versions': []}]} # はじめに\n",
"Elasticソリューションアーキテクトの関屋です。\n",
"Elastic Cloudでは、データを格納するノードを選択できます。基本(必須)のHot Tier以外に、よりコストの安いWarm/Cold/FrozenのTierを選択的に設けることができます。\n",
"\n",
"しかし、Warm/Cold/Frozenはそれらのノードを立ち上げただけではデータはデフォルトではそちらに移動してくれません。\n",
"Index Lifecycle Management (ILM)を使ってライフサイクルを設定する必要があります。\n",
"\n",
"ILMですが、インデックスの作られ方によって、状況は少し異なります。\n",
"1. Fileb\n",
"0.9219451 {'source': '/content/qiita/elasticsearch_japan/Elastic Stack 8.0 の NLP で日本語センチメント分析を試してみた - 後編.json', 'seq_num': 1, 'title': 'Elastic Stack 8.0 の NLP で日本語センチメント分析を試してみた - 後編', 'url': 'https://qiita.com/ijokarumawak@github/items/6cc714060090160cf2d5', 'tags': [{'name': 'NLP', 'versions': []}, {'name': 'Elasticsearch', 'versions': []}, {'name': 'Kibana', 'versions': []}]} 先日 [Elastic Stack 8.0 の NLP で日本語センチメント分析を試してみた](https://qiita.com/ijokarumawak@github/items/9b0c2d650536488718a5) を書いたところ、「これ、ちゃんと日本語で処理できるのかな?中の動きが知りたい」とコメントいただきました。確かに、モデル側では fugashi などを使っているのに Elasticsearch 側では使ってないはずですね。\n",
"\n",
"今回は Elastic Stack 8.0.1 を使って、 inference で判定させるテキストをどうやって tokenize しているかを調査\n",
"0.9216387 {'source': '/content/qiita/elasticsearch_japan/Elastic における OpenTelemetry による独立性.json', 'seq_num': 1, 'title': 'Elastic における OpenTelemetry による独立性', 'url': 'https://qiita.com/shosuz/items/1eee784c5dd8f009e204', 'tags': [{'name': 'Elasticsearch', 'versions': []}, {'name': 'apm', 'versions': []}, {'name': 'GKE', 'versions': []}, {'name': 'observability', 'versions': []}, {'name': 'opentelemetry', 'versions': []}]} ※ このブログは、[Independence with OpenTelemetry on Elastic](https://www.elastic.co/jp/blog/opentelemetry-observability) を日本語訳し加筆等したものです。\n",
"![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/33599/3822357c-7d4d-47e7-4001-2673d09e28cc.png)\n",
" \n",
"より速く、よりスケーラブルなサービスを求める動きが活発化しています。私たちの日常生活は、お気\n"
]
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_esml_e5\"\n",
"if not is_model_started(es, \"intfloat__multilingual-e5-small\"):\n",
" print(\"Skipping because model is not enabled\")\n",
"else:\n",
"\n",
" # for query in questions:\n",
" for query in questions:\n",
" print(query)\n",
" results = db_esml_e5.similarity_search_with_score(query, k=5)\n",
" [print(score, element.metadata, element.page_content[:300]) for element, score in results]\n",
" add_result(search_logic=\"vector_elastic_e5\", query=query, result=[(f\"score: {score}\", element.metadata, element.page_content[:100]) for element, score in results])"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "P2e_PxHBUOa1"
},
"source": [
"## Elasticsearch RRF ハイブリッド検索"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "TghmnUJdUOa1"
},
"source": [
"### インジェスト"
]
},
{
"cell_type": "code",
"execution_count": 36,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 35
},
"id": "zHfiIvjLUOa1",
"outputId": "c51ed428-be89-4244-e9cb-b06bf7ed86c2"
},
"outputs": [
{
"output_type": "execute_result",
"data": {
"text/plain": [
"'test1226_esml_e5_hybrid'"
],
"application/vnd.google.colaboratory.intrinsic+json": {
"type": "string"
}
},
"metadata": {},
"execution_count": 36
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_esml_e5_hybrid\"\n",
"INDEX_NAME"
]
},
{
"cell_type": "code",
"execution_count": 37,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "sYJepDsTUOa1",
"outputId": "efc37a55-eea1-420f-fba7-545f2817d40c"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Check: Model is started\n"
]
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_esml_e5_hybrid\"\n",
"if not is_model_started(es, model_id=\"intfloat/multilingual-e5-small\"):\n",
" print(\"Skipping because model is not enabled\")\n",
"else:\n",
"\n",
" from langchain.vectorstores.elasticsearch import ElasticsearchStore\n",
" from langchain.embeddings.elasticsearch import ElasticsearchEmbeddings\n",
"\n",
" ES_MODEL_ID=elasticsearch_model_id(\"intfloat/multilingual-e5-small\")\n",
"\n",
" embedding = ElasticsearchEmbeddings.from_es_connection(\n",
" es_connection=es,\n",
" model_id=ES_MODEL_ID\n",
" )\n",
"\n",
" db_esml_e5_hybrid = ElasticsearchStore(\n",
" es_connection=es.options(request_timeout=3600),\n",
" index_name=INDEX_NAME,\n",
" embedding=embedding,\n",
" strategy=ElasticsearchStore.ApproxRetrievalStrategy(hybrid=True)\n",
" )"
]
},
{
"cell_type": "code",
"execution_count": 38,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "il_ICmCDUOa1",
"outputId": "5a8bc30f-c5d9-4602-f12d-d1e21958926f"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Check: Model is started\n",
"....................................................................."
]
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_esml_e5_hybrid\"\n",
"if not is_model_started(es, \"intfloat__multilingual-e5-small\"):\n",
" print(\"Skipping because model is not enabled\")\n",
"else:\n",
"\n",
" if db_esml_e5_hybrid.client.indices.exists(index=INDEX_NAME):\n",
" db_esml_e5_hybrid.client.delete_by_query(index=INDEX_NAME, body={\"query\": {\"match_all\": {}}})\n",
"\n",
" for doc in json_docs:\n",
" db_esml_e5_hybrid.add_documents([doc])\n",
" print(\".\", end=\"\")\n",
" db_esml_e5_hybrid.client.indices.refresh(index=INDEX_NAME)"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "FurjiCChUOa2"
},
"source": [
"### サーチ"
]
},
{
"cell_type": "code",
"execution_count": 39,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "mMPYsSsRUOa2",
"outputId": "65162bd0-ce06-4295-aa57-04346fa4c484"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Check: Model is started\n",
"Frozen tierの使い方について教えてください\n",
"None {'source': '/content/qiita/elasticsearch_japan/ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (1).json', 'seq_num': 1, 'title': 'ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (1)', 'url': 'https://qiita.com/nobuhikosekiya/items/dd2ce836b184730f8d70', 'tags': [{'name': 'Elasticsearch', 'versions': []}]} シリーズ\n",
"[ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (1)](https://qiita.com/nobuhikosekiya/items/dd2ce836b184730f8d70)\n",
"[ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (2)](https://qiita.com/nobuhikosekiya/items/8ab82e70953b6b5d1736)\n",
"\n",
"# はじめに\n",
"こんにちは。Elasticのソリューションアーキテクトをしている関屋です。\n",
"Elasticsearchバージョン7.12からFroze\n",
"None {'source': '/content/qiita/elasticsearch_japan/Elastic CloudでHotに溜まっているデータを別のティアに移動するやり方.json', 'seq_num': 1, 'title': 'Elastic CloudでHotに溜まっているデータを別のティアに移動するやり方', 'url': 'https://qiita.com/nobuhikosekiya/items/3c03932c3efec0a9f04d', 'tags': [{'name': 'Elasticsearch', 'versions': []}]} # はじめに\n",
"Elasticソリューションアーキテクトの関屋です。\n",
"Elastic Cloudでは、データを格納するノードを選択できます。基本(必須)のHot Tier以外に、よりコストの安いWarm/Cold/FrozenのTierを選択的に設けることができます。\n",
"\n",
"しかし、Warm/Cold/Frozenはそれらのノードを立ち上げただけではデータはデフォルトではそちらに移動してくれません。\n",
"Index Lifecycle Management (ILM)を使ってライフサイクルを設定する必要があります。\n",
"\n",
"ILMですが、インデックスの作られ方によって、状況は少し異なります。\n",
"1. Fileb\n",
"None {'source': '/content/qiita/elasticsearch_japan/ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (2).json', 'seq_num': 1, 'title': 'ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (2)', 'url': 'https://qiita.com/nobuhikosekiya/items/8ab82e70953b6b5d1736', 'tags': [{'name': 'Elasticsearch', 'versions': []}]} シリーズ\n",
"[ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (1)](https://qiita.com/nobuhikosekiya/items/dd2ce836b184730f8d70)\n",
"[ElasticsearchのFrozenデータティアにデータが入るのをテストしてみた (2)](https://qiita.com/nobuhikosekiya/items/8ab82e70953b6b5d1736)\n",
"\n",
"# はじめに\n",
"こんにちは。Elasticのソリューションアーキテクトの関屋です。\n",
"前回の1回目の記事では、Frozenティアを使うための設定を確認し\n",
"None {'source': '/content/qiita/elasticsearch_japan/Elastic Cloud について\\u3000〜実際にデプロイメントを作ってみよう〜.json', 'seq_num': 1, 'title': 'Elastic Cloud について\\u3000〜実際にデプロイメントを作ってみよう〜', 'url': 'https://qiita.com/tomo_s_el/items/3584d0b1fabb0bafa4fa', 'tags': [{'name': 'Elasticsearch', 'versions': []}, {'name': 'elasticcloud', 'versions': []}]} :::note warn\n",
"*(情報は投稿時点(2022年3月頃)の話です)*\n",
":::\n",
"\n",
"\n",
"# Elastic Cloud について 〜実際にデプロイメントを作ってみよう〜\n",
"\n",
"Elastic Cloud は一言でいうと、Elastic が提供する Elasticsearch のマネージドサービスです。簡単にElasitcsearch のクラスターがデプロイ・管理できるサービスです。\n",
"\n",
":::note info\n",
"前書きが長いので、実際の作成の流れを見たい方はこちらへ [[先に飛ぶ]](#実際に使ってみる)\n",
":::\n",
"\n",
"## メリット\n",
"\n",
"ご存知の方もいらっしゃると思いますが、Elasticsearch\n",
"None {'source': '/content/qiita/elasticsearch_japan/Elastic Stack 8.0 の NLP で日本語センチメント分析を試してみた - 後編.json', 'seq_num': 1, 'title': 'Elastic Stack 8.0 の NLP で日本語センチメント分析を試してみた - 後編', 'url': 'https://qiita.com/ijokarumawak@github/items/6cc714060090160cf2d5', 'tags': [{'name': 'NLP', 'versions': []}, {'name': 'Elasticsearch', 'versions': []}, {'name': 'Kibana', 'versions': []}]} 先日 [Elastic Stack 8.0 の NLP で日本語センチメント分析を試してみた](https://qiita.com/ijokarumawak@github/items/9b0c2d650536488718a5) を書いたところ、「これ、ちゃんと日本語で処理できるのかな?中の動きが知りたい」とコメントいただきました。確かに、モデル側では fugashi などを使っているのに Elasticsearch 側では使ってないはずですね。\n",
"\n",
"今回は Elastic Stack 8.0.1 を使って、 inference で判定させるテキストをどうやって tokenize しているかを調査\n"
]
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_esml_e5_hybrid\"\n",
"if not is_model_started(es, \"intfloat__multilingual-e5-small\"):\n",
" print(\"Skipping because model is not enabled\")\n",
"else:\n",
"\n",
" for query in questions:\n",
" print(query)\n",
" results = db_esml_e5_hybrid.similarity_search_with_score(query, k=5)\n",
" [print(score, element.metadata, element.page_content[:300]) for element, score in results]\n",
" add_result(search_logic=\"hybrid_elastic_bm25_e5\", query=query, result=[(f\"score: {score}\", element.metadata, element.page_content[:100]) for element, score in results])"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "f6se1deaUOa2"
},
"source": [
"## (ElasticsearchにアップしたTohoku BERT Japanese v3モデルを利用) Elasticのセマンティック検索"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "MlV1J373UOa2"
},
"source": [
"### インジェスト"
]
},
{
"cell_type": "code",
"execution_count": 40,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 35
},
"id": "l7ChiwtpUOa2",
"outputId": "0ba61430-bfa7-419c-c3c0-19b2de05bbb0"
},
"outputs": [
{
"output_type": "execute_result",
"data": {
"text/plain": [
"'test1226_esml_tohokubertv3'"
],
"application/vnd.google.colaboratory.intrinsic+json": {
"type": "string"
}
},
"metadata": {},
"execution_count": 40
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_esml_tohokubertv3\"\n",
"INDEX_NAME"
]
},
{
"cell_type": "code",
"execution_count": 41,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "WNFSVwaBUOa2",
"outputId": "3997419b-d32f-411f-f45e-7471638407bb"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Check: Model does not have deployment stats\n",
"Skipping because model is not enabled\n"
]
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_esml_tohokubertv3\"\n",
"if not is_model_started(es, model_id=\"cl-tohoku/bert-base-japanese-v3\"):\n",
" print(\"Skipping because model is not enabled\")\n",
"else:\n",
"\n",
" from langchain.vectorstores.elasticsearch import ElasticsearchStore\n",
" from langchain.embeddings.elasticsearch import ElasticsearchEmbeddings\n",
"\n",
" ES_MODEL_ID=elasticsearch_model_id(\"cl-tohoku/bert-base-japanese-v3\")\n",
"\n",
" embedding = ElasticsearchEmbeddings.from_es_connection(\n",
" es_connection=es,\n",
" model_id=ES_MODEL_ID\n",
" )\n",
"\n",
" db_esml_tohokubertv3 = ElasticsearchStore(\n",
" es_connection=es,\n",
" index_name=INDEX_NAME,\n",
" embedding=embedding,\n",
" strategy=ElasticsearchStore.ApproxRetrievalStrategy()\n",
" )"
]
},
{
"cell_type": "code",
"execution_count": 42,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "EZWGkZFFUOa2",
"outputId": "c9242de7-fc76-4dc6-cb10-036718e71638"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Check: Model does not have deployment stats\n",
"Skipping because model is not enabled\n"
]
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_esml_tohokubertv3\"\n",
"if not is_model_started(es, \"cl-tohoku__bert-base-japanese-v3\"):\n",
" print(\"Skipping because model is not enabled\")\n",
"else:\n",
"\n",
" if db_esml_tohokubertv3.client.indices.exists(index=INDEX_NAME):\n",
" db_esml_tohokubertv3.client.delete_by_query(index=INDEX_NAME, body={\"query\": {\"match_all\": {}}})\n",
" for doc in json_docs:\n",
" db_esml_tohokubertv3.add_documents([doc])\n",
" print(\".\", end='')\n",
" db_esml_tohokubertv3.client.indices.refresh(index=INDEX_NAME)"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "i7MqBcLZUOa2"
},
"source": [
"### サーチ"
]
},
{
"cell_type": "code",
"execution_count": 43,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "fF8UnV7MUOa2",
"outputId": "b481e905-21ed-4d43-cafd-83816c921047"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Check: Model does not have deployment stats\n",
"Skipping because model is not enabled\n"
]
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_esml_tohokubertv3\"\n",
"if not is_model_started(es, \"cl-tohoku__bert-base-japanese-v3\"):\n",
" print(\"Skipping because model is not enabled\")\n",
"else:\n",
"\n",
" for query in questions:\n",
" print(query)\n",
"\n",
" results = db_esml_tohokubertv3.similarity_search_with_score(query, k=10)\n",
" [print(score, element.metadata, element.page_content[:300]) for element, score in results]\n",
" add_result(search_logic=\"esml_tohokubertv3\", query=query, result=[(f\"score: {score}\", element.metadata, element.page_content[:100]) for element, score in results])"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "yhZy_qbxUOa2"
},
"source": [
"## (ElasticsearchにアップしたTohoku BERT Japanese v2モデルを利用) Elasticのセマンティック検索"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "QLWeUJAhUOa2"
},
"source": [
"### インジェスト"
]
},
{
"cell_type": "code",
"execution_count": 44,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 35
},
"id": "ntIvnloDUOa2",
"outputId": "c24da679-465f-4180-af7d-b116dfe3dfe2"
},
"outputs": [
{
"output_type": "execute_result",
"data": {
"text/plain": [
"'test1226_esml_tohokubertv2'"
],
"application/vnd.google.colaboratory.intrinsic+json": {
"type": "string"
}
},
"metadata": {},
"execution_count": 44
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_esml_tohokubertv2\"\n",
"INDEX_NAME"
]
},
{
"cell_type": "code",
"execution_count": 45,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "SaxtowZ3UOa2",
"outputId": "3ffb8aca-f8aa-406a-95d1-f265c22df200"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Check: Model is started\n"
]
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_esml_tohokubertv2\"\n",
"if not is_model_started(es, model_id=\"cl-tohoku/bert-base-japanese-v2\"):\n",
" print(\"Skipping because model is not enabled\")\n",
"else:\n",
"\n",
" from langchain.vectorstores.elasticsearch import ElasticsearchStore\n",
" from langchain.embeddings.elasticsearch import ElasticsearchEmbeddings\n",
"\n",
" ES_MODEL_ID=elasticsearch_model_id(\"cl-tohoku/bert-base-japanese-v2\")\n",
"\n",
" embedding = ElasticsearchEmbeddings.from_es_connection(\n",
" es_connection=es,\n",
" model_id=ES_MODEL_ID\n",
" )\n",
"\n",
" db_esml_tohokubertv2 = ElasticsearchStore(\n",
" es_connection=es,\n",
" index_name=INDEX_NAME,\n",
" embedding=embedding,\n",
" strategy=ElasticsearchStore.ApproxRetrievalStrategy()\n",
" )"
]
},
{
"cell_type": "code",
"execution_count": 46,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "je4Jv4EBUOa2",
"outputId": "2669dd76-5100-4c88-f2ca-172f99ffc40e"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Check: Model is started\n",
"....................................................................."
]
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_esml_tohokubertv2\"\n",
"if not is_model_started(es, \"cl-tohoku__bert-base-japanese-v2\"):\n",
" print(\"Skipping because model is not enabled\")\n",
"else:\n",
"\n",
" if db_esml_tohokubertv2.client.indices.exists(index=INDEX_NAME):\n",
" db_esml_tohokubertv2.client.delete_by_query(index=INDEX_NAME, body={\"query\": {\"match_all\": {}}})\n",
" for doc in json_docs:\n",
" db_esml_tohokubertv2.add_documents([doc])\n",
" print(\".\", end='')\n",
" db_esml_tohokubertv2.client.indices.refresh(index=INDEX_NAME)"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "znLB-fc8UOa2"
},
"source": [
"### サーチ"
]
},
{
"cell_type": "code",
"execution_count": 47,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "Wbjxzm2HUOa3",
"outputId": "1d9d50c8-5cae-4754-abc5-fe9bd837d802"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Check: Model is started\n",
"Frozen tierの使い方について教えてください\n",
"0.7157447 {'source': '/content/qiita/elasticsearch_japan/delika のデータを Elastic Stack で分析じゃ.json', 'seq_num': 1, 'title': 'delika のデータを Elastic Stack で分析じゃ', 'url': 'https://qiita.com/ijokarumawak@github/items/2d9022c59b34cc89fab8', 'tags': [{'name': 'Elasticsearch', 'versions': []}, {'name': 'Kibana', 'versions': []}, {'name': 'delika', 'versions': []}, {'name': 'Qiitadelika', 'versions': []}]} データの Github になる!を目指す [delika](https://delika.io/) 。お恥ずかしながら今まで存じ上げず、ふと Qiita で何か書こうかな、と眺めていたら Qiita で delika の記事投稿キャンペーンをやっていたので、やってみました!\n",
"\n",
"この記事で利用している Elastic Stack は ver 8.1.0 です。\n",
"\n",
"## まずはデータを取り込み!\n",
"\n",
"delika には creative commons などでライセンスされたパブリックなデータセットが公開されています。さっそくいくつか取り込んでみましょう。\n",
"\n",
"## 品川区避難所\n",
"\n",
"CC 2.1 JP\n",
"0.7097299 {'source': '/content/qiita/elasticsearch_japan/[小ネタ] ElasticのAPMでコードに手を入れずにメソッド監視する方法.json', 'seq_num': 1, 'title': '[小ネタ] ElasticのAPMでコードに手を入れずにメソッド監視する方法', 'url': 'https://qiita.com/nobuhikosekiya/items/5dd6d910aec83dbe3f15', 'tags': [{'name': 'apm', 'versions': []}, {'name': 'ElasticStack', 'versions': []}]} # はじめに\n",
"本記事はElasticのAPM Java Agentにおいて使用できる技になります。\n",
"執筆時点のJava Agentのバージョン1.34.1で試しています。\n",
"\n",
"\n",
"# やりたいこと\n",
"Elastic APM Java Agentをデフォルトの状態で使用すると、トレースの中のスパンとして可視化されるのは[サポートされているテクノロジー](https://www.elastic.co/guide/en/apm/agent/java/current/supported-technologies-details.html)のポイントとなるメソッドです。\n",
"\n",
"例としてこの簡単なHello Wor\n",
"0.70762074 {'source': '/content/qiita/elasticsearch_japan/Upgrade Assistantを使ってElastic Stackをバージョンアップ.json', 'seq_num': 1, 'title': 'Upgrade Assistantを使ってElastic Stackをバージョンアップ', 'url': 'https://qiita.com/yukshimizu/items/50e471379e1c693b61bc', 'tags': [{'name': 'Elasticsearch', 'versions': []}, {'name': 'Kibana', 'versions': []}, {'name': 'elasticcloud', 'versions': []}, {'name': 'ElasticStack', 'versions': []}]} Elastic Stackの8.0がリリースされてから少し経ちましたが、そろそろ7系から8系にアップグレードしようかと考えている方々も多いのではないでしょうか?そこで、メジャーアップグレード時の心強い味方、Upgrade Assistantを使って、8系へのバージョンアップについて触れておきたいと思います。\n",
"\n",
":::note info\n",
"こちらの情報は記事投稿時(2022年4月)の話です。\n",
":::\n",
"\n",
"## 8系の新機能って?\n",
"\b[8.0のGAは今年の2月](https://www.elastic.co/jp/blog/whats-new-elastic-8-0-0)ですが、Elastic Sta\n",
"0.7066405 {'source': '/content/qiita/elasticsearch_japan/Elasticsearch Python Client (elasticsearch-py)でProxyを設定する方法.json', 'seq_num': 1, 'title': 'Elasticsearch Python Client (elasticsearch-py)でProxyを設定する方法', 'url': 'https://qiita.com/takeo-furukubo/items/9595abde7ffac324cecd', 'tags': [{'name': 'Python', 'versions': []}, {'name': 'Elasticsearch', 'versions': []}, {'name': 'proxy', 'versions': []}, {'name': 'docker-compose', 'versions': []}]} # 概要\n",
"Elasticsearch Python Client (elasticsearch-py)をプロキシサーバを通して利用する方法がググってもあまり出てこないため、簡単に設定方法をまとめました。\n",
"elasticsearch-pyのバージョンによって設定方法が少し異なりますので、v7とv8で分けて記載します。\n",
"[elasticsearch-pyのドキュメント](https://www.elastic.co/guide/en/elasticsearch/client/python-api/8.5/index.html)\n",
"[elasticsearch-pyのGitHub](https://g\n",
"0.70257676 {'source': '/content/qiita/elasticsearch_japan/ビジネス・オブザーバビリティ?Elasticでビジネストレンドのレポート自動化に挑戦.json', 'seq_num': 1, 'title': 'ビジネス・オブザーバビリティ?Elasticでビジネストレンドのレポート自動化に挑戦', 'url': 'https://qiita.com/nobuhikosekiya/items/4c17467e5880c793d945', 'tags': [{'name': 'Elasticsearch', 'versions': []}, {'name': 'Kibana', 'versions': []}]} # はじめに。BIツールで作るレポートの課題。\n",
"何かのビジネスのトランザクションのデータに対して分析を行う時、長期的なトレンドを見ながら様々な面に切り分けて観測したいと思います。\n",
"\n",
"BIツールや今回使うKibanaなどを触りながら分析をして、洞察を得ることができるかもしれません。しかし、これはそのツールを使いなれていないと厳しいです。物事を判断する上の人たちがそういったツールを操作することはないですよね。\n",
"結局は、BIで作ったデータをパワーポイントなどに貼り付けて報告しているケースが多いんじゃないかと。\n",
"しかし、分析する面が増えるほどpptに貼り付けるグラフを作成しなければいけないので、結構大\n",
"0.70076776 {'source': '/content/qiita/elasticsearch_japan/さくっとOpenTelemetryをElastic Observabilityで試す方法.json', 'seq_num': 1, 'title': 'さくっとOpenTelemetryをElastic Observabilityで試す方法', 'url': 'https://qiita.com/nobuhikosekiya/items/5f770ee4bc9be37b5733', 'tags': [{'name': 'Elasticsearch', 'versions': []}, {'name': 'ElasticStack', 'versions': []}, {'name': 'opentelemetry', 'versions': []}]} # はじめに\n",
"オブザーバビリティ界隈では、ますますOpenTelemetryの人気が上がっていますが、本記事ではさくっとバックエンドの監視ツールとしてElasticを試してみる方法を紹介します。\n",
"\n",
"OpenTelemetryのDemoアプリケーションを使います。Demoアプリケーションのバージョン1.5.0で動作確認しているので、それを使う前提です。\n",
"https://opentelemetry.io/docs/demo\n",
"\n",
"# 前提\n",
"* 4 GB RAM のパソコンがあればかろうじて動くと思います。(公式的な推奨は6GBか8GBだったとかだったと思います)\n",
"* Docker Compose v2\n",
"0.69838417 {'source': '/content/qiita/elasticsearch_japan/[v8.7] Elasticsearch_Kibana_Fleet_Elastic Agentをdocker-composeでインストールする手順(試用用途).json', 'seq_num': 1, 'title': '[v8.7] Elasticsearch/Kibana/Fleet/Elastic Agentをdocker-composeでインストールする手順(試用用途)', 'url': 'https://qiita.com/takeo-furukubo/items/591617ea57e537046fb8', 'tags': [{'name': 'Elasticsearch', 'versions': []}, {'name': 'Kibana', 'versions': []}, {'name': 'docker-compose', 'versions': []}]} # はじめに\n",
"下記の記事にて`docker-compose`を使ってElasticsearchとKibanaを構成する方法を説明しました。\n",
"https://qiita.com/takeo-furukubo/items/c2f194679afadc06a4e9\n",
"\n",
"今回は更に一歩進んでFleetを設定する方法を説明します。\n",
"これにより手元環境でElastic Solutionsを試すことができるようになります。\n",
"\n",
"# Fleetとは?\n",
"https://www.elastic.co/guide/en/fleet/current/fleet-server.html\n",
"Elastic Agentの管理プレ\n",
"0.69712543 {'source': '/content/qiita/elasticsearch_japan/Elastic CloudでHotに溜まっているデータを別のティアに移動するやり方.json', 'seq_num': 1, 'title': 'Elastic CloudでHotに溜まっているデータを別のティアに移動するやり方', 'url': 'https://qiita.com/nobuhikosekiya/items/3c03932c3efec0a9f04d', 'tags': [{'name': 'Elasticsearch', 'versions': []}]} # はじめに\n",
"Elasticソリューションアーキテクトの関屋です。\n",
"Elastic Cloudでは、データを格納するノードを選択できます。基本(必須)のHot Tier以外に、よりコストの安いWarm/Cold/FrozenのTierを選択的に設けることができます。\n",
"\n",
"しかし、Warm/Cold/Frozenはそれらのノードを立ち上げただけではデータはデフォルトではそちらに移動してくれません。\n",
"Index Lifecycle Management (ILM)を使ってライフサイクルを設定する必要があります。\n",
"\n",
"ILMですが、インデックスの作られ方によって、状況は少し異なります。\n",
"1. Fileb\n",
"0.6971147 {'source': '/content/qiita/elasticsearch_japan/AzureのログをさくっとElastic Cloudに送る方法.json', 'seq_num': 1, 'title': 'AzureのログをさくっとElastic Cloudに送る方法', 'url': 'https://qiita.com/nobuhikosekiya/items/9751fda90ba59dde1561', 'tags': [{'name': 'Azure', 'versions': []}, {'name': 'Elasticsearch', 'versions': []}, {'name': 'ElasticStack', 'versions': []}]} # この記事について\n",
"AzureのログをElastic Stackに送りたいけど、具体的にどうすればいいのか? \n",
"基本的にはElastic Agentを使うことになりますが、どちらかというとログの転送のためのAzure側の設定が大変なので、そこをTerraformでさくっと作ってみます。\n",
"\n",
"他のクラウド版の記事と含め最終的にはこのように3つのクラウドからログを集めることができます。\n",
"![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/109197/012d3e8d-48bd-1ea1-54ca-9c5\n",
"0.6951545 {'source': '/content/qiita/elasticsearch_japan/GKE上のOpenTelemetry DemoアプリケーションをさくっとElasticでAPM・ログ・インフラ+eBPFプロファイリング監視する.json', 'seq_num': 1, 'title': 'GKE上のOpenTelemetry DemoアプリケーションをさくっとElasticでAPM・ログ・インフラ+eBPFプロファイリング監視する', 'url': 'https://qiita.com/nobuhikosekiya/items/9c3ae25b39827b1ef9d1', 'tags': [{'name': 'Elasticsearch', 'versions': []}, {'name': 'GKE', 'versions': []}, {'name': 'ElasticStack', 'versions': []}, {'name': 'opentelemetry', 'versions': []}]} # はじめに\n",
"こちらのOpenTelemetry Demoを使うと、簡単にKubernetes上でアプリケーションを動かして、そしてElasticオブザーバビリティ機能を色々試すことができます。\n",
"https://opentelemetry.io/docs/demo/kubernetes-deployment/\n",
"\n",
"本記事はGKEを使い、そのやり方をまとめました。\n",
"\n",
"# 手順\n",
"\n",
"## GKEクラスタ作成とOtel Demoアプリのデプロイ\n",
"以下でGKEクラスタ作ります。Otel Demoアプリのデプロイは上のDemoアプリドキュメントの通りに行います。\n",
"```:sh\n",
"CLUSTER_NAME=no\n"
]
}
],
"source": [
"INDEX_NAME=f\"{INDEX_PREFIX}_esml_tohokubertv2\"\n",
"if not is_model_started(es, \"cl-tohoku__bert-base-japanese-v2\"):\n",
" print(\"Skipping because model is not enabled\")\n",
"else:\n",
"\n",
" for query in questions:\n",
" print(query)\n",
"\n",
" results = db_esml_tohokubertv2.similarity_search_with_score(query, k=10)\n",
" [print(score, element.metadata, element.page_content[:300]) for element, score in results]\n",
" add_result(search_logic=\"esml_tohokubertv2\", query=query, result=[(f\"score: {score}\", element.metadata, element.page_content[:100]) for element, score in results])"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "hUAdu6lEUOa3"
},
"source": [
"# 終了処理"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "o9h6bPOEUOa3"
},
"source": [
"## Elastic ML E5モデルの停止"
]
},
{
"cell_type": "code",
"execution_count": 48,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "Od4r1eOaUOa3",
"outputId": "060bf419-8090-44dc-c792-5b318e2d0512"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Check: Model is started\n",
"Stopping model deployment\n"
]
},
{
"output_type": "stream",
"name": "stderr",
"text": [
"<ipython-input-11-17415ad073d6>:38: ElasticsearchWarning: The default [remove_binary] value of 'false' is deprecated and will be set to 'true' in a future release. Set [remove_binary] explicitly to 'true' or 'false' to ensure no behavior change.\n",
" es_connection.options(request_timeout=300).ml.stop_trained_model_deployment(model_id=es_model_id, force=True)\n"
]
}
],
"source": [
"if is_model_started(es, model_id=\"intfloat/multilingual-e5-small\"):\n",
" stop_model(es, model_id=\"intfloat/multilingual-e5-small\")"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "qU_jJQ3wUOa3"
},
"source": [
"## Elastic ML Tohoku BERT モデルの停止"
]
},
{
"cell_type": "code",
"execution_count": 49,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "qpHW-J6TUOa3",
"outputId": "75ac54d8-544d-426d-86df-4bab9f299c32"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Check: Model does not have deployment stats\n",
"Check: Model is started\n",
"Stopping model deployment\n"
]
},
{
"output_type": "stream",
"name": "stderr",
"text": [
"<ipython-input-11-17415ad073d6>:38: ElasticsearchWarning: The default [remove_binary] value of 'false' is deprecated and will be set to 'true' in a future release. Set [remove_binary] explicitly to 'true' or 'false' to ensure no behavior change.\n",
" es_connection.options(request_timeout=300).ml.stop_trained_model_deployment(model_id=es_model_id, force=True)\n"
]
}
],
"source": [
"if is_model_started(es, model_id=\"cl-tohoku/bert-base-japanese-v3\"):\n",
" stop_model(es, model_id=\"cl-tohoku/bert-base-japanese-v3\")\n",
"if is_model_started(es, model_id=\"cl-tohoku/bert-base-japanese-v2\"):\n",
" stop_model(es, model_id=\"cl-tohoku/bert-base-japanese-v2\")"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.6"
},
"orig_nbformat": 4,
"colab": {
"provenance": [],
"toc_visible": true,
"include_colab_link": true
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {
"1042eb65111944229d59aeb6b72a681b": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_6a27a4f37abd4577b7bdd65e75a85257",
"IPY_MODEL_dc1f116bac864769b48ad8b337b0f8fe",
"IPY_MODEL_9cd3facfe39146bc905dea1a5638d3f1"
],
"layout": "IPY_MODEL_20ee57abb81643fc80a1899421430531"
}
},
"6a27a4f37abd4577b7bdd65e75a85257": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_10262830f9da404ba2c04a02192afb1c",
"placeholder": "​",
"style": "IPY_MODEL_0d895bdb538b4c40bc48632b359206d1",
"value": "tokenizer_config.json: 100%"
}
},
"dc1f116bac864769b48ad8b337b0f8fe": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_9b247c45cef040208428251b5076b0e4",
"max": 443,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_c688413701e345ecadd51410602bf7b1",
"value": 443
}
},
"9cd3facfe39146bc905dea1a5638d3f1": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_876b17ecd955452e9dff74dd5efbfbe0",
"placeholder": "​",
"style": "IPY_MODEL_97fd491a50ff40b4a206b32b57a6ee3e",
"value": " 443/443 [00:00&lt;00:00, 21.0kB/s]"
}
},
"20ee57abb81643fc80a1899421430531": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"10262830f9da404ba2c04a02192afb1c": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"0d895bdb538b4c40bc48632b359206d1": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"9b247c45cef040208428251b5076b0e4": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"c688413701e345ecadd51410602bf7b1": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"876b17ecd955452e9dff74dd5efbfbe0": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"97fd491a50ff40b4a206b32b57a6ee3e": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"5f84c17179c74539bbe049815eb8e2a8": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_cdef3f29afd44227970d0ef44803748b",
"IPY_MODEL_9bcaf282796149dbb9ba80622fdf544a",
"IPY_MODEL_aefb3f0805ce407688c7393c92339d3b"
],
"layout": "IPY_MODEL_6bc4dce09d00404d8fd365bdcecd7e1e"
}
},
"cdef3f29afd44227970d0ef44803748b": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_95ef27e5442f4d61bf740b372078ed83",
"placeholder": "​",
"style": "IPY_MODEL_df69e67845684deabe0c6d26b8079e88",
"value": "sentencepiece.bpe.model: 100%"
}
},
"9bcaf282796149dbb9ba80622fdf544a": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_8f07965560144e1dbe23c09f9627c0c7",
"max": 5069051,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_b72dcc3a6eb840f3af20536eafb253b2",
"value": 5069051
}
},
"aefb3f0805ce407688c7393c92339d3b": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_d68f53ae9f744cb68dd654a942edbc7b",
"placeholder": "​",
"style": "IPY_MODEL_9aa011eeb8c340cb8ac259c955576b06",
"value": " 5.07M/5.07M [00:00&lt;00:00, 41.7MB/s]"
}
},
"6bc4dce09d00404d8fd365bdcecd7e1e": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"95ef27e5442f4d61bf740b372078ed83": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"df69e67845684deabe0c6d26b8079e88": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"8f07965560144e1dbe23c09f9627c0c7": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"b72dcc3a6eb840f3af20536eafb253b2": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"d68f53ae9f744cb68dd654a942edbc7b": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"9aa011eeb8c340cb8ac259c955576b06": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"24c04facccbd45a4b428a0773afe86c1": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_13d55145828c42198c285e9cb45d41cf",
"IPY_MODEL_e255e37b6e184884a0b612b1f5862156",
"IPY_MODEL_331b46a664fb4ec08d816a48d892cd9b"
],
"layout": "IPY_MODEL_ce6dede5504f42e18befddd4862aa696"
}
},
"13d55145828c42198c285e9cb45d41cf": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_a6ef7959e9c54cf5a1e230071552ef55",
"placeholder": "​",
"style": "IPY_MODEL_ff9119b46c5a494cb329dd841eec4917",
"value": "special_tokens_map.json: 100%"
}
},
"e255e37b6e184884a0b612b1f5862156": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_69918e2184e34a4fb8c566aa84aa6e5e",
"max": 167,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_4db161a3cf7347419665a92860b8ac04",
"value": 167
}
},
"331b46a664fb4ec08d816a48d892cd9b": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_18ae6ff8e2904c6980ab58ad2e913cde",
"placeholder": "​",
"style": "IPY_MODEL_f70ac0dc353b4cd593e7214c46e6420e",
"value": " 167/167 [00:00&lt;00:00, 7.35kB/s]"
}
},
"ce6dede5504f42e18befddd4862aa696": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"a6ef7959e9c54cf5a1e230071552ef55": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"ff9119b46c5a494cb329dd841eec4917": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"69918e2184e34a4fb8c566aa84aa6e5e": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"4db161a3cf7347419665a92860b8ac04": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"18ae6ff8e2904c6980ab58ad2e913cde": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"f70ac0dc353b4cd593e7214c46e6420e": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"61a81d46139d48dab05d589fa38690f6": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_0e59638a925a44939f306498dc6d8347",
"IPY_MODEL_806d12cf87624088a556edb6b3181495",
"IPY_MODEL_2c1b9a5514384895bcf1106daf0eb484"
],
"layout": "IPY_MODEL_6b095b46c2ca4f238f9a2bc26b831d27"
}
},
"0e59638a925a44939f306498dc6d8347": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_e38ca440d2914c0e8074f0ae0f717ac6",
"placeholder": "​",
"style": "IPY_MODEL_e8bb7a3131ba45faaf0042394b2ae7ce",
"value": "tokenizer.json: 100%"
}
},
"806d12cf87624088a556edb6b3181495": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_81a63eddbef94adcbd9edfc3a0ff2795",
"max": 17082730,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_24bb3d4d437447b9943b5177ad65e67f",
"value": 17082730
}
},
"2c1b9a5514384895bcf1106daf0eb484": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_5f82214c4f86460ba3c20df4dc3aad94",
"placeholder": "​",
"style": "IPY_MODEL_32e65e37e2d3499aac958f4f74a3c2e7",
"value": " 17.1M/17.1M [00:00&lt;00:00, 155MB/s]"
}
},
"6b095b46c2ca4f238f9a2bc26b831d27": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"e38ca440d2914c0e8074f0ae0f717ac6": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"e8bb7a3131ba45faaf0042394b2ae7ce": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"81a63eddbef94adcbd9edfc3a0ff2795": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"24bb3d4d437447b9943b5177ad65e67f": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"5f82214c4f86460ba3c20df4dc3aad94": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"32e65e37e2d3499aac958f4f74a3c2e7": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"250befcededc4c83908bd7f6ef058066": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_f929ba84aa1c4b95861a1b08ea02b6dd",
"IPY_MODEL_75046b4763624dd9ad5994af094ddf64",
"IPY_MODEL_26462914bf6044c59dc990a6080889db"
],
"layout": "IPY_MODEL_af978c2a9922425a9daaacb4d18d8b75"
}
},
"f929ba84aa1c4b95861a1b08ea02b6dd": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_ce3fd4a6c80f4b6c9b9f4482373645cf",
"placeholder": "​",
"style": "IPY_MODEL_d456033ea49747b493d90df390c5fe4c",
"value": "config.json: 100%"
}
},
"75046b4763624dd9ad5994af094ddf64": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_4b94aca698f34e62bb92663a977ed8b1",
"max": 655,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_0eaeaac2f2da4dee909b0c771bf9244d",
"value": 655
}
},
"26462914bf6044c59dc990a6080889db": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_c59b94bcbdfd4c5da880b18543d7132d",
"placeholder": "​",
"style": "IPY_MODEL_3d998bee4beb49aab590f4c4b461b9df",
"value": " 655/655 [00:00&lt;00:00, 45.6kB/s]"
}
},
"af978c2a9922425a9daaacb4d18d8b75": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"ce3fd4a6c80f4b6c9b9f4482373645cf": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"d456033ea49747b493d90df390c5fe4c": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"4b94aca698f34e62bb92663a977ed8b1": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"0eaeaac2f2da4dee909b0c771bf9244d": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"c59b94bcbdfd4c5da880b18543d7132d": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"3d998bee4beb49aab590f4c4b461b9df": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"1605376349e74dfd83198d0066864dc4": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_7ad375c23ace4080bb245b5a7315b281",
"IPY_MODEL_e9531c807d5045998e5b4d818d6e63e2",
"IPY_MODEL_c8f89ad50690456aa682a5cbabcd2d41"
],
"layout": "IPY_MODEL_89ea401c65e5437b922df59999e796bd"
}
},
"7ad375c23ace4080bb245b5a7315b281": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_3de3cbd6f1864669b5df325c251892ee",
"placeholder": "​",
"style": "IPY_MODEL_1fcfa0a34f534a2fa36187049c29b417",
"value": "model.safetensors: 100%"
}
},
"e9531c807d5045998e5b4d818d6e63e2": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_778cee7027b04717ac3d6f57904f8c96",
"max": 470641600,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_31e89d659311454b950061acbf0a569c",
"value": 470641600
}
},
"c8f89ad50690456aa682a5cbabcd2d41": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_655fd46c9b8b48aa8fb99c7287de7e94",
"placeholder": "​",
"style": "IPY_MODEL_262db7e8aa0f4341b2a167fb4f2b824d",
"value": " 471M/471M [00:04&lt;00:00, 76.2MB/s]"
}
},
"89ea401c65e5437b922df59999e796bd": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"3de3cbd6f1864669b5df325c251892ee": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"1fcfa0a34f534a2fa36187049c29b417": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"778cee7027b04717ac3d6f57904f8c96": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"31e89d659311454b950061acbf0a569c": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"655fd46c9b8b48aa8fb99c7287de7e94": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"262db7e8aa0f4341b2a167fb4f2b824d": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"74ab8c653ce94591aebc2b0dd23e79c4": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_9f640770ee5e470da8687480c3ced51a",
"IPY_MODEL_cecf659781d34a5a9b0e1a80e7fa1df2",
"IPY_MODEL_3da9fc5d220a4f108c2643acd5506723"
],
"layout": "IPY_MODEL_164ce979ccb54affb1e5d434edbc622f"
}
},
"9f640770ee5e470da8687480c3ced51a": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_3e878dc13fa74a45ba16fa70150ec172",
"placeholder": "​",
"style": "IPY_MODEL_e92edacda7624e67a7819f0a45869ab9",
"value": ".gitattributes: 100%"
}
},
"cecf659781d34a5a9b0e1a80e7fa1df2": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_bf8c76875ad643a7a5f508cd00fcebf2",
"max": 1570,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_bbf3401868fd48feb89c91af7efff396",
"value": 1570
}
},
"3da9fc5d220a4f108c2643acd5506723": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_56c12bb4384f4db4b258f7ddacc045d2",
"placeholder": "​",
"style": "IPY_MODEL_ea30605a266b483fab91cf300e99980e",
"value": " 1.57k/1.57k [00:00&lt;00:00, 39.0kB/s]"
}
},
"164ce979ccb54affb1e5d434edbc622f": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"3e878dc13fa74a45ba16fa70150ec172": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"e92edacda7624e67a7819f0a45869ab9": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"bf8c76875ad643a7a5f508cd00fcebf2": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"bbf3401868fd48feb89c91af7efff396": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"56c12bb4384f4db4b258f7ddacc045d2": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"ea30605a266b483fab91cf300e99980e": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"876276fe9815491ea28e5768545131c6": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_33f1ee5dcf814818ac433021144db9a5",
"IPY_MODEL_67aa27350e8b4fa0ad50b4c4e8ed26e0",
"IPY_MODEL_4c94360a34144e65889502c10cd7cf65"
],
"layout": "IPY_MODEL_301506bbef344c5388d6d7402740f01d"
}
},
"33f1ee5dcf814818ac433021144db9a5": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_7d7e6f3b101d471d87392191ea5039b9",
"placeholder": "​",
"style": "IPY_MODEL_82bd65a3bb064e99a5f30a917e152369",
"value": "1_Pooling/config.json: 100%"
}
},
"67aa27350e8b4fa0ad50b4c4e8ed26e0": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_84ba639abbc84e498fe3ab7f6010ad60",
"max": 200,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_f899075513084e4cb7e695993c33c631",
"value": 200
}
},
"4c94360a34144e65889502c10cd7cf65": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_f9098fcfaf724b2aabaee654c31bbf54",
"placeholder": "​",
"style": "IPY_MODEL_c843eeee6490496b8b394a64b4404b7f",
"value": " 200/200 [00:00&lt;00:00, 2.42kB/s]"
}
},
"301506bbef344c5388d6d7402740f01d": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"7d7e6f3b101d471d87392191ea5039b9": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"82bd65a3bb064e99a5f30a917e152369": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"84ba639abbc84e498fe3ab7f6010ad60": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"f899075513084e4cb7e695993c33c631": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"f9098fcfaf724b2aabaee654c31bbf54": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"c843eeee6490496b8b394a64b4404b7f": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"2fccd0c07f474dd0babdced89813480d": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_0452db1281a94a0f8221b32f02796f55",
"IPY_MODEL_bfcf44c13c564e80a47aa7907347a66a",
"IPY_MODEL_2a2e0da969b244869e9348b1955a72f6"
],
"layout": "IPY_MODEL_cc143a75a46a4fa7a103b498b526d549"
}
},
"0452db1281a94a0f8221b32f02796f55": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_c16d8561e9f04b5cbb2bc32c7dd3cd9e",
"placeholder": "​",
"style": "IPY_MODEL_5cd46794b06d4ed7b9331b04dd725617",
"value": "README.md: 100%"
}
},
"bfcf44c13c564e80a47aa7907347a66a": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_ee103e114b6947b69c7b76a3347c51cb",
"max": 160377,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_6a7b54c8f900435e9a511df83f7448e5",
"value": 160377
}
},
"2a2e0da969b244869e9348b1955a72f6": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_e6ef896781634c1887773de0cfd8a65d",
"placeholder": "​",
"style": "IPY_MODEL_c21156647a8c485081bffe70c95507cd",
"value": " 160k/160k [00:00&lt;00:00, 1.89MB/s]"
}
},
"cc143a75a46a4fa7a103b498b526d549": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"c16d8561e9f04b5cbb2bc32c7dd3cd9e": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"5cd46794b06d4ed7b9331b04dd725617": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"ee103e114b6947b69c7b76a3347c51cb": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"6a7b54c8f900435e9a511df83f7448e5": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"e6ef896781634c1887773de0cfd8a65d": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"c21156647a8c485081bffe70c95507cd": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"87e0a04bb6e34427a074574464d00b2e": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_0628e14fc711440a9af21d8cccbff42c",
"IPY_MODEL_dd1429cc31644f079c383b585635174b",
"IPY_MODEL_96312c7aa1b743a69a08505905bd970d"
],
"layout": "IPY_MODEL_92355f811b154320b86e3708bfe89d00"
}
},
"0628e14fc711440a9af21d8cccbff42c": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_0a71378bcc744a4d96604cb695e24eda",
"placeholder": "​",
"style": "IPY_MODEL_f29e0a46a4e84150bbb2856318d0fff0",
"value": "config.json: 100%"
}
},
"dd1429cc31644f079c383b585635174b": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_d887e30b882941c887ac2a0f3d1be976",
"max": 655,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_fba13baf82b54718a7f95fb45fc0c209",
"value": 655
}
},
"96312c7aa1b743a69a08505905bd970d": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_9eade7dabf3b48b29ddb8c0e1c846cea",
"placeholder": "​",
"style": "IPY_MODEL_b2d9a825ca2a4bd28cbbbec530f2c73b",
"value": " 655/655 [00:00&lt;00:00, 8.91kB/s]"
}
},
"92355f811b154320b86e3708bfe89d00": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"0a71378bcc744a4d96604cb695e24eda": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"f29e0a46a4e84150bbb2856318d0fff0": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"d887e30b882941c887ac2a0f3d1be976": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"fba13baf82b54718a7f95fb45fc0c209": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"9eade7dabf3b48b29ddb8c0e1c846cea": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"b2d9a825ca2a4bd28cbbbec530f2c73b": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"9caa06296ad845419fe67dce3c100f6e": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_51c0284e2ef147bbac89836b1456f859",
"IPY_MODEL_568737f2168b406891d421c4ca0b2c81",
"IPY_MODEL_9321796c9f6a43de845db989c03d0e0c"
],
"layout": "IPY_MODEL_6d6197d1585b4d29a2f6b4beff7ea9b9"
}
},
"51c0284e2ef147bbac89836b1456f859": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_a730424b90164e219ddc68e0c51b6288",
"placeholder": "​",
"style": "IPY_MODEL_99c5da397c1743dc9098b1c996dab7ac",
"value": "model.safetensors: 100%"
}
},
"568737f2168b406891d421c4ca0b2c81": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_fcc9cd759db74afb9882a4f5121de4a3",
"max": 470641600,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_218e8558aaa1448da6718790b16f02ff",
"value": 470641600
}
},
"9321796c9f6a43de845db989c03d0e0c": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_e5ab68be89dd459e918012ebf91a940c",
"placeholder": "​",
"style": "IPY_MODEL_6603955ea4c6409e89a78f92b3d4f75c",
"value": " 471M/471M [00:04&lt;00:00, 122MB/s]"
}
},
"6d6197d1585b4d29a2f6b4beff7ea9b9": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"a730424b90164e219ddc68e0c51b6288": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"99c5da397c1743dc9098b1c996dab7ac": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"fcc9cd759db74afb9882a4f5121de4a3": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"218e8558aaa1448da6718790b16f02ff": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"e5ab68be89dd459e918012ebf91a940c": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"6603955ea4c6409e89a78f92b3d4f75c": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"80f98ba7e19b45ae93fd7dabf2f40a6f": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_c6d57e93ec7f4850b4024a6d54ff86fa",
"IPY_MODEL_8d975fb0f26146839783873ba9d91583",
"IPY_MODEL_e52d4683e4b84dbdb6ebb2ba2ba104d9"
],
"layout": "IPY_MODEL_0d09f25679ab4b9f8105eb364a734724"
}
},
"c6d57e93ec7f4850b4024a6d54ff86fa": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_c7faaaeb9e6443249b51e648fcbf0e4e",
"placeholder": "​",
"style": "IPY_MODEL_9a4eacba48914b27b9d8e43069e8aba9",
"value": "onnx/config.json: 100%"
}
},
"8d975fb0f26146839783873ba9d91583": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_f8aa993233e0486b9951e901c6320fe2",
"max": 653,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_f535161d69894cefbf09c9bd9394d816",
"value": 653
}
},
"e52d4683e4b84dbdb6ebb2ba2ba104d9": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_a036d16408fb4bafb1bcb62a33672ddc",
"placeholder": "​",
"style": "IPY_MODEL_df8338b1062d4a778eaaa48b715a1d03",
"value": " 653/653 [00:00&lt;00:00, 9.72kB/s]"
}
},
"0d09f25679ab4b9f8105eb364a734724": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"c7faaaeb9e6443249b51e648fcbf0e4e": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"9a4eacba48914b27b9d8e43069e8aba9": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"f8aa993233e0486b9951e901c6320fe2": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"f535161d69894cefbf09c9bd9394d816": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"a036d16408fb4bafb1bcb62a33672ddc": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"df8338b1062d4a778eaaa48b715a1d03": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"bea8df4eae0b4eb7a2b86baced7e86e1": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_242f167afff44b3a9430ce7612ec8b9f",
"IPY_MODEL_5566421881cc44f887b5487e1d8a5ac1",
"IPY_MODEL_7132da2cfd284b1b97d8a798c31115b5"
],
"layout": "IPY_MODEL_fedaa3a8cd6e4dc0b03cddbdad5d6f64"
}
},
"242f167afff44b3a9430ce7612ec8b9f": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_4b85095ae81f4ceeb7c92f4f8c6bcb60",
"placeholder": "​",
"style": "IPY_MODEL_139630de35d5433882b560c8c89b8de4",
"value": "model.onnx: 100%"
}
},
"5566421881cc44f887b5487e1d8a5ac1": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_4286736d4d5b454cbc7db3c41be1a4d8",
"max": 470268510,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_8856c540d0e94723a8283685e388a130",
"value": 470268510
}
},
"7132da2cfd284b1b97d8a798c31115b5": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_50b3348e24eb4a478d67eaf4810e4d2c",
"placeholder": "​",
"style": "IPY_MODEL_fd1464ec69c0482990d4432b0748ef5d",
"value": " 470M/470M [00:06&lt;00:00, 104MB/s]"
}
},
"fedaa3a8cd6e4dc0b03cddbdad5d6f64": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"4b85095ae81f4ceeb7c92f4f8c6bcb60": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"139630de35d5433882b560c8c89b8de4": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"4286736d4d5b454cbc7db3c41be1a4d8": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"8856c540d0e94723a8283685e388a130": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"50b3348e24eb4a478d67eaf4810e4d2c": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"fd1464ec69c0482990d4432b0748ef5d": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"3f434e8ca60d416fa54824bc718bd4dd": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_f3a949e4dafd45449a908cf01a591708",
"IPY_MODEL_3627eba5b89342c295d53b20116d74c3",
"IPY_MODEL_f5338b448ac043f09c6a64e978b4d0b3"
],
"layout": "IPY_MODEL_72011e6a79484320a666a3ca5d2b710d"
}
},
"f3a949e4dafd45449a908cf01a591708": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_9c938bd774d64f2e928693c4b86916ca",
"placeholder": "​",
"style": "IPY_MODEL_9234ca962bec4c73ae35a8e7acb280ce",
"value": "sentencepiece.bpe.model: 100%"
}
},
"3627eba5b89342c295d53b20116d74c3": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_6affc9a088d742d086a30bb8e040ab27",
"max": 5069051,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_76a25918791b45ebbc1449ce95bf67cd",
"value": 5069051
}
},
"f5338b448ac043f09c6a64e978b4d0b3": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_716852e64889448ba026f52d52d7ad92",
"placeholder": "​",
"style": "IPY_MODEL_3fa3468886634f7aaf98abb2b4716a2e",
"value": " 5.07M/5.07M [00:00&lt;00:00, 70.1MB/s]"
}
},
"72011e6a79484320a666a3ca5d2b710d": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"9c938bd774d64f2e928693c4b86916ca": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"9234ca962bec4c73ae35a8e7acb280ce": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"6affc9a088d742d086a30bb8e040ab27": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"76a25918791b45ebbc1449ce95bf67cd": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"716852e64889448ba026f52d52d7ad92": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"3fa3468886634f7aaf98abb2b4716a2e": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"cae87c4e3e5c4a7da62b1ca46282eac9": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_3a10fddf4a574c5dbcc2e2c3935d01a1",
"IPY_MODEL_e75bec133c3c410e95acc55cb235f686",
"IPY_MODEL_e03838a418724be9a1abe531ff5062fc"
],
"layout": "IPY_MODEL_a0dd1c67d320441994cee6ebd488a8ff"
}
},
"3a10fddf4a574c5dbcc2e2c3935d01a1": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_f1ab52c42f384c29b10f09ec8533cfef",
"placeholder": "​",
"style": "IPY_MODEL_e10f3632bbb34eada59cee3c156843c0",
"value": "onnx/special_tokens_map.json: 100%"
}
},
"e75bec133c3c410e95acc55cb235f686": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_f94efaf111324f2cb5dd98dfba92d7f9",
"max": 167,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_80cde445269342dd92dcdd3c27f13f6d",
"value": 167
}
},
"e03838a418724be9a1abe531ff5062fc": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_647da4016b8b4be28af12a514ff2df64",
"placeholder": "​",
"style": "IPY_MODEL_4a4700ab7dd64a049aeaaf4dcdacfb5f",
"value": " 167/167 [00:00&lt;00:00, 4.00kB/s]"
}
},
"a0dd1c67d320441994cee6ebd488a8ff": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"f1ab52c42f384c29b10f09ec8533cfef": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"e10f3632bbb34eada59cee3c156843c0": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"f94efaf111324f2cb5dd98dfba92d7f9": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"80cde445269342dd92dcdd3c27f13f6d": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"647da4016b8b4be28af12a514ff2df64": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"4a4700ab7dd64a049aeaaf4dcdacfb5f": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"1043a80571914316a5dce4cc0451b57c": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_1bf933cf696a42f3b7b39f42962a061f",
"IPY_MODEL_dc634afe552e41629e9a38a424cc0a80",
"IPY_MODEL_b7dc58758b384283bd95c32d837f56fb"
],
"layout": "IPY_MODEL_ccb18fc4abb049bfb4f4ea27b114ffd4"
}
},
"1bf933cf696a42f3b7b39f42962a061f": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_64fb84457ef548b6a5b208675e8dea93",
"placeholder": "​",
"style": "IPY_MODEL_348710959f5e4831b5a467ad49098605",
"value": "tokenizer.json: 100%"
}
},
"dc634afe552e41629e9a38a424cc0a80": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_bca12d398adc4fa7842c2db28932f2a4",
"max": 17082730,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_d935a922e37948e982c928d185994749",
"value": 17082730
}
},
"b7dc58758b384283bd95c32d837f56fb": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_2e619c43326241a7a322983ccfd14055",
"placeholder": "​",
"style": "IPY_MODEL_ed05036bc2fa4fd0aa0a5a38ee73480d",
"value": " 17.1M/17.1M [00:00&lt;00:00, 98.0MB/s]"
}
},
"ccb18fc4abb049bfb4f4ea27b114ffd4": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"64fb84457ef548b6a5b208675e8dea93": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"348710959f5e4831b5a467ad49098605": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"bca12d398adc4fa7842c2db28932f2a4": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"d935a922e37948e982c928d185994749": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"2e619c43326241a7a322983ccfd14055": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"ed05036bc2fa4fd0aa0a5a38ee73480d": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"3bdfe6c1c2914107a18e90866c2ef628": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_796ed4ce049247c586a92820a11e26f0",
"IPY_MODEL_310f4c94a53141cb9ab110e470f39cbd",
"IPY_MODEL_67179f6bfca2497389b82a10c7f87757"
],
"layout": "IPY_MODEL_c00ddad7f8e24d0fbd62b44766e82749"
}
},
"796ed4ce049247c586a92820a11e26f0": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_0fcf47e7d9e247689b98b29ce5ea8c62",
"placeholder": "​",
"style": "IPY_MODEL_0684d1bbd8754a3f801b6d8202ab452a",
"value": "onnx/tokenizer_config.json: 100%"
}
},
"310f4c94a53141cb9ab110e470f39cbd": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_3c211e12b89d42738dd0a91bc62b217a",
"max": 443,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_b4b7cfddca934054bed78b1390349a7d",
"value": 443
}
},
"67179f6bfca2497389b82a10c7f87757": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_af95ddb40c934afda6559019d10e4c33",
"placeholder": "​",
"style": "IPY_MODEL_557e3c800bf747a6ac7f6aea89c5b25c",
"value": " 443/443 [00:00&lt;00:00, 14.1kB/s]"
}
},
"c00ddad7f8e24d0fbd62b44766e82749": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"0fcf47e7d9e247689b98b29ce5ea8c62": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"0684d1bbd8754a3f801b6d8202ab452a": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"3c211e12b89d42738dd0a91bc62b217a": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"b4b7cfddca934054bed78b1390349a7d": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"af95ddb40c934afda6559019d10e4c33": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"557e3c800bf747a6ac7f6aea89c5b25c": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"e746413a5b754dfd92ac8a5e557df685": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_a523cddd683b4b6d929bb64fa98e1aa1",
"IPY_MODEL_62f294105a764d428d353b871990aedb",
"IPY_MODEL_012374f990ba4cd1b5c801c0d0b96856"
],
"layout": "IPY_MODEL_16cf0c29a40b4050a6731395398df7b5"
}
},
"a523cddd683b4b6d929bb64fa98e1aa1": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_a7e889879fbd4c2fa6a8687f37dae6f6",
"placeholder": "​",
"style": "IPY_MODEL_0983c9e453fd4b699d4ffec7f04026a8",
"value": "pytorch_model.bin: 100%"
}
},
"62f294105a764d428d353b871990aedb": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_b73451d4682742bba071695e15f741d4",
"max": 470681649,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_3fca808c9b3c4629b85adbe3e05863f4",
"value": 470681649
}
},
"012374f990ba4cd1b5c801c0d0b96856": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_3f041564b6084bed95400f0520102084",
"placeholder": "​",
"style": "IPY_MODEL_5467dc57b11b4bdea30ebc25132fadb0",
"value": " 471M/471M [00:05&lt;00:00, 36.9MB/s]"
}
},
"16cf0c29a40b4050a6731395398df7b5": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"a7e889879fbd4c2fa6a8687f37dae6f6": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"0983c9e453fd4b699d4ffec7f04026a8": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"b73451d4682742bba071695e15f741d4": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"3fca808c9b3c4629b85adbe3e05863f4": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"3f041564b6084bed95400f0520102084": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"5467dc57b11b4bdea30ebc25132fadb0": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"0bb35c5d95b3412cb9f4df8f8e7816f5": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_c16e5a5e8566435ea47894deb3d357ef",
"IPY_MODEL_a075cf216a074a76ae739e24604a421a",
"IPY_MODEL_1f52ecaa2523424f951313b01a5f43e3"
],
"layout": "IPY_MODEL_9f80b1b91b6a4728aeddc12ac1fed808"
}
},
"c16e5a5e8566435ea47894deb3d357ef": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_2d612ea5eafd4c3fa6268ca82abe624e",
"placeholder": "​",
"style": "IPY_MODEL_54df0199d59c49eabf26207a2d4cfbcb",
"value": "sentence_bert_config.json: 100%"
}
},
"a075cf216a074a76ae739e24604a421a": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_545ceb0ff1744bd9b3345f03e313a3b5",
"max": 57,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_d5c627eaab20471a8bfd9fab5042b6cf",
"value": 57
}
},
"1f52ecaa2523424f951313b01a5f43e3": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_13b9122d124b4fa084d53243c474a358",
"placeholder": "​",
"style": "IPY_MODEL_d15ef429325040bc88b8e0e0babdb174",
"value": " 57.0/57.0 [00:00&lt;00:00, 2.30kB/s]"
}
},
"9f80b1b91b6a4728aeddc12ac1fed808": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"2d612ea5eafd4c3fa6268ca82abe624e": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"54df0199d59c49eabf26207a2d4cfbcb": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"545ceb0ff1744bd9b3345f03e313a3b5": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"d5c627eaab20471a8bfd9fab5042b6cf": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"13b9122d124b4fa084d53243c474a358": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"d15ef429325040bc88b8e0e0babdb174": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"969f44634cdf4e9ea4449a5225a1275f": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_dd11edf52795443a811007abc9dd7509",
"IPY_MODEL_ad8a0eed61b34b1399e6fea50f7dd4d6",
"IPY_MODEL_2ff6e526ee4d4e9e8efebe42d67c1695"
],
"layout": "IPY_MODEL_f0cf14ebdf524496988fbfaa9be1dc7b"
}
},
"dd11edf52795443a811007abc9dd7509": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_2701447d31d945d2abfea31b6473c773",
"placeholder": "​",
"style": "IPY_MODEL_2dd9d541cab947e3b6693cd5344e7a2f",
"value": "sentencepiece.bpe.model: 100%"
}
},
"ad8a0eed61b34b1399e6fea50f7dd4d6": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_209f5daebb544e2aa88621f0b417acaf",
"max": 5069051,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_9fb243d5c00a4f9f9d9e37898e20db46",
"value": 5069051
}
},
"2ff6e526ee4d4e9e8efebe42d67c1695": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_d75c2bd1a92c4f1c9b30172c6b614bca",
"placeholder": "​",
"style": "IPY_MODEL_95ce5a2f2ccd4df6b1ca28bb28ba460c",
"value": " 5.07M/5.07M [00:00&lt;00:00, 88.4MB/s]"
}
},
"f0cf14ebdf524496988fbfaa9be1dc7b": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"2701447d31d945d2abfea31b6473c773": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"2dd9d541cab947e3b6693cd5344e7a2f": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"209f5daebb544e2aa88621f0b417acaf": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"9fb243d5c00a4f9f9d9e37898e20db46": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"d75c2bd1a92c4f1c9b30172c6b614bca": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"95ce5a2f2ccd4df6b1ca28bb28ba460c": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"fa81bc35cefc4f79a3ea0dd68db4f910": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_0a815d6ef96a43ba8779effc24de1000",
"IPY_MODEL_e452d51f348f497e9937703e4da75e82",
"IPY_MODEL_bd44fe088373439283318caca52ef4a5"
],
"layout": "IPY_MODEL_02db5df99b294a0da6aee79331c49bc8"
}
},
"0a815d6ef96a43ba8779effc24de1000": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_495d3c55dd8f4694b54eddead61c8ea3",
"placeholder": "​",
"style": "IPY_MODEL_74398c93b6f44929a84096c490ae6e23",
"value": "special_tokens_map.json: 100%"
}
},
"e452d51f348f497e9937703e4da75e82": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_7efcc001a1c449f9b054aeeacdc0d715",
"max": 167,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_97b38029d3f3445397bf21082f07a727",
"value": 167
}
},
"bd44fe088373439283318caca52ef4a5": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_29d6fa6404a14e0393d22e8101a131a8",
"placeholder": "​",
"style": "IPY_MODEL_01b057c603084fe68a45a92581336156",
"value": " 167/167 [00:00&lt;00:00, 8.91kB/s]"
}
},
"02db5df99b294a0da6aee79331c49bc8": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"495d3c55dd8f4694b54eddead61c8ea3": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"74398c93b6f44929a84096c490ae6e23": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"7efcc001a1c449f9b054aeeacdc0d715": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"97b38029d3f3445397bf21082f07a727": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"29d6fa6404a14e0393d22e8101a131a8": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"01b057c603084fe68a45a92581336156": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"a4d4a0827362446cab437ed37e5499d3": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_f355377513db467da3a0d4d90426451c",
"IPY_MODEL_0a679b4b48b94cb78070af89580bff13",
"IPY_MODEL_8f4386b8836a4eb2a73cbd7af7abc5a6"
],
"layout": "IPY_MODEL_6156232690d8482aa806ee0edf78f66c"
}
},
"f355377513db467da3a0d4d90426451c": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_3ffffa0ee61d40c695b71c9802b0718a",
"placeholder": "​",
"style": "IPY_MODEL_ae90f900874e43edb105bb1c95bf675e",
"value": "tokenizer.json: 100%"
}
},
"0a679b4b48b94cb78070af89580bff13": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_86b318b2f1864b38ada54001a954c193",
"max": 17082730,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_70970931eff742d8b7dce9f928e9aa73",
"value": 17082730
}
},
"8f4386b8836a4eb2a73cbd7af7abc5a6": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_c23bd9eef7084bc985d510a77c249572",
"placeholder": "​",
"style": "IPY_MODEL_b5fbbde7e6cb446289359dd8fd6145f2",
"value": " 17.1M/17.1M [00:00&lt;00:00, 159MB/s]"
}
},
"6156232690d8482aa806ee0edf78f66c": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"3ffffa0ee61d40c695b71c9802b0718a": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"ae90f900874e43edb105bb1c95bf675e": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"86b318b2f1864b38ada54001a954c193": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"70970931eff742d8b7dce9f928e9aa73": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"c23bd9eef7084bc985d510a77c249572": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"b5fbbde7e6cb446289359dd8fd6145f2": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"eaca85d61178428598b512dbb6a4a04f": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_84067d217bc645739f599903977d1b00",
"IPY_MODEL_df095f31fafd4a7a829b6373a179cb7a",
"IPY_MODEL_2cb0a25e5fb14b22831b5c3a663419e4"
],
"layout": "IPY_MODEL_cc7f6fbc631143a38ea5afeba61729d3"
}
},
"84067d217bc645739f599903977d1b00": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_311dfb5fc3f64afcb76e0e0a4a053deb",
"placeholder": "​",
"style": "IPY_MODEL_acd38b2cdcb446378a5692fb7cd74965",
"value": "tokenizer_config.json: 100%"
}
},
"df095f31fafd4a7a829b6373a179cb7a": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_7afff963be82492180dd8ead8f9720a5",
"max": 443,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_27d92ef104ca4855849b3b38dd40e7cd",
"value": 443
}
},
"2cb0a25e5fb14b22831b5c3a663419e4": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_e78a084f2ffc4543994823d3b691c94e",
"placeholder": "​",
"style": "IPY_MODEL_dc2059a13dc745248860b9b71c8e290e",
"value": " 443/443 [00:00&lt;00:00, 21.4kB/s]"
}
},
"cc7f6fbc631143a38ea5afeba61729d3": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"311dfb5fc3f64afcb76e0e0a4a053deb": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"acd38b2cdcb446378a5692fb7cd74965": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"7afff963be82492180dd8ead8f9720a5": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"27d92ef104ca4855849b3b38dd40e7cd": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"e78a084f2ffc4543994823d3b691c94e": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"dc2059a13dc745248860b9b71c8e290e": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"cbf05482130748bc869fae970908de0b": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_4a51cf64668c44d5abcc1f1803c3aa0a",
"IPY_MODEL_ea00f2460a994da8bdef10a14b70668f",
"IPY_MODEL_efebe539cb4a44c5a2fddb0175402cc5"
],
"layout": "IPY_MODEL_9c050a09a64f4a989cd784fd865fca70"
}
},
"4a51cf64668c44d5abcc1f1803c3aa0a": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_e0782bd3d7574554ba1b959fc39ad79f",
"placeholder": "​",
"style": "IPY_MODEL_9464023dda9143638058c643cc62d5d4",
"value": "modules.json: 100%"
}
},
"ea00f2460a994da8bdef10a14b70668f": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "success",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_37da1ef70f204b3a9ac83718ded54465",
"max": 387,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_86fde9b98a8c40e5bfd143e54b816c30",
"value": 387
}
},
"efebe539cb4a44c5a2fddb0175402cc5": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_e30e44827425409a8abcae3e7195ac78",
"placeholder": "​",
"style": "IPY_MODEL_ab375097bbfa4b29b9a6da74f78c935e",
"value": " 387/387 [00:00&lt;00:00, 21.9kB/s]"
}
},
"9c050a09a64f4a989cd784fd865fca70": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"e0782bd3d7574554ba1b959fc39ad79f": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"9464023dda9143638058c643cc62d5d4": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"37da1ef70f204b3a9ac83718ded54465": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"86fde9b98a8c40e5bfd143e54b816c30": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"e30e44827425409a8abcae3e7195ac78": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"ab375097bbfa4b29b9a6da74f78c935e": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
}
}
}
},
"nbformat": 4,
"nbformat_minor": 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment