{ "cells": [ { "cell_type": "markdown", "metadata": { "id": "tpRjj9c9iqU_" }, "source": [ "RAG Chatbot Evaluation Testing." ] }, { "cell_type": "code", "execution_count": null, "metadata": { "id": "4-EBacOIinOT" }, "outputs": [], "source": [ "!pip install langchain\n", "!pip install langchain-core\n", "!pip install langchain-community\n", "!pip install langchain-text-splitters==0.0.1\n", "!pip install dataset\n", "!pip install ragas\n", "!pip install replicate\n", "!pip install colab-xterm\n", "!pip install nest_asyncio\n", "!pip install supabase\n", "!pip install sentence-transformers==2.2.2\n", "!pip install docx2txt\n", "!pip install pypdf==4.2.0\n", "!pip install PyPDF2==3.0.1\n", "!pip install faiss-cpu==1.7.4" ] }, { "cell_type": "code", "source": [ "from supabase import create_client\n", "\n", "supabase = create_client()" ], "metadata": { "id": "FA5PZj-cTRWA" }, "execution_count": 2, "outputs": [] }, { "cell_type": "code", "source": [ "!mkdir data" ], "metadata": { "id": "Y0o9b_-kVu-p" }, "execution_count": 4, "outputs": [] }, { "cell_type": "code", "source": [ "from langchain.text_splitter import RecursiveCharacterTextSplitter\n", "from langchain_community.embeddings import HuggingFaceEmbeddings\n", "from langchain_community.vectorstores import FAISS\n", "import os\n", "\n", "def get_data():\n", " dir_path = \"./data/\"\n", " contents = os.listdir(dir_path)\n", " files_in_local = [f for f in contents if os.path.isfile(os.path.join(dir_path, f))]\n", " files = supabase.storage.from_(\"test-data\").list()\n", " file_in_storage = [file['name'] for file in files]\n", "\n", " file_to_delete = list(set(files_in_local) - set(file_in_storage))\n", " file_to_download = list(set(file_in_storage) - set(files_in_local))\n", "\n", " for file in file_to_delete:\n", " try:\n", " os.remove(dir_path+file)\n", " print(\"removed\", file)\n", " except:\n", " print(\"error removing file\")\n", " for file in file_to_download:\n", " with open('./data/'+file, 'wb+') as f:\n", " res = supabase.storage.from_('test-data').download(file)\n", " f.write(res)\n", "\n", "def load_docs():\n", " from langchain_community.document_loaders import PyPDFLoader, TextLoader, Docx2txtLoader\n", " documents = []\n", " for file in os.listdir(\"data\"):\n", " if file.endswith(\".pdf\"):\n", " pdf_path = \"./data/\" + file\n", " loader = PyPDFLoader(pdf_path)\n", " documents.extend(loader.load())\n", " elif file.endswith('.docx') or file.endswith('.doc'):\n", " doc_path = \"./data/\" + file\n", " loader = Docx2txtLoader(doc_path)\n", " documents.extend(loader.load())\n", " elif file.endswith('.txt'):\n", " text_path = \"./data/\" + file\n", " loader = TextLoader(text_path)\n", " documents.extend(loader.load())\n", " return documents\n", "\n", "def process_documents(docs):\n", " text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=200)\n", " text_chunks = text_splitter.split_documents(docs)\n", "\n", " return text_chunks\n", "\n", "#download data from supabase\n", "get_data()\n", "\n", "#load documents\n", "docs = load_docs()\n", "\n", "#process documents\n", "chunks = process_documents(docs)" ], "metadata": { "id": "LWKj0zhoS5td" }, "execution_count": 7, "outputs": [] }, { "cell_type": "code", "source": [ "dataset = [\n", " {\n", " 'question': 'Apa visi dari Program Studi Manajemen Informatika?',\n", " 'ground_truths': 'Visi Program Studi Manajemen Informatika adalah menjadi program studi pendidikan vokasional terbaik tingkat nasional di bidang Sistem Informasi, bermartabat, dan berwawasan internasional pada tahun 2025.',\n", " 'answer': 'Visi Program Studi Manajemen Informatika adalah sebagai berikut:\\n\\n\"Pada tahun 2025 menjadi program studi pendidikan vokasional terbaik tingkat nasional di bidang Sistem Informasi, bermartabat, dan berwawasan internasional.\"',\n", " 'contexts': ['Visi Program Studi Manajemen Informatika adalah sebagai berikut:\\n\\n\"Pada tahun 2025 menjadi program studi pendidikan vokasional terbaik tingkat nasional di bidang Sistem Informasi, bermartabat, dan berwawasan internasional.\"']\n", " },\n", " {\n", " 'question': 'Apa mata kuliah yang dipelajari pada semester 1 di Program Studi Teknik Komputer?',\n", " 'ground_truths': 'Mata Kuliah Semester 1 Program Studi Teknik Komputer meliputi Matematika Diskret, Jaringan Komputer Dasar, It Essential, Algoritma Pemrograman, Basis Data, Komunikasi Data, dan Elektronika Dasar.',\n", " 'answer': 'Mata Kuliah Semester 1 Program Studi Teknik Komputer:\\n\\n1. Matematika Diskret (CEN2101) dengan 2 SKS dan 2 jam teori\\n2. Jaringan Komputer Dasar (CEN3101) dengan 2 SKS dan 4 jam teori/praktik\\n3. It Essential (CEN3102) dengan 3 SKS dan 7 jam teori/praktik\\n4. Algoritma Pemrograman (CEN3103) dengan 5 SKS dan 9 jam teori/praktik\\n5. Basis Data (CEN3104) dengan 3 SKS dan 5 jam teori/praktik\\n6. Komunikasi Data (CEN3105) dengan 2 SKS dan 2 jam teori\\n7. Elektronika Dasar (CEN3106) dengan 2 SKS dan 4 jam teori/praktik',\n", " 'contexts': ['Mata Kuliah Semester 1 Program Studi Teknik Komputer: Matematika Diskret (CEN2101) dengan 2 SKS dan 2 jam teori, Jaringan Komputer Dasar (CEN3101) dengan 2 SKS dan 4 jam teori/praktik, It Essential (CEN3102) dengan 3 SKS dan 7 jam teori/praktik, Algoritma Pemrograman (CEN3103) dengan 5 SKS dan 9 jam teori/praktik, Basis Data (CEN3104) dengan 3 SKS dan 5 jam teori/praktik, Komunikasi Data (CEN3105) dengan 2 SKS dan 2 jam teori, serta Elektronika Dasar (CEN3106) dengan 2 SKS dan 4 jam teori/praktik.']\n", " },\n", " {\n", " 'question': 'Apa profil lulusan Program Studi D3 Manajemen Informatika?',\n", " 'ground_truths':'Profil lulusan Program Studi D3 Manajemen Informatika adalah Programmer, Web Developer, dan Mobile Application Developer.',\n", " 'answer': 'Profil lulusan Program Studi D3 Manajemen Informatika berdasarkan jenjang KKNI, rekomendasi APTIKOM, peta okupasi TIK Kominfo, serta survei kebutuhan industri adalah Programmer, Web Developer, dan Mobile Application Developer.',\n", " 'contexts': ['Profil lulusan Program Studi D3 Manajemen Informatika berdasarkan jenjang KKNI, rekomendasi APTIKOM, peta okupasi TIK Kominfo, serta survei kebutuhan industri adalah Programmer, Web Developer, dan Mobile Application Developer.']\n", " },\n", " {\n", " 'question': 'Apa hasil survei tracer study terhadap alumni Program Studi Manajemen Informatika?',\n", " 'ground_truths':'Hasil survei tracer study menunjukkan bahwa 47% dari 85 responden membutuhkan waktu kurang dari 6 bulan untuk mendapatkan pekerjaan dan 62% responden mendapatkan pekerjaan yang sesuai dengan program studi.',\n", " 'answer': 'Program Studi Manajemen Informatika telah melaksanakan tracer study terhadap alumni dan pengguna alumni untuk evaluasi kurikulum. Hasil survei 3 tahun terakhir menunjukkan bahwa 47% dari 85 responden membutuhkan waktu kurang dari 6 bulan untuk mendapatkan pekerjaan. Pada pertanyaan tentang kesesuaian bidang kerja dengan profil bidang studi sistem informasi, 62% responden Program Studi Manajemen Informatika mendapatkan pekerjaan yang sesuai dengan program studi.',\n", " 'contexts': ['Program Studi Manajemen Informatika telah melaksanakan tracer study terhadap alumni dan pengguna alumni untuk evaluasi kurikulum. Tracer study berupa survei ini bertujuan untuk mengetahui kesesuaian kurikulum dengan pekerjaan yang diperoleh di lapangan atau di perusahaan. Fokus utama adalah kesesuaian dengan visi misi Program Studi Manajemen Informatika, capaian pembelajaran kurikulum sistem informasi, kemampuan penguasaan, penerapan teori, serta etos kerja yang dipelajari selama studi.\\n\\nHasil survei 3 tahun terakhir menunjukkan bahwa 47% dari 85 responden membutuhkan waktu kurang dari 6 bulan untuk mendapatkan pekerjaan.\\n\\nPada pertanyaan tentang kesesuaian bidang kerja dengan profil bidang studi sistem informasi, 62% responden Program Studi Manajemen Informatika mendapatkan pekerjaan yang sesuai dengan program studi.']\n", " },\n", " {\n", " 'question': 'Bagaimana kemampuan lulusan Program Studi Manajemen Informatika dalam bersaing di pasar kerja internasional?',\n", " 'ground_truths':'80% alumni Program Studi Manajemen Informatika mendapatkan pekerjaan di perusahaan bertaraf multinasional, menunjukkan kemampuan bersaing secara internasional.',\n", " 'answer': 'Berdasarkan survei, dapat disimpulkan bahwa lulusan Program Studi Manajemen Informatika dapat bekerja di perusahaan kompetitif dengan posisi yang variatif. 80% alumni Program Studi Manajemen Informatika mendapatkan pekerjaan di perusahaan bertaraf multinasional, menunjukkan bahwa kurikulum mampu membekali lulusan untuk bersaing secara internasional.',\n", " 'contexts': ['Berdasarkan survei, dapat disimpulkan bahwa lulusan Program Studi Manajemen Informatika dapat bekerja di perusahaan kompetitif dengan posisi yang variatif. 80% alumni Program Studi Manajemen Informatika mendapatkan pekerjaan di perusahaan bertaraf multinasional, menunjukkan bahwa kurikulum mampu membekali lulusan untuk bersaing secara internasional.']\n", " },\n", " {\n", " 'question': 'Apa mata kuliah yang dipelajari pada semester 2 di Program Studi Teknik Komputer?',\n", " 'ground_truths':'Mata Kuliah Semester 2 Program Studi Teknik Komputer meliputi Matematika dan Statistika, Switching, Routing dan Wireless, Sistem Operasi, Web Dasar, Pemrograman Mobile, Pemrograman Berbasis Objek (PBO), Sistem Digital, dan Organisasi dan Arsitektur Komputer.',\n", " 'answer': 'Mata Kuliah Semester 2 Program Studi Teknik Komputer:\\n\\n1. Matematika dan Statistika (CEN2201) dengan 3 SKS dan 3 jam teori\\n2. Switching, Routing dan Wireless (CEN3201) dengan 3 SKS dan 5 jam teori/praktik\\n3. Sistem Operasi (CEN3202) dengan 3 SKS dan 5 jam teori/praktik\\n4. Web Dasar (CEN3203) dengan 3 SKS dan 7 jam teori/praktik\\n5. Pemrograman Mobile (CEN3204) dengan 2 SKS dan 4 jam teori/praktik\\n6. Pemrograman Berbasis Objek (PBO) (CEN3205) dengan 3 SKS dan 5 jam teori/praktik\\n7. Sistem Digital (CEN3206) dengan 2 SKS dan 4 jam teori/praktik\\n8. Organisasi dan Arsitektur Komputer (CEN3207) dengan 2 SKS dan 2 jam teori',\n", " 'contexts': ['Mata Kuliah Semester 2 Program Studi Teknik Komputer: Matematika dan Statistika (CEN2201) dengan 3 SKS dan 3 jam teori, Switching, Routing dan Wireless (CEN3201) dengan 3 SKS dan 5 jam teori/praktik, Sistem Operasi (CEN3202) dengan 3 SKS dan 5 jam teori/praktik, Web Dasar (CEN3203) dengan 3 SKS dan 7 jam teori/praktik, Pemrograman Mobile (CEN3204) dengan 2 SKS dan 4 jam teori/praktik, Pemrograman Berbasis Objek (PBO) (CEN3205) dengan 3 SKS dan 5 jam teori/praktik, Sistem Digital (CEN3206) dengan 2 SKS dan 4 jam teori/praktik, serta Organisasi dan Arsitektur Komputer (CEN3207) dengan 2 SKS dan 2 jam teori.']\n", " },\n", " {\n", " 'question': 'Apa visi dari Program Studi Teknik Komputer?',\n", " 'ground_truths':'Visi Program Studi Teknik Komputer adalah menjadi institusi pendidikan vokasional terbaik tingkat nasional di bidang Teknik Komputer Jaringan pada tahun 2025.',\n", " 'answer': 'Visi Program Studi Teknik Komputer adalah sebagai berikut:\\n\\n\"Pada tahun 2025, Program studi Teknik Komputer bertujuan menjadi institusi pendidikan vokasional terbaik tingkat nasional di bidang Teknik Komputer Jaringan, yang bermartabat dan berwawasan internasional.\"',\n", " 'contexts': ['Visi Program Studi Teknik Komputer adalah sebagai berikut:\\n\\n\"Pada tahun 2025, Program studi Teknik Komputer bertujuan menjadi institusi pendidikan vokasional terbaik tingkat nasional di bidang Teknik Komputer Jaringan, yang bermartabat dan berwawasan internasional.\"']\n", " },\n", " {\n", " 'question': 'Apa mata kuliah yang dipelajari pada semester 1 di Program Studi Teknologi Rekayasa Perangkat Lunak (TRPL)?',\n", " 'ground_truths':'Mata Kuliah Semester 1 Program Studi Teknologi Rekayasa Perangkat Lunak (TRPL) meliputi Pengantar Teknologi Komputer dan Informasi, Basis Data, Aljabar Linear, Algoritma dan Pemrograman, Agama, serta Sistem Informasi.',\n", " 'answer': 'Mata Kuliah Semester 1 Program Studi Teknologi Rekayasa Perangkat Lunak (TRPL):\\n\\n1. Pengantar Teknologi Komputer dan Informasi (RPL1101) dengan 4 SKS dan 8 jam teori/praktik\\n2. Basis Data (RPL2101) dengan 4 SKS dan 8 jam teori/praktik\\n3. Aljabar Linear (RPL2102) dengan 3 SKS dan 3 jam teori\\n4. Algoritma dan Pemrograman (RPL3101) dengan 5 SKS dan 9 jam teori/praktik\\n5. Agama (RPL3102) dengan 2 SKS dan 2 jam teori\\n6. Sistem Informasi (RPL3103) dengan 2 SKS dan 2 jam teori',\n", " 'contexts': ['Mata Kuliah Program Studi Teknologi Rekayasa Perangkat Lunak (TRPL) Semester 1 adalah sebagai berikut : Pada semester pertama, mahasiswa akan mempelajari mata kuliah Pengantar Teknologi Komputer dan Informasi (RPL1101) dengan 4 SKS dan 8 jam teori/praktik, Basis Data (RPL2101) dengan 4 SKS dan 8 jam teori/praktik, Aljabar Linear (RPL2102) dengan 3 SKS dan 3 jam teori, Algoritma dan Pemrograman (RPL3101) dengan 5 SKS dan 9 jam teori/praktik, Agama (RPL3102) dengan 2 SKS dan 2 jam teori, serta Sistem Informasi (RPL3103) dengan 2 SKS dan 2 jam teori.']\n", " },\n", " {\n", " 'question': 'Apa mata kuliah yang dipelajari pada semester 2 di Program Studi Teknologi Rekayasa Perangkat Lunak (TRPL)?',\n", " 'ground_truths':'Mata Kuliah Semester 2 Program Studi Teknologi Rekayasa Perangkat Lunak (TRPL) meliputi Sistem Operasi, Matematika Diskrit, Struktur Data, Komunikasi Data dan Jaringan, Sistem Basis Data, Pemrograman Berorientasi Objek, dan Pengantar Rekayasa Perangkat Lunak.',\n", " 'answer': 'Mata Kuliah Semester 2 Program Studi Teknologi Rekayasa Perangkat Lunak (TRPL):\\n\\n1. Sistem Operasi (RPL2201) dengan 3 SKS dan 5 jam teori/praktik\\n2. Matematika Diskrit (RPL2202) dengan 3 SKS dan 3 jam teori\\n3. Struktur Data (RPL3201) dengan 2 SKS dan 4 jam teori/praktik\\n4. Komunikasi Data dan Jaringan (RPL3202) dengan 3 SKS dan 5 jam teori/praktik\\n5. Sistem Basis Data (RPL3203) dengan 3 SKS dan 5 jam teori/praktik\\n6. Pemrograman Berorientasi Objek (RPL3204) dengan 4 SKS dan 8 jam teori/praktik\\n7. Pengantar Rekayasa Perangkat Lunak (RPL3205) dengan 2 SKS dan 2 jam teori',\n", " 'contexts': ['Mata Kuliah Program Studi Teknologi Rekayasa Perangkat Lunak (TRPL) Semester 2 adalah sebagai berikut: Pada semester kedua, mahasiswa akan melanjutkan dengan mata kuliah Sistem Operasi (RPL2201) dengan 3 SKS dan 5 jam teori/praktik, Matematika Diskrit (RPL2202) dengan 3 SKS dan 3 jam teori, Struktur Data (RPL3201) dengan 2 SKS dan 4 jam teori/praktik, Komunikasi Data dan Jaringan (RPL3202) dengan 3 SKS dan 5 jam teori/praktik, Sistem Basis Data (RPL3203) dengan 3 SKS dan 5 jam teori/praktik, Pemrograman Berorientasi Objek (RPL3204) dengan 4 SKS dan 8 jam teori/praktik, serta Pengantar Rekayasa Perangkat Lunak (RPL3205) dengan 2 SKS dan 2 jam teori.']\n", " },\n", " {\n", " 'question': 'Apa tujuan dari tracer study yang dilakukan oleh Program Studi Manajemen Informatika?',\n", " 'ground_truths':'Tujuan dari tracer study adalah untuk mengetahui kesesuaian kurikulum dengan pekerjaan yang diperoleh di lapangan atau di perusahaan, serta evaluasi capaian pembelajaran kurikulum sistem informasi, kemampuan penguasaan, penerapan teori, serta etos kerja yang dipelajari selama studi.',\n", " 'answer': 'Program Studi Manajemen Informatika telah melaksanakan tracer study terhadap alumni dan pengguna alumni untuk evaluasi kurikulum. Tracer study berupa survei ini bertujuan untuk mengetahui kesesuaian kurikulum dengan pekerjaan yang diperoleh di lapangan atau di perusahaan. Fokus utama adalah kesesuaian dengan visi misi Program Studi Manajemen Informatika, capaian pembelajaran kurikulum sistem informasi, kemampuan penguasaan, penerapan teori, serta etos kerja yang dipelajari selama studi.',\n", " 'contexts': ['Program Studi Manajemen Informatika telah melaksanakan tracer study terhadap alumni dan pengguna alumni untuk evaluasi kurikulum. Tracer study berupa survei ini bertujuan untuk mengetahui kesesuaian kurikulum dengan pekerjaan yang diperoleh di lapangan atau di perusahaan. Fokus utama adalah kesesuaian dengan visi misi Program Studi Manajemen Informatika, capaian pembelajaran kurikulum sistem informasi, kemampuan penguasaan, penerapan teori, serta etos kerja yang dipelajari selama studi.']\n", " }\n", "]\n" ], "metadata": { "id": "-gILMB1Kr1ar" }, "execution_count": 23, "outputs": [] }, { "cell_type": "code", "source": [ "import pandas as pd\n", "\n", "test_data = pd.DataFrame(dataset)" ], "metadata": { "id": "xMm14xpir8h8" }, "execution_count": 24, "outputs": [] }, { "cell_type": "code", "source": [ "test_data" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 363 }, "id": "V7U0P4Q7WHJo", "outputId": "659ed585-3902-4ff7-c702-5b93ec5e01f1" }, "execution_count": 25, "outputs": [ { "output_type": "execute_result", "data": { "text/plain": [ " question \\\n", "0 Apa visi dari Program Studi Manajemen Informat... \n", "1 Apa mata kuliah yang dipelajari pada semester ... \n", "2 Apa profil lulusan Program Studi D3 Manajemen ... \n", "3 Apa hasil survei tracer study terhadap alumni ... \n", "4 Bagaimana kemampuan lulusan Program Studi Mana... \n", "5 Apa mata kuliah yang dipelajari pada semester ... \n", "6 Apa visi dari Program Studi Teknik Komputer? \n", "7 Apa mata kuliah yang dipelajari pada semester ... \n", "8 Apa mata kuliah yang dipelajari pada semester ... \n", "9 Apa tujuan dari tracer study yang dilakukan ol... \n", "\n", " ground_truths \\\n", "0 Visi Program Studi Manajemen Informatika adala... \n", "1 Mata Kuliah Semester 1 Program Studi Teknik Ko... \n", "2 Profil lulusan Program Studi D3 Manajemen Info... \n", "3 Hasil survei tracer study menunjukkan bahwa 47... \n", "4 80% alumni Program Studi Manajemen Informatika... \n", "5 Mata Kuliah Semester 2 Program Studi Teknik Ko... \n", "6 Visi Program Studi Teknik Komputer adalah menj... \n", "7 Mata Kuliah Semester 1 Program Studi Teknologi... \n", "8 Mata Kuliah Semester 2 Program Studi Teknologi... \n", "9 Tujuan dari tracer study adalah untuk mengetah... \n", "\n", " answer \\\n", "0 Visi Program Studi Manajemen Informatika adala... \n", "1 Mata Kuliah Semester 1 Program Studi Teknik Ko... \n", "2 Profil lulusan Program Studi D3 Manajemen Info... \n", "3 Program Studi Manajemen Informatika telah mela... \n", "4 Berdasarkan survei, dapat disimpulkan bahwa lu... \n", "5 Mata Kuliah Semester 2 Program Studi Teknik Ko... \n", "6 Visi Program Studi Teknik Komputer adalah seba... \n", "7 Mata Kuliah Semester 1 Program Studi Teknologi... \n", "8 Mata Kuliah Semester 2 Program Studi Teknologi... \n", "9 Program Studi Manajemen Informatika telah mela... \n", "\n", " contexts \n", "0 [Visi Program Studi Manajemen Informatika adal... \n", "1 [Mata Kuliah Semester 1 Program Studi Teknik K... \n", "2 [Profil lulusan Program Studi D3 Manajemen Inf... \n", "3 [Program Studi Manajemen Informatika telah mel... \n", "4 [Berdasarkan survei, dapat disimpulkan bahwa l... \n", "5 [Mata Kuliah Semester 2 Program Studi Teknik K... \n", "6 [Visi Program Studi Teknik Komputer adalah seb... \n", "7 [Mata Kuliah Program Studi Teknologi Rekayasa ... \n", "8 [Mata Kuliah Program Studi Teknologi Rekayasa ... \n", "9 [Program Studi Manajemen Informatika telah mel... " ], "text/html": [ "\n", "
\n", "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
questionground_truthsanswercontexts
0Apa visi dari Program Studi Manajemen Informat...Visi Program Studi Manajemen Informatika adala...Visi Program Studi Manajemen Informatika adala...[Visi Program Studi Manajemen Informatika adal...
1Apa mata kuliah yang dipelajari pada semester ...Mata Kuliah Semester 1 Program Studi Teknik Ko...Mata Kuliah Semester 1 Program Studi Teknik Ko...[Mata Kuliah Semester 1 Program Studi Teknik K...
2Apa profil lulusan Program Studi D3 Manajemen ...Profil lulusan Program Studi D3 Manajemen Info...Profil lulusan Program Studi D3 Manajemen Info...[Profil lulusan Program Studi D3 Manajemen Inf...
3Apa hasil survei tracer study terhadap alumni ...Hasil survei tracer study menunjukkan bahwa 47...Program Studi Manajemen Informatika telah mela...[Program Studi Manajemen Informatika telah mel...
4Bagaimana kemampuan lulusan Program Studi Mana...80% alumni Program Studi Manajemen Informatika...Berdasarkan survei, dapat disimpulkan bahwa lu...[Berdasarkan survei, dapat disimpulkan bahwa l...
5Apa mata kuliah yang dipelajari pada semester ...Mata Kuliah Semester 2 Program Studi Teknik Ko...Mata Kuliah Semester 2 Program Studi Teknik Ko...[Mata Kuliah Semester 2 Program Studi Teknik K...
6Apa visi dari Program Studi Teknik Komputer?Visi Program Studi Teknik Komputer adalah menj...Visi Program Studi Teknik Komputer adalah seba...[Visi Program Studi Teknik Komputer adalah seb...
7Apa mata kuliah yang dipelajari pada semester ...Mata Kuliah Semester 1 Program Studi Teknologi...Mata Kuliah Semester 1 Program Studi Teknologi...[Mata Kuliah Program Studi Teknologi Rekayasa ...
8Apa mata kuliah yang dipelajari pada semester ...Mata Kuliah Semester 2 Program Studi Teknologi...Mata Kuliah Semester 2 Program Studi Teknologi...[Mata Kuliah Program Studi Teknologi Rekayasa ...
9Apa tujuan dari tracer study yang dilakukan ol...Tujuan dari tracer study adalah untuk mengetah...Program Studi Manajemen Informatika telah mela...[Program Studi Manajemen Informatika telah mel...
\n", "
\n", "
\n", "\n", "
\n", " \n", "\n", " \n", "\n", " \n", "
\n", "\n", "\n", "
\n", " \n", "\n", "\n", "\n", " \n", "
\n", "\n", "
\n", " \n", " \n", " \n", "
\n", "\n", "
\n", "
\n" ], "application/vnd.google.colaboratory.intrinsic+json": { "type": "dataframe", "variable_name": "test_data", "summary": "{\n \"name\": \"test_data\",\n \"rows\": 10,\n \"fields\": [\n {\n \"column\": \"question\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 10,\n \"samples\": [\n \"Apa mata kuliah yang dipelajari pada semester 2 di Program Studi Teknologi Rekayasa Perangkat Lunak (TRPL)?\",\n \"Apa mata kuliah yang dipelajari pada semester 1 di Program Studi Teknik Komputer?\",\n \"Apa mata kuliah yang dipelajari pada semester 2 di Program Studi Teknik Komputer?\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"ground_truths\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 10,\n \"samples\": [\n \"Mata Kuliah Semester 2 Program Studi Teknologi Rekayasa Perangkat Lunak (TRPL) meliputi Sistem Operasi, Matematika Diskrit, Struktur Data, Komunikasi Data dan Jaringan, Sistem Basis Data, Pemrograman Berorientasi Objek, dan Pengantar Rekayasa Perangkat Lunak.\",\n \"Mata Kuliah Semester 1 Program Studi Teknik Komputer meliputi Matematika Diskret, Jaringan Komputer Dasar, It Essential, Algoritma Pemrograman, Basis Data, Komunikasi Data, dan Elektronika Dasar.\",\n \"Mata Kuliah Semester 2 Program Studi Teknik Komputer meliputi Matematika dan Statistika, Switching, Routing dan Wireless, Sistem Operasi, Web Dasar, Pemrograman Mobile, Pemrograman Berbasis Objek (PBO), Sistem Digital, dan Organisasi dan Arsitektur Komputer.\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"answer\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 10,\n \"samples\": [\n \"Mata Kuliah Semester 2 Program Studi Teknologi Rekayasa Perangkat Lunak (TRPL):\\n\\n1. Sistem Operasi (RPL2201) dengan 3 SKS dan 5 jam teori/praktik\\n2. Matematika Diskrit (RPL2202) dengan 3 SKS dan 3 jam teori\\n3. Struktur Data (RPL3201) dengan 2 SKS dan 4 jam teori/praktik\\n4. Komunikasi Data dan Jaringan (RPL3202) dengan 3 SKS dan 5 jam teori/praktik\\n5. Sistem Basis Data (RPL3203) dengan 3 SKS dan 5 jam teori/praktik\\n6. Pemrograman Berorientasi Objek (RPL3204) dengan 4 SKS dan 8 jam teori/praktik\\n7. Pengantar Rekayasa Perangkat Lunak (RPL3205) dengan 2 SKS dan 2 jam teori\",\n \"Mata Kuliah Semester 1 Program Studi Teknik Komputer:\\n\\n1. Matematika Diskret (CEN2101) dengan 2 SKS dan 2 jam teori\\n2. Jaringan Komputer Dasar (CEN3101) dengan 2 SKS dan 4 jam teori/praktik\\n3. It Essential (CEN3102) dengan 3 SKS dan 7 jam teori/praktik\\n4. Algoritma Pemrograman (CEN3103) dengan 5 SKS dan 9 jam teori/praktik\\n5. Basis Data (CEN3104) dengan 3 SKS dan 5 jam teori/praktik\\n6. Komunikasi Data (CEN3105) dengan 2 SKS dan 2 jam teori\\n7. Elektronika Dasar (CEN3106) dengan 2 SKS dan 4 jam teori/praktik\",\n \"Mata Kuliah Semester 2 Program Studi Teknik Komputer:\\n\\n1. Matematika dan Statistika (CEN2201) dengan 3 SKS dan 3 jam teori\\n2. Switching, Routing dan Wireless (CEN3201) dengan 3 SKS dan 5 jam teori/praktik\\n3. Sistem Operasi (CEN3202) dengan 3 SKS dan 5 jam teori/praktik\\n4. Web Dasar (CEN3203) dengan 3 SKS dan 7 jam teori/praktik\\n5. Pemrograman Mobile (CEN3204) dengan 2 SKS dan 4 jam teori/praktik\\n6. Pemrograman Berbasis Objek (PBO) (CEN3205) dengan 3 SKS dan 5 jam teori/praktik\\n7. Sistem Digital (CEN3206) dengan 2 SKS dan 4 jam teori/praktik\\n8. Organisasi dan Arsitektur Komputer (CEN3207) dengan 2 SKS dan 2 jam teori\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"contexts\",\n \"properties\": {\n \"dtype\": \"object\",\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n }\n ]\n}" } }, "metadata": {}, "execution_count": 25 } ] }, { "cell_type": "markdown", "metadata": { "id": "LpRvqTC985r2" }, "source": [ "Running Llama from Ollama" ] }, { "cell_type": "code", "execution_count": 11, "metadata": { "id": "n2Gs57Rv83gn" }, "outputs": [], "source": [ "%load_ext colabxterm" ] }, { "cell_type": "code", "execution_count": 12, "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 838, "resources": { "https://localhost:10000/": { "data": "PCFkb2N0eXBlIGh0bWw+PGh0bWw+PGhlYWQ+PG1ldGEgY2hhcnNldD0idXRmLTgiLz48c2NyaXB0IGRlZmVyPSJkZWZlciIgc3JjPSJtYWluLmpzIj48L3NjcmlwdD48L2hlYWQ+PGJvZHk+PGRpdiBpZD0idGVybWluYWwiPjwvZGl2PjwvYm9keT48L2h0bWw+", "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "ok": true, "status": 200, "status_text": "" }, "https://localhost:10000/in/DQ==": { "data": "", "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "ok": true, "status": 200, "status_text": "" }, "https://localhost:10000/in/IA==": { "data": "", "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "ok": true, "status": 200, "status_text": "" }, "https://localhost:10000/in/Jg==": { "data": "", "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "ok": true, "status": 200, "status_text": "" }, "https://localhost:10000/in/Mw==": { "data": "", "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "ok": true, "status": 200, "status_text": "" }, "https://localhost:10000/in/bGFtYQ==": { "data": "", "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "ok": true, "status": 200, "status_text": "" }, "https://localhost:10000/in/bQ==": { "data": "", "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "ok": true, "status": 200, "status_text": "" }, "https://localhost:10000/in/bw==": { "data": "", "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "ok": true, "status": 200, "status_text": "" }, "https://localhost:10000/in/f38=": { "data": "", "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "ok": true, "status": 200, "status_text": "" }, "https://localhost:10000/in/fw==": { "data": "", "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "ok": true, "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0aW9uKCl7bSh0aGlzLHZvaWQgMCx2b2lkIDAsKGZ1bmN0aW9uKCl7dmFyIHQscixpO3JldHVybiBiKHRoaXMsKGZ1bmN0aW9uKG4pe3N3aXRjaChuLmxhYmVsKXtjYXNlIDA6bi50cnlzLnB1c2goWzAsLDUsNl0pLG4ubGFiZWw9MTtjYXNlIDE6cmV0dXJuWzQsZmV0Y2goIi9vdXQiKV07Y2FzZSAyOnJldHVybiB0PW4uc2VudCgpLGk9VWludDhBcnJheS5iaW5kLFs0LHQuYXJyYXlCdWZmZXIoKV07Y2FzZSAzOnJldHVybiByPW5ldyhpLmFwcGx5KFVpbnQ4QXJyYXksW3ZvaWQgMCxuLnNlbnQoKV0pKSx0JiZlLndyaXRlKHIpLFszLDFdO2Nhc2UgNDpyZXR1cm5bMyw2XTtjYXNlIDU6cmV0dXJuIGNvbnNvbGUubG9nKCJpbnB1dCBkaXNjb25uZWN0ISIpLFs3XTtjYXNlIDY6cmV0dXJuWzJdfX0pKX0pKX0oKX19KSgpfSkoKTs=", "headers": [ [ "content-type", "text/javascript" ] ], "ok": true, "status": 200, "status_text": "" }, "https://localhost:10000/out": { "data": "W0dJTl0gMjAyNC8wNy8wOSAtIDA3OjU3OjA3IHwbWzk3OzQybSAyMDAgG1swbXwgMTIuMzExMjY1NDg5cyB8ICAgICAgIDEyNy4wLjAuMSB8G1s5Nzs0Nm0gUE9TVCAgICAbWzBtICIvYXBpL2dlbmVyYXRlIg0K", "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "ok": true, "status": 200, "status_text": "" }, "https://localhost:10000/in/bGxh": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/in/IHJ1": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/in/biBs": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/in/f39/": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/in/bA==": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=44&cols=152": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/in/G1syMDB+Y3VybCAtZnNTTCBodHRwczovL29sbGFtYS5jb20vaW5zdGFsbC5zaCB8IHNoG1syMDF+": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/in/aQ==": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/in/a2s=": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/in/bWEgc2U=": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/in/cnZlIA==": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/in/IG9s": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/in/bGFtYSA=": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/in/cHU=": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/in/bGw=": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/in/YW1h": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/in/YSBwdQ==": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/in/bGwg": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/in/YW1tYSA=": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/in/G1tE": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/in/G1tEG1tEG1tE": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/in/bGxhbWE=": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=41&cols=172": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=49&cols=204": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=43&cols=232": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=49&cols=216": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=49&cols=229": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=43&cols=214": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=44&cols=164": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=44&cols=159": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=44&cols=150": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=41&cols=196": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=44&cols=151": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=44&cols=145": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=44&cols=144": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=44&cols=140": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=44&cols=147": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=44&cols=146": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=44&cols=142": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=44&cols=138": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=44&cols=139": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=44&cols=135": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=44&cols=136": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=44&cols=158": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" }, "https://localhost:10000/resize?rows=44&cols=157": { "data": "", "ok": true, "headers": [ [ "content-type", "text/html; charset=UTF-8" ] ], "status": 200, "status_text": "" } } }, "id": "O7EAu2yL8_ce", "outputId": "ca02aaaf-d72f-47db-f5d7-97a60c4534e4" }, "outputs": [ { "output_type": "display_data", "data": { "text/plain": [ "Launching Xterm..." ] }, "metadata": {} }, { "output_type": "display_data", "data": { "text/plain": [ "" ], "application/javascript": [ "\n", " (async () => {\n", " const url = new URL(await google.colab.kernel.proxyPort(10000, {'cache': true}));\n", " const iframe = document.createElement('iframe');\n", " iframe.src = url;\n", " iframe.setAttribute('width', '100%');\n", " iframe.setAttribute('height', '800');\n", " iframe.setAttribute('frameborder', 0);\n", " document.body.appendChild(iframe);\n", " })();\n", " " ] }, "metadata": {} } ], "source": [ "%xterm" ] }, { "cell_type": "code", "execution_count": 13, "metadata": { "id": "kXUI-fKXxh4e", "colab": { "base_uri": "https://localhost:8080/", "height": 655, "referenced_widgets": [ "774a5e22b05045b1a678a8b470ab5a59", "3cc98ad1c4d4488f8e2b480158e1e8f4", "a3d06ec6bd97429f9fa42b50ebfdb00c", "af2a975bb3ac48a2800130c4758be558", "78e903e3bb93404caf01b1dfeb582b72", "90502e90395d4f43a9d30aedf5b12bff", "55d0833c7d324842b2ccda12b5502ca8", "955457347b3f41d4ade0cc286ecd1261", "735dcfeb76744f3daaca50be0f629a6f", "cf1e58915f284d5e8aa143616d97ffa6", "6cfc29fe5910461d966956ed5a205628", "f36dece1d6514610ba297c0c3cc263a5", "ec8cf865bce1446b885a1f60c171846a", "0bfe376b1b5c44158f3725e9091dab45", "667272a9571040b99023d79083f3382c", "ff5e4aa8f27f48ad9ef44339a8c5c200", "cfc51c8f8e50436caffa3d3d332fa641", "8aeedb23f97c4128857e8d1892c98a24", "a4263c745c5a4a508351db676cb00dac", "fe906a116bc04455a50f3c83db2183e5", "495b848723b549aaa4a9ec77a447e79a", "53f28e17916441e78f16ac6e0f370686", "0d641fff30b443059e357efad841b31a", "4c6c18b8b57b4f4ca7c6e476c8035f6c", "7678debe5e8047da87e026a45b887533", "c0b834f8405847f186aa00e8b39c5618", "3fa77d05f93c4d89bf065017cc8c9232", "74faf49408044e1a8b266f369a86af57", "527fdd9c12bd44ea816415e0bc7c6ca6", "cbf7a09018a6484fb9d0f794526ef297", "df4bb03ccba74281a2f0dc28f225ef6a", "9e6d3d6646b54aa4996e1fd03b2eb487", "633777bd3e864d9ebc79d40217609d11", "d65ea3adcc96419c82c8479239841f69", "a577f41a7de74169b7a550a69dd1739c", "dd9c1b73fece4d6d91db3d7b9609aa32", "386b14d5fd04407da2b09e9b6064daca", "ff52fcca671a4ccb986af274352250d0", "d65fcde740914b1594e491e611aa4893", "1d404e6d44a54088a85434f9d71fcd86", "3c4b72aac9064cdebb793b4f5b8aaae1", "fb8b5f9eba394bdf8bdc810ed7c40897", "6c6887daa8f94759a69a66ccb2c1efd4", "e04b39401f0d41c1aa165602679c0570", "5940beb062784f369d2d5bca61b2c4df", "9b4dc8d79a8f44de9d687cdd4541c2b0", "39a639fd940846d88f229785355e3279", "dff2333fb9b243a48c2839fac983ca33", "863c43ecb86c43d0bab02a614333b78a", "94193dcefd1b4823a4708faa3c32f302", "3d2c695971dc4d51bf62ebfc6da78513", "a748a86b0913405394c4e39f84ceeb6c", "1127274eb4d24055ac34ccddb0350176", "4b5f884069c2491da2067dc8918403ae", "f2e8f82c92a94593ac648ad8afd7041a", "ad890d8b437b4dd3998700994b03f4fe", "8582b630f5ee4d16aca32671c1b72e21", "db0beb4e26e3477ebf3da897d3c7909b", "c9494f7726a84ae898d35a5bf2d8a43a", "3e3da7e8e09340a1993cb5030c48d53b", "be6cfa79cf6d4f8a84d8d3a6c7e95a14", "0036f0205e8045ea8b19ea0da01abc03", "207a64ecba944ec1ab47a255a3e9dbcf", "7c0f11b44eee4fe5a3c24bc25a7701b9", "9f3f5e590f3641618866c2d084ffbe85", "bacc87d9385b4bbb82c43e67650a28de", "73b15ed691fd4633ad3638d901ce1d49", "586119cdb98546b2a89a9a92b63e28ff", "9f8f61f88f8e462e8a586364fc7c68ca", "bd7d712d12934b98814783b95a4b111c", "b53b72cfdb7a4d2da122f24e2cb357bc", "32a5fd065f8a45f280803dd0a38a0356", "133196f9a4644d8db998c2c6d7c822e0", "c256f715514d42549218b5d88a3bade1", "082fcee1d3484cf789616217aa3958b5", "c662017794c44b5a8e6155485bbdbe50", "d27bdd0fae8d4a6b99af8412459f98ee", "86e146dceb9c444fbcb9e9b18db3ed1d", "019ec8ff4a614dc286af2a2a4e0209e4", "3e56c7590498469eae558f7e00a033fb", "73e9a30e304d43379f725c17b615195f", "62443b6578e84670afbc6ff7fc99ddab", "05905e52a05d49f7a7db507dba306728", "746fbba137df4bd3b95486613b731011", "5471c4691688488396fa6385be979bfb", "e7cdc6b06db34073ace173810b44b04d", "c2790469312b493cb80fea1a2fdf0963", "83871fe1dea04c3f9c71d56d68eaea62", "1fb17227158f433482943d59fd49429e", "22eb11e843bd4c41b890728b306f026c", "38d123716af940d7b798bb7f93872346", "8f16daf019624046924408cfd7835820", "176b96bdb7e94baa9a7533a6d7a2e3f5", "5085db956ef94dd8a37655eb4468a40b", "a885bce99c754808ab9c4a2cf934a45c", "88c14058813e4c9bb07263d8a1ba7ba5", "84bbc48152d64cf0ade10f45dd669ee0", "c2a298fd45154e769373e4420078b537", "7eca8790417c4017b130ddde61484e18", "a22131180314427fbf3e22909f496732", "be62907c1fac43b6baea259975e36f01", "da711b1cf65a4b53a17d464dc0f8bbe4", "19a0497ced874ff988e239ccc8e1301c", "27a46269a9544d58aeac6767f1a06267", "2d39fe7d9ec8408a89231f6ea4831314", "81a8ca69f38f4c50a44c63784e1ab671", "9d75d9b8cde0423885f81c1d464b13bd", "ea6c06e853794ee48a32e2a45aa0f1ab", "148b417a295541b8b70fa44c0907ce3a", "edf42273db374842b85855754b79f012", "791c8fa4e54c421d813b920d5883ea5e", "3e904c5929e948f1a1e688218d6fe5cf", "78537f1ade8b4fa99629070bda48020e", "05b46358966143c29a6f280d52a72644", "9001fc7b962e4dc2bebd8c49030c82ad", "886682ae58794f9980f34884f739c67f", "2602fe41a3d340d3a9d13de4723618d0", "86f5276c3a334abda8eede0bc7629555", "54c9303a545446ba98453492f83c73af", "a4c7613ca10d48e69aafcda24c58f9b9", "d1b739d2e978428ea0aed272a401db18", "2798320def204045a159892080a8930c", "492e433b88694cf0a1274f49f0880758", "584688e080c94f9aab9750cb34a260b5", "f6398eebef884feab7ad92f4e3fc9713", "fafa54f0eecf45deba71fc80e43ffae6", "394245fea6614f5b9be1490c05ddfa71", "a275ceedc2ac456d8569f55d52e07fd5", "4999d5814f4a4978bd57edd3c41aec21", "51b563649e1c44eda2532510aa74c0b4", "48b420a152cb4d1fa7ce6d62db7d5a4e", "ba7c642d8dba4e4e973587055f2aa759", "e233591c4b654d81859f2accaa1ff3a4", "2f71e4f799504760844e5f1faaeb0073", "7407107c5756468c925ec1810b35f600", "07f68d4071d24200a66535414e010213", "e1a9a5e18a5b43f6b26596928dc87d2f", "ae7c68fc75944c45ac6dcf26a5119cb2", "6ec7fd9e180e4430b01ed6e555b0162a", "f4f231010a144e4faeb6588f7363fc95", "91d0bfab08144ea183b407afa2b37b25", "7f3d874e95b748859c88e98e648dd31c", "19628b41b7dd4c4087e35ed3397a0c4d", "083e325ba1694f3897cd53854958669e", "8b3d72d99e234152b2f97f696d6b1571", "585a097199e844a39a7fdbaae2516822", "9825e08e3039457eadf32577ffbb7106", "f0874977986d411380ba33705f4a6bc7", "ddbe19488d7e47899451b49be503fc3a", "65e1ca6125ee4befbed687c63ba02699", "213962450b674bc388aef1a27790278e", "44136c9a57c0406bb8049358349b24aa", "5ea62904569049f3986900415b2b6c91", "8023a52c57be45569cd0b235532cc0f3", "c195ce9eb3534ac1b3cda3e7953f0275", "fb41232a1d4a47a394aa4ca488332351", "4358da66b2ff43ffa06cb1407005dd7b", "125c982b83654564b4c87452cb429567", "3d9cee786c344da6a0d26cd615340b8e", "d378d40939b8459da8c15e600d656601", "ffa50263831444c6a6468547d3f38725", "e8e4daecde904c4a9169ae961c63b4d1", "602246f944724332aa426139d7ab7941", "1471eba908b34d038cd6b51722f6dca1", "d799908c8b9843e8bcb128c615465ae1" ] }, "outputId": "a73a60aa-a450-4f2f-a07c-46f1047eae11" }, "outputs": [ { "output_type": "stream", "name": "stderr", "text": [ "/usr/local/lib/python3.10/dist-packages/langchain_core/_api/deprecation.py:139: LangChainDeprecationWarning: The class `HuggingFaceEmbeddings` was deprecated in LangChain 0.2.2 and will be removed in 0.3.0. An updated version of the class exists in the langchain-huggingface package and should be used instead. To use it run `pip install -U langchain-huggingface` and import as `from langchain_huggingface import HuggingFaceEmbeddings`.\n", " warn_deprecated(\n", "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_token.py:89: UserWarning: \n", "The secret `HF_TOKEN` does not exist in your Colab secrets.\n", "To authenticate with the Hugging Face Hub, create a token in your settings tab (https://huggingface.co/settings/tokens), set it as secret in your Google Colab and restart your session.\n", "You will be able to reuse this secret in all of your notebooks.\n", "Please note that authentication is recommended but still optional to access public models or datasets.\n", " warnings.warn(\n" ] }, { "output_type": "display_data", "data": { "text/plain": [ ".gitattributes: 0%| | 0.00/1.56k [00:00\n", " <|start_header_id|>\n", " system\n", " <|end_header_id|>\n", " You are an assistant of technology information department of politeknik negeri padang to answer\n", " questions related to the user's document.If the user tries to ask out of\n", " topic questions do not engange in the conversation.If the given context\n", " is not sufficient to answer the question,Do not answer the question. Generate the next agent response by answering the question in indonesian's language.\n", " <|eot_id|>\n", " <|start_header_id|>\n", " user\n", " <|end_header_id|>\n", " Answer the user question based on the context provided below\n", " Context :{context}\n", " Question: {question}\n", " <|eot_id|>\n", " <|start_header_id|>\n", " assistant\n", " <|end_header_id|>\n", " \"\"\"\n", "\n", "prompt = PromptTemplate(\n", " template=template,\n", " input_variables=[\"context\",\"question\"]\n", " )" ] }, { "cell_type": "code", "execution_count": 29, "metadata": { "id": "DapVv7VPI7kA" }, "outputs": [], "source": [ "from langchain.schema.runnable import RunnablePassthrough\n", "from langchain.schema.output_parser import StrOutputParser\n", "\n", "rag_chain = (\n", " {\"context\": retriever, \"question\": RunnablePassthrough()}\n", " | prompt\n", " | generator_llm\n", " | StrOutputParser()\n", ")" ] }, { "cell_type": "code", "execution_count": 30, "metadata": { "id": "2UFFIfhXJGek" }, "outputs": [], "source": [ "questions = test_data[\"question\"].to_list()\n", "ground_truth = test_data[\"ground_truths\"].to_list()" ] }, { "cell_type": "code", "execution_count": 31, "metadata": { "id": "Cp60UXuVJGcM" }, "outputs": [], "source": [ "from datasets import Dataset\n", "\n", "questions = test_data[\"question\"].to_list()\n", "ground_truth = test_data[\"ground_truths\"].to_list()\n", "\n", "data = {\"question\": [], \"answer\": [], \"contexts\": [], \"ground_truth\": ground_truth}\n", "\n", "for query in questions:\n", " data[\"question\"].append(query)\n", " data[\"answer\"].append(rag_chain.invoke(query))\n", " data[\"contexts\"].append([doc.page_content for doc in retriever.get_relevant_documents(query)])\n", "\n", "dataset = Dataset.from_dict(data)" ] }, { "cell_type": "code", "execution_count": 32, "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 450 }, "id": "xLUkMkHYMMsl", "outputId": "92b01524-2e37-4bb1-fbf3-a5d66174b13a" }, "outputs": [ { "output_type": "execute_result", "data": { "text/plain": [ " question \\\n", "0 Apa visi dari Program Studi Manajemen Informat... \n", "1 Apa mata kuliah yang dipelajari pada semester ... \n", "2 Apa profil lulusan Program Studi D3 Manajemen ... \n", "3 Apa hasil survei tracer study terhadap alumni ... \n", "4 Bagaimana kemampuan lulusan Program Studi Mana... \n", "5 Apa mata kuliah yang dipelajari pada semester ... \n", "6 Apa visi dari Program Studi Teknik Komputer? \n", "7 Apa mata kuliah yang dipelajari pada semester ... \n", "8 Apa mata kuliah yang dipelajari pada semester ... \n", "9 Apa tujuan dari tracer study yang dilakukan ol... \n", "\n", " answer \\\n", "0 Berdasarkan dokumen Visi_Program_Studi_Manajem... \n", "1 Berdasarkan konteks dokumen, mata kuliah yang ... \n", "2 Berdasarkan informasi yang tersedia, Profil lu... \n", "3 Berdasarkan dokumen yang tersedia, hasil surve... \n", "4 Berdasarkan data Tracer Study, dapat disimpulk... \n", "5 Berdasarkan konteks yang tersedia, mata kuliah... \n", "6 Berdasarkan dokumen \"Visi dan Misi Program Stu... \n", "7 Berdasarkan informasi yang tersedia, pada Seme... \n", "8 Berdasarkan konteks, pada Semester 2 di Progra... \n", "9 Tujuan dari Tracer Study yang dilakukan oleh P... \n", "\n", " contexts \\\n", "0 [Visi Program Studi Manajemen Informatika adal... \n", "1 [Mata Kuliah Program Studi Teknik Komputer\\n\\n... \n", "2 [Profil lulusan Program Studi D3 Manajemen Inf... \n", "3 [Program Studi Manajemen Informatika telah mel... \n", "4 [Berdasarkan survei, dapat disimpulkan bahwa l... \n", "5 [Mata Kuliah Semester 2 Program Studi Teknik K... \n", "6 [Visi Program Studi Teknik Komputer adalah seb... \n", "7 [Mata Kuliah Program Studi Teknologi Rekayasa ... \n", "8 [Mata Kuliah Program Studi Teknologi Rekayasa ... \n", "9 [Program Studi Manajemen Informatika telah mel... \n", "\n", " ground_truth \n", "0 Visi Program Studi Manajemen Informatika adala... \n", "1 Mata Kuliah Semester 1 Program Studi Teknik Ko... \n", "2 Profil lulusan Program Studi D3 Manajemen Info... \n", "3 Hasil survei tracer study menunjukkan bahwa 47... \n", "4 80% alumni Program Studi Manajemen Informatika... \n", "5 Mata Kuliah Semester 2 Program Studi Teknik Ko... \n", "6 Visi Program Studi Teknik Komputer adalah menj... \n", "7 Mata Kuliah Semester 1 Program Studi Teknologi... \n", "8 Mata Kuliah Semester 2 Program Studi Teknologi... \n", "9 Tujuan dari tracer study adalah untuk mengetah... " ], "text/html": [ "\n", "
\n", "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
questionanswercontextsground_truth
0Apa visi dari Program Studi Manajemen Informat...Berdasarkan dokumen Visi_Program_Studi_Manajem...[Visi Program Studi Manajemen Informatika adal...Visi Program Studi Manajemen Informatika adala...
1Apa mata kuliah yang dipelajari pada semester ...Berdasarkan konteks dokumen, mata kuliah yang ...[Mata Kuliah Program Studi Teknik Komputer\\n\\n...Mata Kuliah Semester 1 Program Studi Teknik Ko...
2Apa profil lulusan Program Studi D3 Manajemen ...Berdasarkan informasi yang tersedia, Profil lu...[Profil lulusan Program Studi D3 Manajemen Inf...Profil lulusan Program Studi D3 Manajemen Info...
3Apa hasil survei tracer study terhadap alumni ...Berdasarkan dokumen yang tersedia, hasil surve...[Program Studi Manajemen Informatika telah mel...Hasil survei tracer study menunjukkan bahwa 47...
4Bagaimana kemampuan lulusan Program Studi Mana...Berdasarkan data Tracer Study, dapat disimpulk...[Berdasarkan survei, dapat disimpulkan bahwa l...80% alumni Program Studi Manajemen Informatika...
5Apa mata kuliah yang dipelajari pada semester ...Berdasarkan konteks yang tersedia, mata kuliah...[Mata Kuliah Semester 2 Program Studi Teknik K...Mata Kuliah Semester 2 Program Studi Teknik Ko...
6Apa visi dari Program Studi Teknik Komputer?Berdasarkan dokumen \"Visi dan Misi Program Stu...[Visi Program Studi Teknik Komputer adalah seb...Visi Program Studi Teknik Komputer adalah menj...
7Apa mata kuliah yang dipelajari pada semester ...Berdasarkan informasi yang tersedia, pada Seme...[Mata Kuliah Program Studi Teknologi Rekayasa ...Mata Kuliah Semester 1 Program Studi Teknologi...
8Apa mata kuliah yang dipelajari pada semester ...Berdasarkan konteks, pada Semester 2 di Progra...[Mata Kuliah Program Studi Teknologi Rekayasa ...Mata Kuliah Semester 2 Program Studi Teknologi...
9Apa tujuan dari tracer study yang dilakukan ol...Tujuan dari Tracer Study yang dilakukan oleh P...[Program Studi Manajemen Informatika telah mel...Tujuan dari tracer study adalah untuk mengetah...
\n", "
\n", "
\n", "\n", "
\n", " \n", "\n", " \n", "\n", " \n", "
\n", "\n", "\n", "
\n", " \n", "\n", "\n", "\n", " \n", "
\n", "\n", "
\n", "
\n" ], "application/vnd.google.colaboratory.intrinsic+json": { "type": "dataframe", "summary": "{\n \"name\": \"dataset\",\n \"rows\": 10,\n \"fields\": [\n {\n \"column\": \"question\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 10,\n \"samples\": [\n \"Apa mata kuliah yang dipelajari pada semester 2 di Program Studi Teknologi Rekayasa Perangkat Lunak (TRPL)?\",\n \"Apa mata kuliah yang dipelajari pada semester 1 di Program Studi Teknik Komputer?\",\n \"Apa mata kuliah yang dipelajari pada semester 2 di Program Studi Teknik Komputer?\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"answer\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 10,\n \"samples\": [\n \"Berdasarkan konteks, pada Semester 2 di Program Studi Teknologi Rekayasa Perangkat Lunak (TRPL), mata kuliah yang dipelajari adalah:\\n\\n* Sistem Operasi (RPL2201)\\n* Matematika Diskrit (RPL2202)\\n* Struktur Data (RPL3201)\\n* Komunikasi Data dan Jaringan (RPL3202)\\n* Sistem Basis Data (RPL3203)\\n* Pemrograman Berorientasi Objek (RPL3204)\\n* Pengantar Rekayasa Perangkat Lunak (RPL3205)\\n\\nSaya berharap jawaban ini dapat membantu!\",\n \"Berdasarkan konteks dokumen, mata kuliah yang dipelajari pada Semester 1 di Program Studi Teknik Komputer adalah sebagai berikut:\\n\\n* Matematika Diskret (CEN2101) dengan 2 SKS dan 2 jam teori\\n* Jaringan Komputer Dasar (CEN3101) dengan 2 SKS dan 4 jam teori/praktik\\n* It Essential (CEN3102) dengan 3 SKS dan 7 jam teori/praktik\\n* Algoritma Pemrograman (CEN3103) dengan 5 SKS dan 9 jam teori/praktik\\n* Basis Data (CEN3104) dengan 3 SKS dan 5 jam teori/praktik\\n* Komunikasi Data (CEN3105) dengan 2 SKS dan 2 jam teori\\n* Elektronika Dasar (CEN3106) dengan 2 SKS dan 4 jam teori/praktik\\n\\nNamun, perlu diingat bahwa informasi ini hanya berlaku untuk Program Studi Teknik Komputer yang tidak termasuk Program Studi Teknologi Rekayasa Perangkat Lunak (TRPL).\",\n \"Berdasarkan konteks yang tersedia, mata kuliah yang dipelajari pada semester 2 di Program Studi Teknik Komputer adalah:\\n\\n* Matematika dan Statistika (CEN2201) dengan 3 SKS dan 3 jam teori,\\n* Switching, Routing, dan Wireless (CEN3201) dengan 3 SKS dan 5 jam teori/praktik,\\n* Sistem Operasi (CEN3202) dengan 3 SKS dan 5 jam teori/praktik,\\n* Web Dasar (CEN3203) dengan 3 SKS dan 7 jam teori/praktik,\\n* Pemrograman Mobile (CEN3204) dengan 2 SKS dan 4 jam teori/praktik,\\n* Pemrograman Berbasis Objek (PBO) (CEN3205) dengan 3 SKS dan 5 jam teori/praktik,\\n* Sistem Digital (CEN3206) dengan 2 SKS dan 4 jam teori/praktik, serta\\n* Organisasi dan Arsitektur Komputer (CEN3207) dengan 2 SKS dan 2 jam teori.\\n\\nSilahkan konfirmasi apakah pertanyaan Anda lainnya.\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"contexts\",\n \"properties\": {\n \"dtype\": \"object\",\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"ground_truth\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 10,\n \"samples\": [\n \"Mata Kuliah Semester 2 Program Studi Teknologi Rekayasa Perangkat Lunak (TRPL) meliputi Sistem Operasi, Matematika Diskrit, Struktur Data, Komunikasi Data dan Jaringan, Sistem Basis Data, Pemrograman Berorientasi Objek, dan Pengantar Rekayasa Perangkat Lunak.\",\n \"Mata Kuliah Semester 1 Program Studi Teknik Komputer meliputi Matematika Diskret, Jaringan Komputer Dasar, It Essential, Algoritma Pemrograman, Basis Data, Komunikasi Data, dan Elektronika Dasar.\",\n \"Mata Kuliah Semester 2 Program Studi Teknik Komputer meliputi Matematika dan Statistika, Switching, Routing dan Wireless, Sistem Operasi, Web Dasar, Pemrograman Mobile, Pemrograman Berbasis Objek (PBO), Sistem Digital, dan Organisasi dan Arsitektur Komputer.\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n }\n ]\n}" } }, "metadata": {}, "execution_count": 32 } ], "source": [ "dataset.to_pandas()" ] }, { "cell_type": "code", "execution_count": 36, "metadata": { "id": "Yr9-rnJhJGXz" }, "outputs": [], "source": [ "data2 = [2,3]\n", "data3 = [4,5]\n", "data4 = [6,7]\n", "data5 = [8]" ] }, { "cell_type": "code", "execution_count": 46, "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 49, "referenced_widgets": [ "30ccdeaf107845008e5995310cda4662", "834481f436824a938049c54c1f179d44", "8eb3ee9b01be497799b9951b92b204bc", "8ecd99775be549f78fa10e562c3a5e07", "397e379ea5ab4f989502981c1da101bf", "31a238a4447f440abecee55fe719f60a", "cb8bd9f97922428188d36a4021043b4c", "7f3a2e004afa493bb055a77543a67194", "a36ee9b5b0aa448ab639611d695337d8", "6883d1c4e1474de9bf13f633073130eb", "66c415f21b1a45739c17bf1c1ebc0751" ] }, "id": "ayWdlx5zJOqF", "outputId": "e6ea1ab1-3043-4b8a-c758-a34e08fc1514" }, "outputs": [ { "output_type": "display_data", "data": { "text/plain": [ "Evaluating: 0%| | 0/8 [00:00\n", "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
questionanswerground_truthcontext_precisioncontext_recallfaithfulnessanswer_relevancy
0Apa visi dari Program Studi Manajemen Informat...Berdasarkan dokumen Visi_Program_Studi_Manajem...Visi Program Studi Manajemen Informatika adala...0.9166671.00.50.892332
1Apa mata kuliah yang dipelajari pada semester ...Berdasarkan konteks dokumen, mata kuliah yang ...Mata Kuliah Semester 1 Program Studi Teknik Ko...0.7500001.00.00.922909
\n", "
\n", "
\n", "\n", "
\n", " \n", "\n", " \n", "\n", " \n", "
\n", "\n", "\n", "
\n", " \n", "\n", "\n", "\n", " \n", "
\n", "\n", "
\n", " \n" ], "application/vnd.google.colaboratory.intrinsic+json": { "type": "dataframe", "summary": "{\n \"name\": \"result\",\n \"rows\": 2,\n \"fields\": [\n {\n \"column\": \"question\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 2,\n \"samples\": [\n \"Apa mata kuliah yang dipelajari pada semester 1 di Program Studi Teknik Komputer?\",\n \"Apa visi dari Program Studi Manajemen Informatika?\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"answer\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 2,\n \"samples\": [\n \"Berdasarkan konteks dokumen, mata kuliah yang dipelajari pada Semester 1 di Program Studi Teknik Komputer adalah sebagai berikut:\\n\\n* Matematika Diskret (CEN2101) dengan 2 SKS dan 2 jam teori\\n* Jaringan Komputer Dasar (CEN3101) dengan 2 SKS dan 4 jam teori/praktik\\n* It Essential (CEN3102) dengan 3 SKS dan 7 jam teori/praktik\\n* Algoritma Pemrograman (CEN3103) dengan 5 SKS dan 9 jam teori/praktik\\n* Basis Data (CEN3104) dengan 3 SKS dan 5 jam teori/praktik\\n* Komunikasi Data (CEN3105) dengan 2 SKS dan 2 jam teori\\n* Elektronika Dasar (CEN3106) dengan 2 SKS dan 4 jam teori/praktik\\n\\nNamun, perlu diingat bahwa informasi ini hanya berlaku untuk Program Studi Teknik Komputer yang tidak termasuk Program Studi Teknologi Rekayasa Perangkat Lunak (TRPL).\",\n \"Berdasarkan dokumen Visi_Program_Studi_Manajemen_Informatika, visi dari Program Studi Manajemen Informatika adalah sebagai berikut: \\\"Pada tahun 2025 menjadi program studi pendidikan vokasional terbaik tingkat nasional di bidang Sistem Informasi, bermartabat, dan berwawasan internasional.\\\"\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"ground_truth\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 2,\n \"samples\": [\n \"Mata Kuliah Semester 1 Program Studi Teknik Komputer meliputi Matematika Diskret, Jaringan Komputer Dasar, It Essential, Algoritma Pemrograman, Basis Data, Komunikasi Data, dan Elektronika Dasar.\",\n \"Visi Program Studi Manajemen Informatika adalah menjadi program studi pendidikan vokasional terbaik tingkat nasional di bidang Sistem Informasi, bermartabat, dan berwawasan internasional pada tahun 2025.\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"context_precision\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 0.11785113020266835,\n \"min\": 0.7499999999625,\n \"max\": 0.9166666666361111,\n \"num_unique_values\": 2,\n \"samples\": [\n 0.7499999999625,\n 0.9166666666361111\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"context_recall\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 0.0,\n \"min\": 1.0,\n \"max\": 1.0,\n \"num_unique_values\": 1,\n \"samples\": [\n 1.0\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"faithfulness\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 0.3535533905932738,\n \"min\": 0.0,\n \"max\": 0.5,\n \"num_unique_values\": 2,\n \"samples\": [\n 0.0\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"answer_relevancy\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 0.021620679011659216,\n \"min\": 0.8923322708776947,\n \"max\": 0.9229085283636985,\n \"num_unique_values\": 2,\n \"samples\": [\n 0.9229085283636985\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n }\n ]\n}" } }, "metadata": {}, "execution_count": 56 } ], "source": [ "result.to_pandas().drop(columns=['contexts'])" ] }, { "cell_type": "code", "source": [ "result2.to_pandas().drop(columns=['contexts'])" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 347 }, "id": "dWrgR4UwgsUd", "outputId": "d818fce1-29bf-4f2e-9c06-fc14fff03ed1" }, "execution_count": 57, "outputs": [ { "output_type": "execute_result", "data": { "text/plain": [ " question \\\n", "0 Apa profil lulusan Program Studi D3 Manajemen ... \n", "1 Apa hasil survei tracer study terhadap alumni ... \n", "\n", " answer \\\n", "0 Berdasarkan informasi yang tersedia, Profil lu... \n", "1 Berdasarkan dokumen yang tersedia, hasil surve... \n", "\n", " ground_truth context_precision \\\n", "0 Profil lulusan Program Studi D3 Manajemen Info... 0.916667 \n", "1 Hasil survei tracer study menunjukkan bahwa 47... 0.916667 \n", "\n", " context_recall faithfulness answer_relevancy \n", "0 1.0 1.0 0.811703 \n", "1 1.0 0.6 0.611010 " ], "text/html": [ "\n", "
\n", "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
questionanswerground_truthcontext_precisioncontext_recallfaithfulnessanswer_relevancy
0Apa profil lulusan Program Studi D3 Manajemen ...Berdasarkan informasi yang tersedia, Profil lu...Profil lulusan Program Studi D3 Manajemen Info...0.9166671.01.00.811703
1Apa hasil survei tracer study terhadap alumni ...Berdasarkan dokumen yang tersedia, hasil surve...Hasil survei tracer study menunjukkan bahwa 47...0.9166671.00.60.611010
\n", "
\n", "
\n", "\n", "
\n", " \n", "\n", " \n", "\n", " \n", "
\n", "\n", "\n", "
\n", " \n", "\n", "\n", "\n", " \n", "
\n", "\n", "
\n", "
\n" ], "application/vnd.google.colaboratory.intrinsic+json": { "type": "dataframe", "summary": "{\n \"name\": \"result2\",\n \"rows\": 2,\n \"fields\": [\n {\n \"column\": \"question\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 2,\n \"samples\": [\n \"Apa hasil survei tracer study terhadap alumni Program Studi Manajemen Informatika?\",\n \"Apa profil lulusan Program Studi D3 Manajemen Informatika?\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"answer\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 2,\n \"samples\": [\n \"Berdasarkan dokumen yang tersedia, hasil survei Tracer Study terhadap alumni Program Studi Manajemen Informatika menunjukkan bahwa 47% dari 85 responden membutuhkan waktu kurang dari 6 bulan untuk mendapatkan pekerjaan. Selain itu, juga ditemukan bahwa 62% responden Program Studi Manajemen Informatika mendapatkan pekerjaan yang sesuai dengan program studi.\",\n \"Berdasarkan informasi yang tersedia, Profil lulusan Program Studi D3 Manajemen Informatika adalah sebagai berikut:\\n\\n\\\"Lulusan Program Studi D3 Manajemen Informatika dapat bekerja sebagai Programmer, Web Developer, dan Mobile Application Developer.\\\"\\n\\nDapat disimpulkan bahwa lulusan Program Studi D3 Manajemen Informatika memiliki kemampuan di bidang sistem informasi dan teknologi informasi.\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"ground_truth\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 2,\n \"samples\": [\n \"Hasil survei tracer study menunjukkan bahwa 47% dari 85 responden membutuhkan waktu kurang dari 6 bulan untuk mendapatkan pekerjaan dan 62% responden mendapatkan pekerjaan yang sesuai dengan program studi.\",\n \"Profil lulusan Program Studi D3 Manajemen Informatika adalah Programmer, Web Developer, dan Mobile Application Developer.\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"context_precision\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 0.0,\n \"min\": 0.9166666666361111,\n \"max\": 0.9166666666361111,\n \"num_unique_values\": 1,\n \"samples\": [\n 0.9166666666361111\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"context_recall\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 0.0,\n \"min\": 1.0,\n \"max\": 1.0,\n \"num_unique_values\": 1,\n \"samples\": [\n 1.0\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"faithfulness\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 0.28284271247461906,\n \"min\": 0.6,\n \"max\": 1.0,\n \"num_unique_values\": 2,\n \"samples\": [\n 0.6\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"answer_relevancy\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 0.14191137632263903,\n \"min\": 0.6110101281120025,\n \"max\": 0.8117031211625108,\n \"num_unique_values\": 2,\n \"samples\": [\n 0.6110101281120025\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n }\n ]\n}" } }, "metadata": {}, "execution_count": 57 } ] }, { "cell_type": "code", "source": [ "result3.to_pandas().drop(columns=['contexts'])" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 591 }, "id": "O0eJPJwdgtx9", "outputId": "90d96121-b00f-4e10-b062-fa3e56012fd3" }, "execution_count": 58, "outputs": [ { "output_type": "execute_result", "data": { "text/plain": [ " question \\\n", "0 Bagaimana kemampuan lulusan Program Studi Mana... \n", "1 Apa mata kuliah yang dipelajari pada semester ... \n", "\n", " answer \\\n", "0 Berdasarkan data Tracer Study, dapat disimpulk... \n", "1 Berdasarkan konteks yang tersedia, mata kuliah... \n", "\n", " ground_truth context_precision \\\n", "0 80% alumni Program Studi Manajemen Informatika... 1.0 \n", "1 Mata Kuliah Semester 2 Program Studi Teknik Ko... 1.0 \n", "\n", " context_recall faithfulness answer_relevancy \n", "0 0.5 0.75 0.772468 \n", "1 NaN 1.00 0.947524 " ], "text/html": [ "\n", "
\n", "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
questionanswerground_truthcontext_precisioncontext_recallfaithfulnessanswer_relevancy
0Bagaimana kemampuan lulusan Program Studi Mana...Berdasarkan data Tracer Study, dapat disimpulk...80% alumni Program Studi Manajemen Informatika...1.00.50.750.772468
1Apa mata kuliah yang dipelajari pada semester ...Berdasarkan konteks yang tersedia, mata kuliah...Mata Kuliah Semester 2 Program Studi Teknik Ko...1.0NaN1.000.947524
\n", "
\n", "
\n", "\n", "
\n", " \n", "\n", " \n", "\n", " \n", "
\n", "\n", "\n", "
\n", " \n", "\n", "\n", "\n", " \n", "
\n", "\n", "
\n", "
\n" ], "application/vnd.google.colaboratory.intrinsic+json": { "type": "dataframe", "summary": "{\n \"name\": \"result3\",\n \"rows\": 2,\n \"fields\": [\n {\n \"column\": \"question\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 2,\n \"samples\": [\n \"Apa mata kuliah yang dipelajari pada semester 2 di Program Studi Teknik Komputer?\",\n \"Bagaimana kemampuan lulusan Program Studi Manajemen Informatika dalam bersaing di pasar kerja internasional?\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"answer\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 2,\n \"samples\": [\n \"Berdasarkan konteks yang tersedia, mata kuliah yang dipelajari pada semester 2 di Program Studi Teknik Komputer adalah:\\n\\n* Matematika dan Statistika (CEN2201) dengan 3 SKS dan 3 jam teori,\\n* Switching, Routing, dan Wireless (CEN3201) dengan 3 SKS dan 5 jam teori/praktik,\\n* Sistem Operasi (CEN3202) dengan 3 SKS dan 5 jam teori/praktik,\\n* Web Dasar (CEN3203) dengan 3 SKS dan 7 jam teori/praktik,\\n* Pemrograman Mobile (CEN3204) dengan 2 SKS dan 4 jam teori/praktik,\\n* Pemrograman Berbasis Objek (PBO) (CEN3205) dengan 3 SKS dan 5 jam teori/praktik,\\n* Sistem Digital (CEN3206) dengan 2 SKS dan 4 jam teori/praktik, serta\\n* Organisasi dan Arsitektur Komputer (CEN3207) dengan 2 SKS dan 2 jam teori.\\n\\nSilahkan konfirmasi apakah pertanyaan Anda lainnya.\",\n \"Berdasarkan data Tracer Study, dapat disimpulkan bahwa 80% alumni Program Studi Manajemen Informatika mendapatkan pekerjaan di perusahaan bertaraf multinasional. Hal ini menunjukkan bahwa kurikulum mampu membekali lulusan untuk bersaing secara internasional. Selain itu, profil lulusan Program Studi Manajemen Informatika juga mencerminkan kemampuan mereka dalam berbagai bidang seperti programming, web development, dan mobile application development, yang sangat penting bagi perusahaan multinasional.\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"ground_truth\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 2,\n \"samples\": [\n \"Mata Kuliah Semester 2 Program Studi Teknik Komputer meliputi Matematika dan Statistika, Switching, Routing dan Wireless, Sistem Operasi, Web Dasar, Pemrograman Mobile, Pemrograman Berbasis Objek (PBO), Sistem Digital, dan Organisasi dan Arsitektur Komputer.\",\n \"80% alumni Program Studi Manajemen Informatika mendapatkan pekerjaan di perusahaan bertaraf multinasional, menunjukkan kemampuan bersaing secara internasional.\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"context_precision\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 5.303301297696187e-11,\n \"min\": 0.9999999999,\n \"max\": 0.999999999975,\n \"num_unique_values\": 2,\n \"samples\": [\n 0.9999999999,\n 0.999999999975\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"context_recall\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": null,\n \"min\": 0.5,\n \"max\": 0.5,\n \"num_unique_values\": 1,\n \"samples\": [\n 0.5\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"faithfulness\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 0.1767766952966369,\n \"min\": 0.75,\n \"max\": 1.0,\n \"num_unique_values\": 2,\n \"samples\": [\n 1.0\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"answer_relevancy\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 0.12378341511988947,\n \"min\": 0.772467525851049,\n \"max\": 0.9475237103104556,\n \"num_unique_values\": 2,\n \"samples\": [\n 0.9475237103104556\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n }\n ]\n}" } }, "metadata": {}, "execution_count": 58 } ] }, { "cell_type": "code", "source": [ "result4.to_pandas().drop(columns=['contexts'])" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 380 }, "id": "Qy5LXdYbguLd", "outputId": "c50bf435-6ebc-40c3-f4bf-14af6d2f0dbb" }, "execution_count": 59, "outputs": [ { "output_type": "execute_result", "data": { "text/plain": [ " question \\\n", "0 Apa visi dari Program Studi Teknik Komputer? \n", "1 Apa mata kuliah yang dipelajari pada semester ... \n", "\n", " answer \\\n", "0 Berdasarkan dokumen \"Visi dan Misi Program Stu... \n", "1 Berdasarkan informasi yang tersedia, pada Seme... \n", "\n", " ground_truth context_precision \\\n", "0 Visi Program Studi Teknik Komputer adalah menj... 0.833333 \n", "1 Mata Kuliah Semester 1 Program Studi Teknologi... 1.000000 \n", "\n", " context_recall faithfulness answer_relevancy \n", "0 1.0 0.500 0.885868 \n", "1 NaN 0.875 0.856642 " ], "text/html": [ "\n", "
\n", "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
questionanswerground_truthcontext_precisioncontext_recallfaithfulnessanswer_relevancy
0Apa visi dari Program Studi Teknik Komputer?Berdasarkan dokumen \"Visi dan Misi Program Stu...Visi Program Studi Teknik Komputer adalah menj...0.8333331.00.5000.885868
1Apa mata kuliah yang dipelajari pada semester ...Berdasarkan informasi yang tersedia, pada Seme...Mata Kuliah Semester 1 Program Studi Teknologi...1.000000NaN0.8750.856642
\n", "
\n", "
\n", "\n", "
\n", " \n", "\n", " \n", "\n", " \n", "
\n", "\n", "\n", "
\n", " \n", "\n", "\n", "\n", " \n", "
\n", "\n", "
\n", "
\n" ], "application/vnd.google.colaboratory.intrinsic+json": { "type": "dataframe", "summary": "{\n \"name\": \"result4\",\n \"rows\": 2,\n \"fields\": [\n {\n \"column\": \"question\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 2,\n \"samples\": [\n \"Apa mata kuliah yang dipelajari pada semester 1 di Program Studi Teknologi Rekayasa Perangkat Lunak (TRPL)?\",\n \"Apa visi dari Program Studi Teknik Komputer?\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"answer\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 2,\n \"samples\": [\n \"Berdasarkan informasi yang tersedia, pada Semester 1 di Program Studi Teknologi Rekayasa Perangkat Lunak (TRPL), mata kuliah yang dipelajari adalah sebagai berikut:\\n\\n* Pengantar Teknologi Komputer dan Informasi (RPL1101) dengan 4 SKS dan 8 jam teori/praktik\\n* Basis Data (RPL2101) dengan 4 SKS dan 8 jam teori/praktik\\n* Aljabar Linear (RPL2102) dengan 3 SKS dan 3 jam teori\\n* Algoritma dan Pemrograman (RPL3101) dengan 5 SKS dan 9 jam teori/praktik\\n* Agama (RPL3102) dengan 2 SKS dan 2 jam teori\\n* Sistem Informasi (RPL3103) dengan 2 SKS dan 2 jam teori\\n\\nDemikian jawaban saya!\",\n \"Berdasarkan dokumen \\\"Visi dan Misi Program Studi Teknik Komputer\\\", visi Program Studi Teknik Komputer adalah sebagai berikut:\\n\\n\\\"Pada tahun 2025, Program studi Teknik Komputer bertujuan menjadi institusi pendidikan vokasional terbaik tingkat nasional di bidang Teknik Komputer Jaringan, yang bermartabat dan...\\\"\\n\\nJika Anda memiliki pertanyaan lain atau ingin mengetahui informasi lebih lanjut tentang Program Studi Teknik Komputer, silakan tanyalah!\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"ground_truth\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 2,\n \"samples\": [\n \"Mata Kuliah Semester 1 Program Studi Teknologi Rekayasa Perangkat Lunak (TRPL) meliputi Pengantar Teknologi Komputer dan Informasi, Basis Data, Aljabar Linear, Algoritma dan Pemrograman, Agama, serta Sistem Informasi.\",\n \"Visi Program Studi Teknik Komputer adalah menjadi institusi pendidikan vokasional terbaik tingkat nasional di bidang Teknik Komputer Jaringan pada tahun 2025.\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"context_precision\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 0.11785113015651008,\n \"min\": 0.8333333332916666,\n \"max\": 0.9999999999,\n \"num_unique_values\": 2,\n \"samples\": [\n 0.9999999999,\n 0.8333333332916666\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"context_recall\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": null,\n \"min\": 1.0,\n \"max\": 1.0,\n \"num_unique_values\": 1,\n \"samples\": [\n 1.0\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"faithfulness\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 0.2651650429449553,\n \"min\": 0.5,\n \"max\": 0.875,\n \"num_unique_values\": 2,\n \"samples\": [\n 0.875\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"answer_relevancy\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": 0.02066534819419875,\n \"min\": 0.8566423070218344,\n \"max\": 0.8858675227092326,\n \"num_unique_values\": 2,\n \"samples\": [\n 0.8566423070218344\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n }\n ]\n}" } }, "metadata": {}, "execution_count": 59 } ] }, { "cell_type": "code", "source": [ "result5.to_pandas().drop(columns=['contexts'])" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 259 }, "id": "YFlc6frwgtvk", "outputId": "75e4b7e1-6a50-48d0-e026-8d2382bfd61e" }, "execution_count": 60, "outputs": [ { "output_type": "execute_result", "data": { "text/plain": [ " question \\\n", "0 Apa mata kuliah yang dipelajari pada semester ... \n", "\n", " answer \\\n", "0 Berdasarkan konteks, pada Semester 2 di Progra... \n", "\n", " ground_truth context_precision \\\n", "0 Mata Kuliah Semester 2 Program Studi Teknologi... 0.833333 \n", "\n", " context_recall faithfulness answer_relevancy \n", "0 NaN 0.5 0.867524 " ], "text/html": [ "\n", "
\n", "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
questionanswerground_truthcontext_precisioncontext_recallfaithfulnessanswer_relevancy
0Apa mata kuliah yang dipelajari pada semester ...Berdasarkan konteks, pada Semester 2 di Progra...Mata Kuliah Semester 2 Program Studi Teknologi...0.833333NaN0.50.867524
\n", "
\n", "
\n", "\n", "
\n", " \n", "\n", " \n", "\n", " \n", "
\n", "\n", "\n", "
\n", "
\n" ], "application/vnd.google.colaboratory.intrinsic+json": { "type": "dataframe", "summary": "{\n \"name\": \"result5\",\n \"rows\": 1,\n \"fields\": [\n {\n \"column\": \"question\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 1,\n \"samples\": [\n \"Apa mata kuliah yang dipelajari pada semester 2 di Program Studi Teknologi Rekayasa Perangkat Lunak (TRPL)?\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"answer\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 1,\n \"samples\": [\n \"Berdasarkan konteks, pada Semester 2 di Program Studi Teknologi Rekayasa Perangkat Lunak (TRPL), mata kuliah yang dipelajari adalah:\\n\\n* Sistem Operasi (RPL2201)\\n* Matematika Diskrit (RPL2202)\\n* Struktur Data (RPL3201)\\n* Komunikasi Data dan Jaringan (RPL3202)\\n* Sistem Basis Data (RPL3203)\\n* Pemrograman Berorientasi Objek (RPL3204)\\n* Pengantar Rekayasa Perangkat Lunak (RPL3205)\\n\\nSaya berharap jawaban ini dapat membantu!\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"ground_truth\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 1,\n \"samples\": [\n \"Mata Kuliah Semester 2 Program Studi Teknologi Rekayasa Perangkat Lunak (TRPL) meliputi Sistem Operasi, Matematika Diskrit, Struktur Data, Komunikasi Data dan Jaringan, Sistem Basis Data, Pemrograman Berorientasi Objek, dan Pengantar Rekayasa Perangkat Lunak.\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"context_precision\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": null,\n \"min\": 0.8333333332916666,\n \"max\": 0.8333333332916666,\n \"num_unique_values\": 1,\n \"samples\": [\n 0.8333333332916666\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"context_recall\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": null,\n \"min\": null,\n \"max\": null,\n \"num_unique_values\": 0,\n \"samples\": [],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"faithfulness\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": null,\n \"min\": 0.5,\n \"max\": 0.5,\n \"num_unique_values\": 1,\n \"samples\": [],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"answer_relevancy\",\n \"properties\": {\n \"dtype\": \"number\",\n \"std\": null,\n \"min\": 0.8675237305316208,\n \"max\": 0.8675237305316208,\n \"num_unique_values\": 1,\n \"samples\": [],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n }\n ]\n}" } }, "metadata": {}, "execution_count": 60 } ] } ], "metadata": { "colab": { "provenance": [], "gpuType": "T4" }, "kernelspec": { "display_name": "Python 3", "name": "python3" }, "language_info": { "name": "python" }, "widgets": { "application/vnd.jupyter.widget-state+json": { "774a5e22b05045b1a678a8b470ab5a59": { "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_3cc98ad1c4d4488f8e2b480158e1e8f4", "IPY_MODEL_a3d06ec6bd97429f9fa42b50ebfdb00c", "IPY_MODEL_af2a975bb3ac48a2800130c4758be558" ], "layout": "IPY_MODEL_78e903e3bb93404caf01b1dfeb582b72" } }, "3cc98ad1c4d4488f8e2b480158e1e8f4": { "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_90502e90395d4f43a9d30aedf5b12bff", "placeholder": "​", "style": "IPY_MODEL_55d0833c7d324842b2ccda12b5502ca8", "value": ".gitattributes: 100%" } }, "a3d06ec6bd97429f9fa42b50ebfdb00c": { "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_955457347b3f41d4ade0cc286ecd1261", "max": 1562, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_735dcfeb76744f3daaca50be0f629a6f", "value": 1562 } }, "af2a975bb3ac48a2800130c4758be558": { "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_cf1e58915f284d5e8aa143616d97ffa6", "placeholder": "​", "style": "IPY_MODEL_6cfc29fe5910461d966956ed5a205628", "value": " 1.56k/1.56k [00:00<00:00, 96.9kB/s]" } }, "78e903e3bb93404caf01b1dfeb582b72": { "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 } }, "90502e90395d4f43a9d30aedf5b12bff": { "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 } }, "55d0833c7d324842b2ccda12b5502ca8": { "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": "" } }, "955457347b3f41d4ade0cc286ecd1261": { "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 } }, "735dcfeb76744f3daaca50be0f629a6f": { "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": "" } }, "cf1e58915f284d5e8aa143616d97ffa6": { "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 } }, "6cfc29fe5910461d966956ed5a205628": { "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": "" } }, "f36dece1d6514610ba297c0c3cc263a5": { "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_ec8cf865bce1446b885a1f60c171846a", "IPY_MODEL_0bfe376b1b5c44158f3725e9091dab45", "IPY_MODEL_667272a9571040b99023d79083f3382c" ], "layout": "IPY_MODEL_ff5e4aa8f27f48ad9ef44339a8c5c200" } }, "ec8cf865bce1446b885a1f60c171846a": { "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_cfc51c8f8e50436caffa3d3d332fa641", "placeholder": "​", "style": "IPY_MODEL_8aeedb23f97c4128857e8d1892c98a24", "value": "config.json: 100%" } }, "0bfe376b1b5c44158f3725e9091dab45": { "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_a4263c745c5a4a508351db676cb00dac", "max": 681, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_fe906a116bc04455a50f3c83db2183e5", "value": 681 } }, "667272a9571040b99023d79083f3382c": { "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_495b848723b549aaa4a9ec77a447e79a", "placeholder": "​", "style": "IPY_MODEL_53f28e17916441e78f16ac6e0f370686", "value": " 681/681 [00:00<00:00, 55.2kB/s]" } }, "ff5e4aa8f27f48ad9ef44339a8c5c200": { "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 } }, "cfc51c8f8e50436caffa3d3d332fa641": { "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 } }, "8aeedb23f97c4128857e8d1892c98a24": { "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": "" } }, "a4263c745c5a4a508351db676cb00dac": { "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 } }, "fe906a116bc04455a50f3c83db2183e5": { "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": "" } }, "495b848723b549aaa4a9ec77a447e79a": { "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 } }, "53f28e17916441e78f16ac6e0f370686": { "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": "" } }, "0d641fff30b443059e357efad841b31a": { "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_4c6c18b8b57b4f4ca7c6e476c8035f6c", "IPY_MODEL_7678debe5e8047da87e026a45b887533", "IPY_MODEL_c0b834f8405847f186aa00e8b39c5618" ], "layout": "IPY_MODEL_3fa77d05f93c4d89bf065017cc8c9232" } }, "4c6c18b8b57b4f4ca7c6e476c8035f6c": { "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_74faf49408044e1a8b266f369a86af57", "placeholder": "​", "style": "IPY_MODEL_527fdd9c12bd44ea816415e0bc7c6ca6", "value": "model.safetensors: 100%" } }, "7678debe5e8047da87e026a45b887533": { "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_cbf7a09018a6484fb9d0f794526ef297", "max": 470637416, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_df4bb03ccba74281a2f0dc28f225ef6a", "value": 470637416 } }, "c0b834f8405847f186aa00e8b39c5618": { "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_9e6d3d6646b54aa4996e1fd03b2eb487", "placeholder": "​", "style": "IPY_MODEL_633777bd3e864d9ebc79d40217609d11", "value": " 471M/471M [00:02<00:00, 265MB/s]" } }, "3fa77d05f93c4d89bf065017cc8c9232": { "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 } }, "74faf49408044e1a8b266f369a86af57": { "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 } }, "527fdd9c12bd44ea816415e0bc7c6ca6": { "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": "" } }, "cbf7a09018a6484fb9d0f794526ef297": { "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 } }, "df4bb03ccba74281a2f0dc28f225ef6a": { "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": "" } }, "9e6d3d6646b54aa4996e1fd03b2eb487": { "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 } }, "633777bd3e864d9ebc79d40217609d11": { "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": "" } }, "d65ea3adcc96419c82c8479239841f69": { "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_a577f41a7de74169b7a550a69dd1739c", "IPY_MODEL_dd9c1b73fece4d6d91db3d7b9609aa32", "IPY_MODEL_386b14d5fd04407da2b09e9b6064daca" ], "layout": "IPY_MODEL_ff52fcca671a4ccb986af274352250d0" } }, "a577f41a7de74169b7a550a69dd1739c": { "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_d65fcde740914b1594e491e611aa4893", "placeholder": "​", "style": "IPY_MODEL_1d404e6d44a54088a85434f9d71fcd86", "value": "sentence_bert_config.json: 100%" } }, "dd9c1b73fece4d6d91db3d7b9609aa32": { "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_3c4b72aac9064cdebb793b4f5b8aaae1", "max": 53, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_fb8b5f9eba394bdf8bdc810ed7c40897", "value": 53 } }, "386b14d5fd04407da2b09e9b6064daca": { "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_6c6887daa8f94759a69a66ccb2c1efd4", "placeholder": "​", "style": "IPY_MODEL_e04b39401f0d41c1aa165602679c0570", "value": " 53.0/53.0 [00:00<00:00, 3.81kB/s]" } }, "ff52fcca671a4ccb986af274352250d0": { "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 } }, "d65fcde740914b1594e491e611aa4893": { "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 } }, "1d404e6d44a54088a85434f9d71fcd86": { "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": "" } }, "3c4b72aac9064cdebb793b4f5b8aaae1": { "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 } }, "fb8b5f9eba394bdf8bdc810ed7c40897": { "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": "" } }, "6c6887daa8f94759a69a66ccb2c1efd4": { "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 } }, "e04b39401f0d41c1aa165602679c0570": { "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": "" } }, "5940beb062784f369d2d5bca61b2c4df": { "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_9b4dc8d79a8f44de9d687cdd4541c2b0", "IPY_MODEL_39a639fd940846d88f229785355e3279", "IPY_MODEL_dff2333fb9b243a48c2839fac983ca33" ], "layout": "IPY_MODEL_863c43ecb86c43d0bab02a614333b78a" } }, "9b4dc8d79a8f44de9d687cdd4541c2b0": { "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_94193dcefd1b4823a4708faa3c32f302", "placeholder": "​", "style": "IPY_MODEL_3d2c695971dc4d51bf62ebfc6da78513", "value": "sentencepiece.bpe.model: 100%" } }, "39a639fd940846d88f229785355e3279": { "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_a748a86b0913405394c4e39f84ceeb6c", "max": 5069051, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_1127274eb4d24055ac34ccddb0350176", "value": 5069051 } }, "dff2333fb9b243a48c2839fac983ca33": { "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_4b5f884069c2491da2067dc8918403ae", "placeholder": "​", "style": "IPY_MODEL_f2e8f82c92a94593ac648ad8afd7041a", "value": " 5.07M/5.07M [00:00<00:00, 105MB/s]" } }, "863c43ecb86c43d0bab02a614333b78a": { "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 } }, "94193dcefd1b4823a4708faa3c32f302": { "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 } }, "3d2c695971dc4d51bf62ebfc6da78513": { "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": "" } }, "a748a86b0913405394c4e39f84ceeb6c": { "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 } }, "1127274eb4d24055ac34ccddb0350176": { "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": "" } }, "4b5f884069c2491da2067dc8918403ae": { "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 } }, "f2e8f82c92a94593ac648ad8afd7041a": { "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": "" } }, "ad890d8b437b4dd3998700994b03f4fe": { "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_8582b630f5ee4d16aca32671c1b72e21", "IPY_MODEL_db0beb4e26e3477ebf3da897d3c7909b", "IPY_MODEL_c9494f7726a84ae898d35a5bf2d8a43a" ], "layout": "IPY_MODEL_3e3da7e8e09340a1993cb5030c48d53b" } }, "8582b630f5ee4d16aca32671c1b72e21": { "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_be6cfa79cf6d4f8a84d8d3a6c7e95a14", "placeholder": "​", "style": "IPY_MODEL_0036f0205e8045ea8b19ea0da01abc03", "value": "special_tokens_map.json: 100%" } }, "db0beb4e26e3477ebf3da897d3c7909b": { "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_207a64ecba944ec1ab47a255a3e9dbcf", "max": 965, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_7c0f11b44eee4fe5a3c24bc25a7701b9", "value": 965 } }, "c9494f7726a84ae898d35a5bf2d8a43a": { "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_9f3f5e590f3641618866c2d084ffbe85", "placeholder": "​", "style": "IPY_MODEL_bacc87d9385b4bbb82c43e67650a28de", "value": " 965/965 [00:00<00:00, 66.1kB/s]" } }, "3e3da7e8e09340a1993cb5030c48d53b": { "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 } }, "be6cfa79cf6d4f8a84d8d3a6c7e95a14": { "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 } }, "0036f0205e8045ea8b19ea0da01abc03": { "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": "" } }, "207a64ecba944ec1ab47a255a3e9dbcf": { "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 } }, "7c0f11b44eee4fe5a3c24bc25a7701b9": { "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": "" } }, "9f3f5e590f3641618866c2d084ffbe85": { "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 } }, "bacc87d9385b4bbb82c43e67650a28de": { "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": "" } }, "73b15ed691fd4633ad3638d901ce1d49": { "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_586119cdb98546b2a89a9a92b63e28ff", "IPY_MODEL_9f8f61f88f8e462e8a586364fc7c68ca", "IPY_MODEL_bd7d712d12934b98814783b95a4b111c" ], "layout": "IPY_MODEL_b53b72cfdb7a4d2da122f24e2cb357bc" } }, "586119cdb98546b2a89a9a92b63e28ff": { "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_32a5fd065f8a45f280803dd0a38a0356", "placeholder": "​", "style": "IPY_MODEL_133196f9a4644d8db998c2c6d7c822e0", "value": "tokenizer.json: 100%" } }, "9f8f61f88f8e462e8a586364fc7c68ca": { "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_c256f715514d42549218b5d88a3bade1", "max": 17083075, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_082fcee1d3484cf789616217aa3958b5", "value": 17083075 } }, "bd7d712d12934b98814783b95a4b111c": { "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_c662017794c44b5a8e6155485bbdbe50", "placeholder": "​", "style": "IPY_MODEL_d27bdd0fae8d4a6b99af8412459f98ee", "value": " 17.1M/17.1M [00:00<00:00, 177MB/s]" } }, "b53b72cfdb7a4d2da122f24e2cb357bc": { "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 } }, "32a5fd065f8a45f280803dd0a38a0356": { "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 } }, "133196f9a4644d8db998c2c6d7c822e0": { "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": "" } }, "c256f715514d42549218b5d88a3bade1": { "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 } }, "082fcee1d3484cf789616217aa3958b5": { "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": "" } }, "c662017794c44b5a8e6155485bbdbe50": { "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 } }, "d27bdd0fae8d4a6b99af8412459f98ee": { "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": "" } }, "86e146dceb9c444fbcb9e9b18db3ed1d": { "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_019ec8ff4a614dc286af2a2a4e0209e4", "IPY_MODEL_3e56c7590498469eae558f7e00a033fb", "IPY_MODEL_73e9a30e304d43379f725c17b615195f" ], "layout": "IPY_MODEL_62443b6578e84670afbc6ff7fc99ddab" } }, "019ec8ff4a614dc286af2a2a4e0209e4": { "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_05905e52a05d49f7a7db507dba306728", "placeholder": "​", "style": "IPY_MODEL_746fbba137df4bd3b95486613b731011", "value": "tokenizer_config.json: 100%" } }, "3e56c7590498469eae558f7e00a033fb": { "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_5471c4691688488396fa6385be979bfb", "max": 1173, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_e7cdc6b06db34073ace173810b44b04d", "value": 1173 } }, "73e9a30e304d43379f725c17b615195f": { "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_c2790469312b493cb80fea1a2fdf0963", "placeholder": "​", "style": "IPY_MODEL_83871fe1dea04c3f9c71d56d68eaea62", "value": " 1.17k/1.17k [00:00<00:00, 48.9kB/s]" } }, "62443b6578e84670afbc6ff7fc99ddab": { "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 } }, "05905e52a05d49f7a7db507dba306728": { "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 } }, "746fbba137df4bd3b95486613b731011": { "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": "" } }, "5471c4691688488396fa6385be979bfb": { "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 } }, "e7cdc6b06db34073ace173810b44b04d": { "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": "" } }, "c2790469312b493cb80fea1a2fdf0963": { "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 } }, "83871fe1dea04c3f9c71d56d68eaea62": { "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": "" } }, "1fb17227158f433482943d59fd49429e": { "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_22eb11e843bd4c41b890728b306f026c", "IPY_MODEL_38d123716af940d7b798bb7f93872346", "IPY_MODEL_8f16daf019624046924408cfd7835820" ], "layout": "IPY_MODEL_176b96bdb7e94baa9a7533a6d7a2e3f5" } }, "22eb11e843bd4c41b890728b306f026c": { "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_5085db956ef94dd8a37655eb4468a40b", "placeholder": "​", "style": "IPY_MODEL_a885bce99c754808ab9c4a2cf934a45c", "value": "config.json: 100%" } }, "38d123716af940d7b798bb7f93872346": { "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_88c14058813e4c9bb07263d8a1ba7ba5", "max": 190, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_84bbc48152d64cf0ade10f45dd669ee0", "value": 190 } }, "8f16daf019624046924408cfd7835820": { "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_c2a298fd45154e769373e4420078b537", "placeholder": "​", "style": "IPY_MODEL_7eca8790417c4017b130ddde61484e18", "value": " 190/190 [00:00<00:00, 8.11kB/s]" } }, "176b96bdb7e94baa9a7533a6d7a2e3f5": { "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 } }, "5085db956ef94dd8a37655eb4468a40b": { "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 } }, "a885bce99c754808ab9c4a2cf934a45c": { "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": "" } }, "88c14058813e4c9bb07263d8a1ba7ba5": { "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 } }, "84bbc48152d64cf0ade10f45dd669ee0": { "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": "" } }, "c2a298fd45154e769373e4420078b537": { "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 } }, "7eca8790417c4017b130ddde61484e18": { "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": "" } }, "a22131180314427fbf3e22909f496732": { "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_be62907c1fac43b6baea259975e36f01", "IPY_MODEL_da711b1cf65a4b53a17d464dc0f8bbe4", "IPY_MODEL_19a0497ced874ff988e239ccc8e1301c" ], "layout": "IPY_MODEL_27a46269a9544d58aeac6767f1a06267" } }, "be62907c1fac43b6baea259975e36f01": { "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_2d39fe7d9ec8408a89231f6ea4831314", "placeholder": "​", "style": "IPY_MODEL_81a8ca69f38f4c50a44c63784e1ab671", "value": "config.json: 100%" } }, "da711b1cf65a4b53a17d464dc0f8bbe4": { "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_9d75d9b8cde0423885f81c1d464b13bd", "max": 114, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_ea6c06e853794ee48a32e2a45aa0f1ab", "value": 114 } }, "19a0497ced874ff988e239ccc8e1301c": { "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_148b417a295541b8b70fa44c0907ce3a", "placeholder": "​", "style": "IPY_MODEL_edf42273db374842b85855754b79f012", "value": " 114/114 [00:00<00:00, 5.13kB/s]" } }, "27a46269a9544d58aeac6767f1a06267": { "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 } }, "2d39fe7d9ec8408a89231f6ea4831314": { "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 } }, "81a8ca69f38f4c50a44c63784e1ab671": { "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": "" } }, "9d75d9b8cde0423885f81c1d464b13bd": { "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 } }, "ea6c06e853794ee48a32e2a45aa0f1ab": { "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": "" } }, "148b417a295541b8b70fa44c0907ce3a": { "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 } }, "edf42273db374842b85855754b79f012": { "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": "" } }, "791c8fa4e54c421d813b920d5883ea5e": { "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_3e904c5929e948f1a1e688218d6fe5cf", "IPY_MODEL_78537f1ade8b4fa99629070bda48020e", "IPY_MODEL_05b46358966143c29a6f280d52a72644" ], "layout": "IPY_MODEL_9001fc7b962e4dc2bebd8c49030c82ad" } }, "3e904c5929e948f1a1e688218d6fe5cf": { "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_886682ae58794f9980f34884f739c67f", "placeholder": "​", "style": "IPY_MODEL_2602fe41a3d340d3a9d13de4723618d0", "value": "pytorch_model.bin: 100%" } }, "78537f1ade8b4fa99629070bda48020e": { "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_86f5276c3a334abda8eede0bc7629555", "max": 1184380, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_54c9303a545446ba98453492f83c73af", "value": 1184380 } }, "05b46358966143c29a6f280d52a72644": { "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_a4c7613ca10d48e69aafcda24c58f9b9", "placeholder": "​", "style": "IPY_MODEL_d1b739d2e978428ea0aed272a401db18", "value": " 1.18M/1.18M [00:00<00:00, 40.2MB/s]" } }, "9001fc7b962e4dc2bebd8c49030c82ad": { "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 } }, "886682ae58794f9980f34884f739c67f": { "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 } }, "2602fe41a3d340d3a9d13de4723618d0": { "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": "" } }, "86f5276c3a334abda8eede0bc7629555": { "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 } }, "54c9303a545446ba98453492f83c73af": { "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": "" } }, "a4c7613ca10d48e69aafcda24c58f9b9": { "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 } }, "d1b739d2e978428ea0aed272a401db18": { "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": "" } }, "2798320def204045a159892080a8930c": { "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_492e433b88694cf0a1274f49f0880758", "IPY_MODEL_584688e080c94f9aab9750cb34a260b5", "IPY_MODEL_f6398eebef884feab7ad92f4e3fc9713" ], "layout": "IPY_MODEL_fafa54f0eecf45deba71fc80e43ffae6" } }, "492e433b88694cf0a1274f49f0880758": { "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_394245fea6614f5b9be1490c05ddfa71", "placeholder": "​", "style": "IPY_MODEL_a275ceedc2ac456d8569f55d52e07fd5", "value": "README.md: 100%" } }, "584688e080c94f9aab9750cb34a260b5": { "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_4999d5814f4a4978bd57edd3c41aec21", "max": 2541, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_51b563649e1c44eda2532510aa74c0b4", "value": 2541 } }, "f6398eebef884feab7ad92f4e3fc9713": { "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_48b420a152cb4d1fa7ce6d62db7d5a4e", "placeholder": "​", "style": "IPY_MODEL_ba7c642d8dba4e4e973587055f2aa759", "value": " 2.54k/2.54k [00:00<00:00, 111kB/s]" } }, "fafa54f0eecf45deba71fc80e43ffae6": { "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 } }, "394245fea6614f5b9be1490c05ddfa71": { "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 } }, "a275ceedc2ac456d8569f55d52e07fd5": { "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": "" } }, "4999d5814f4a4978bd57edd3c41aec21": { "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 } }, "51b563649e1c44eda2532510aa74c0b4": { "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": "" } }, "48b420a152cb4d1fa7ce6d62db7d5a4e": { "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 } }, "ba7c642d8dba4e4e973587055f2aa759": { "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": "" } }, "e233591c4b654d81859f2accaa1ff3a4": { "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_2f71e4f799504760844e5f1faaeb0073", "IPY_MODEL_7407107c5756468c925ec1810b35f600", "IPY_MODEL_07f68d4071d24200a66535414e010213" ], "layout": "IPY_MODEL_e1a9a5e18a5b43f6b26596928dc87d2f" } }, "2f71e4f799504760844e5f1faaeb0073": { "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_ae7c68fc75944c45ac6dcf26a5119cb2", "placeholder": "​", "style": "IPY_MODEL_6ec7fd9e180e4430b01ed6e555b0162a", "value": "config_sentence_transformers.json: 100%" } }, "7407107c5756468c925ec1810b35f600": { "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_f4f231010a144e4faeb6588f7363fc95", "max": 123, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_91d0bfab08144ea183b407afa2b37b25", "value": 123 } }, "07f68d4071d24200a66535414e010213": { "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_7f3d874e95b748859c88e98e648dd31c", "placeholder": "​", "style": "IPY_MODEL_19628b41b7dd4c4087e35ed3397a0c4d", "value": " 123/123 [00:00<00:00, 4.59kB/s]" } }, "e1a9a5e18a5b43f6b26596928dc87d2f": { "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 } }, "ae7c68fc75944c45ac6dcf26a5119cb2": { "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 } }, "6ec7fd9e180e4430b01ed6e555b0162a": { "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": "" } }, "f4f231010a144e4faeb6588f7363fc95": { "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 } }, "91d0bfab08144ea183b407afa2b37b25": { "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": "" } }, "7f3d874e95b748859c88e98e648dd31c": { "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 } }, "19628b41b7dd4c4087e35ed3397a0c4d": { "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": "" } }, "083e325ba1694f3897cd53854958669e": { "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_8b3d72d99e234152b2f97f696d6b1571", "IPY_MODEL_585a097199e844a39a7fdbaae2516822", "IPY_MODEL_9825e08e3039457eadf32577ffbb7106" ], "layout": "IPY_MODEL_f0874977986d411380ba33705f4a6bc7" } }, "8b3d72d99e234152b2f97f696d6b1571": { "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_ddbe19488d7e47899451b49be503fc3a", "placeholder": "​", "style": "IPY_MODEL_65e1ca6125ee4befbed687c63ba02699", "value": "eval/similarity_evaluation_results.csv: 100%" } }, "585a097199e844a39a7fdbaae2516822": { "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_213962450b674bc388aef1a27790278e", "max": 3296, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_44136c9a57c0406bb8049358349b24aa", "value": 3296 } }, "9825e08e3039457eadf32577ffbb7106": { "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_5ea62904569049f3986900415b2b6c91", "placeholder": "​", "style": "IPY_MODEL_8023a52c57be45569cd0b235532cc0f3", "value": " 3.30k/3.30k [00:00<00:00, 128kB/s]" } }, "f0874977986d411380ba33705f4a6bc7": { "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 } }, "ddbe19488d7e47899451b49be503fc3a": { "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 } }, "65e1ca6125ee4befbed687c63ba02699": { "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": "" } }, "213962450b674bc388aef1a27790278e": { "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 } }, "44136c9a57c0406bb8049358349b24aa": { "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": "" } }, "5ea62904569049f3986900415b2b6c91": { "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 } }, "8023a52c57be45569cd0b235532cc0f3": { "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": "" } }, "c195ce9eb3534ac1b3cda3e7953f0275": { "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_fb41232a1d4a47a394aa4ca488332351", "IPY_MODEL_4358da66b2ff43ffa06cb1407005dd7b", "IPY_MODEL_125c982b83654564b4c87452cb429567" ], "layout": "IPY_MODEL_3d9cee786c344da6a0d26cd615340b8e" } }, "fb41232a1d4a47a394aa4ca488332351": { "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_d378d40939b8459da8c15e600d656601", "placeholder": "​", "style": "IPY_MODEL_ffa50263831444c6a6468547d3f38725", "value": "modules.json: 100%" } }, "4358da66b2ff43ffa06cb1407005dd7b": { "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_e8e4daecde904c4a9169ae961c63b4d1", "max": 354, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_602246f944724332aa426139d7ab7941", "value": 354 } }, "125c982b83654564b4c87452cb429567": { "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_1471eba908b34d038cd6b51722f6dca1", "placeholder": "​", "style": "IPY_MODEL_d799908c8b9843e8bcb128c615465ae1", "value": " 354/354 [00:00<00:00, 13.3kB/s]" } }, "3d9cee786c344da6a0d26cd615340b8e": { "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 } }, "d378d40939b8459da8c15e600d656601": { "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 } }, "ffa50263831444c6a6468547d3f38725": { "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": "" } }, "e8e4daecde904c4a9169ae961c63b4d1": { "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 } }, "602246f944724332aa426139d7ab7941": { "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": "" } }, "1471eba908b34d038cd6b51722f6dca1": { "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 } }, "d799908c8b9843e8bcb128c615465ae1": { "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": "" } }, "30ccdeaf107845008e5995310cda4662": { "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_834481f436824a938049c54c1f179d44", "IPY_MODEL_8eb3ee9b01be497799b9951b92b204bc", "IPY_MODEL_8ecd99775be549f78fa10e562c3a5e07" ], "layout": "IPY_MODEL_397e379ea5ab4f989502981c1da101bf" } }, "834481f436824a938049c54c1f179d44": { "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_31a238a4447f440abecee55fe719f60a", "placeholder": "​", "style": "IPY_MODEL_cb8bd9f97922428188d36a4021043b4c", "value": "Evaluating: 100%" } }, "8eb3ee9b01be497799b9951b92b204bc": { "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_7f3a2e004afa493bb055a77543a67194", "max": 8, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_a36ee9b5b0aa448ab639611d695337d8", "value": 8 } }, "8ecd99775be549f78fa10e562c3a5e07": { "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_6883d1c4e1474de9bf13f633073130eb", "placeholder": "​", "style": "IPY_MODEL_66c415f21b1a45739c17bf1c1ebc0751", "value": " 8/8 [01:11<00:00,  5.41s/it]" } }, "397e379ea5ab4f989502981c1da101bf": { "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 } }, "31a238a4447f440abecee55fe719f60a": { "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 } }, "cb8bd9f97922428188d36a4021043b4c": { "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": "" } }, "7f3a2e004afa493bb055a77543a67194": { "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 } }, "a36ee9b5b0aa448ab639611d695337d8": { "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": "" } }, "6883d1c4e1474de9bf13f633073130eb": { "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 } }, "66c415f21b1a45739c17bf1c1ebc0751": { "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": "" } }, "6c7cbb2c17244d2da76623bc01178cdc": { "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_d8964d0603be405785d619a224a6c1fd", "IPY_MODEL_f247253052a14a4fb58ef223b3253cf2", "IPY_MODEL_ecf87942737643a284967b836d4e58dd" ], "layout": "IPY_MODEL_acfa9b6699f94f9080e04d05518ae011" } }, "d8964d0603be405785d619a224a6c1fd": { "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_ca9fb13853c54ec48c10aaa9cae7a509", "placeholder": "​", "style": "IPY_MODEL_2e8142062e0543a3a3bbbd2b6a377b76", "value": "Evaluating: 100%" } }, "f247253052a14a4fb58ef223b3253cf2": { "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_675acf7a1c544044a48efc2ff3e0f894", "max": 8, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_db2218a7622a4f669b168a2abcbbcc38", "value": 8 } }, "ecf87942737643a284967b836d4e58dd": { "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_6db0db3257734e93b6d1946019221ecb", "placeholder": "​", "style": "IPY_MODEL_649da718a9204b6688ed4772a4d6e7d3", "value": " 8/8 [01:23<00:00,  6.56s/it]" } }, "acfa9b6699f94f9080e04d05518ae011": { "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 } }, "ca9fb13853c54ec48c10aaa9cae7a509": { "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 } }, "2e8142062e0543a3a3bbbd2b6a377b76": { "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": "" } }, "675acf7a1c544044a48efc2ff3e0f894": { "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 } }, "db2218a7622a4f669b168a2abcbbcc38": { "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": "" } }, "6db0db3257734e93b6d1946019221ecb": { "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 } }, "649da718a9204b6688ed4772a4d6e7d3": { "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": "" } }, "b62f08faa58f498dacf35875c41920f7": { "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_23c0bba0ac0e474c94c581048141003d", "IPY_MODEL_75de947c15544c3f8001e92665d7d784", "IPY_MODEL_a631a7d9211247bdb3e54089cce5056f" ], "layout": "IPY_MODEL_a332c1e42887434e9007185c2ba2c2f8" } }, "23c0bba0ac0e474c94c581048141003d": { "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_828d53a6c3e34bcba72ca059bc739128", "placeholder": "​", "style": "IPY_MODEL_637b6aa515bd4666b5fdd2231761c907", "value": "Evaluating: 100%" } }, "75de947c15544c3f8001e92665d7d784": { "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_dfefa0402ad7484b871eea876853b24c", "max": 8, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_4bc6f57683234ec78fed1949ceea8ee2", "value": 8 } }, "a631a7d9211247bdb3e54089cce5056f": { "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_b7e8d092daa9467593bf3d58b1d024dd", "placeholder": "​", "style": "IPY_MODEL_a11154b772fd44d4921af74f2fd1d7a2", "value": " 8/8 [01:31<00:00,  4.19s/it]" } }, "a332c1e42887434e9007185c2ba2c2f8": { "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 } }, "828d53a6c3e34bcba72ca059bc739128": { "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 } }, "637b6aa515bd4666b5fdd2231761c907": { "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": "" } }, "dfefa0402ad7484b871eea876853b24c": { "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 } }, "4bc6f57683234ec78fed1949ceea8ee2": { "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": "" } }, "b7e8d092daa9467593bf3d58b1d024dd": { "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 } }, "a11154b772fd44d4921af74f2fd1d7a2": { "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": "" } }, "8a00105902fb44959ba4061420778625": { "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_6296cf18a2ec4caca36d023634c31009", "IPY_MODEL_fdaf88b2c0a14633b39b4a86e3cb2f7a", "IPY_MODEL_9ff4559ff4d04a57a83b799b9501603b" ], "layout": "IPY_MODEL_ae7baa212f974d748c253491a4647f1a" } }, "6296cf18a2ec4caca36d023634c31009": { "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_147b4c87f1a94838bf6f64000457680d", "placeholder": "​", "style": "IPY_MODEL_2871fbdd4fa740ce8e22efe5e192a97d", "value": "Evaluating: 100%" } }, "fdaf88b2c0a14633b39b4a86e3cb2f7a": { "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_801605e758ad40c38402ba3651d04ce1", "max": 8, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_17fb798d000649448fce24145b1c4149", "value": 8 } }, "9ff4559ff4d04a57a83b799b9501603b": { "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_6fab360fe8ce4f8ab4e18e02b614a934", "placeholder": "​", "style": "IPY_MODEL_fb90c28315174617bb3d33783c71cbf8", "value": " 8/8 [01:51<00:00, 12.44s/it]" } }, "ae7baa212f974d748c253491a4647f1a": { "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 } }, "147b4c87f1a94838bf6f64000457680d": { "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 } }, "2871fbdd4fa740ce8e22efe5e192a97d": { "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": "" } }, "801605e758ad40c38402ba3651d04ce1": { "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 } }, "17fb798d000649448fce24145b1c4149": { "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": "" } }, "6fab360fe8ce4f8ab4e18e02b614a934": { "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 } }, "fb90c28315174617bb3d33783c71cbf8": { "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": "" } }, "26cefec2eb4741eba341c645226f691b": { "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_b874ac20a5ae4860b29c1a453e91682a", "IPY_MODEL_2f329acbdf4847be91b29a71741e7c2b", "IPY_MODEL_513101c19fda4cabb7316616fefde18c" ], "layout": "IPY_MODEL_8fe33a76f03747239d26a01fc88f6fc1" } }, "b874ac20a5ae4860b29c1a453e91682a": { "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_b718bed5ba8d41e4862aa083cb769f70", "placeholder": "​", "style": "IPY_MODEL_de07456f8baa4dbbae6977393536b331", "value": "Evaluating: 100%" } }, "2f329acbdf4847be91b29a71741e7c2b": { "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_611252fb49d94b498ef083b4e7ebf918", "max": 4, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_c39075964bb3486eb75e2c85de8b9901", "value": 4 } }, "513101c19fda4cabb7316616fefde18c": { "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_faf342dc05a747e99ab487c4334837dc", "placeholder": "​", "style": "IPY_MODEL_6640bdc0859044479676ae2edbe2868e", "value": " 4/4 [01:15<00:00, 18.58s/it]" } }, "8fe33a76f03747239d26a01fc88f6fc1": { "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 } }, "b718bed5ba8d41e4862aa083cb769f70": { "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 } }, "de07456f8baa4dbbae6977393536b331": { "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": "" } }, "611252fb49d94b498ef083b4e7ebf918": { "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 } }, "c39075964bb3486eb75e2c85de8b9901": { "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": "" } }, "faf342dc05a747e99ab487c4334837dc": { "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 } }, "6640bdc0859044479676ae2edbe2868e": { "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": "" } } } }, "accelerator": "GPU" }, "nbformat": 4, "nbformat_minor": 0 }