{ "metadata": { "kernelspec": { "display_name": "Python 3", "name": "python3" }, "language_info": { "name": "python", "version": "3.7.12", "mimetype": "text/x-python", "codemirror_mode": { "name": "ipython", "version": 3 }, "pygments_lexer": "ipython3", "nbconvert_exporter": "python", "file_extension": ".py" }, "colab": { "provenance": [], "gpuType": "T4" }, "accelerator": "GPU" }, "nbformat_minor": 0, "nbformat": 4, "cells": [ { "cell_type": "markdown", "source": [ "# Document Question-Answer [h2oGPT](https://github.com/h2oai/h2ogpt)\n", "\n", "In this notebook, we demonstrate how one can use h2oGPT with a large language model.\n", "\n", "To begin, please get free ngrok account to get auth token (e.g.) using your Google email/login and get token: https://dashboard.ngrok.com/get-started/setup . You will be asked for this token below in an input box." ], "metadata": { "id": "a5WqLjn4-chc" } }, { "cell_type": "code", "source": [ "!git clone https://github.com/h2oai/h2ogpt.git\n", "!cd h2ogpt && git checkout 2668694581347b0d1afe76760213db46f7214126 -q\n", "!cp -ar h2ogpt/. ./\n", "!rm -r h2ogpt" ], "metadata": { "execution": { "iopub.status.busy": "2023-04-19T05:04:22.652611Z", "iopub.execute_input": "2023-04-19T05:04:22.653611Z", "iopub.status.idle": "2023-04-19T05:04:28.381885Z", "shell.execute_reply.started": "2023-04-19T05:04:22.653556Z", "shell.execute_reply": "2023-04-19T05:04:28.380315Z" }, "trusted": true, "colab": { "base_uri": "https://localhost:8080/" }, "id": "CD1TvqW8-che", "outputId": "29c8e403-b92e-4e16-c2d7-391aac87531c" }, "execution_count": null, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "Cloning into 'h2ogpt'...\n", "remote: Enumerating objects: 9204, done.\u001b[K\n", "remote: Counting objects: 100% (1703/1703), done.\u001b[K\n", "remote: Compressing objects: 100% (375/375), done.\u001b[K\n", "remote: Total 9204 (delta 1413), reused 1496 (delta 1322), pack-reused 7501\u001b[K\n", "Receiving objects: 100% (9204/9204), 16.93 MiB | 18.04 MiB/s, done.\n", "Resolving deltas: 100% (6161/6161), done.\n" ] } ] }, { "cell_type": "code", "source": [ "# Install pyhon 3.10 that will be used within pipenv\n", "!sudo add-apt-repository ppa:deadsnakes/ppa -y > /dev/null\n", "!sudo apt install python3.10 python3.10-distutils psmisc -y > /dev/null\n", "!curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 > /dev/null" ], "metadata": { "execution": { "iopub.status.busy": "2023-04-19T05:04:36.253404Z", "iopub.execute_input": "2023-04-19T05:04:36.254498Z", "iopub.status.idle": "2023-04-19T05:09:08.846475Z", "shell.execute_reply.started": "2023-04-19T05:04:36.254436Z", "shell.execute_reply": "2023-04-19T05:09:08.844973Z" }, "trusted": true, "colab": { "base_uri": "https://localhost:8080/" }, "id": "YWdHujUB-chf", "outputId": "ad630c15-6ca5-4137-9647-d8afa28cef89" }, "execution_count": null, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "\n", "WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n", "\n", "\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n", "\u001b[0m" ] } ] }, { "cell_type": "code", "source": [ "# Install dependencies\n", "!for fil in requirements.txt reqs_optional/requirements_optional_langchain.txt reqs_optional/requirements_optional_gpt4all.txt reqs_optional/requirements_optional_langchain.gpllike.txt reqs_optional/requirements_optional_langchain.urls.txt ; do pip install -r $fil ; done\n" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "RGWAnUt2sA-V", "outputId": "d56792f7-c96e-4f3e-89fa-870acbecd35f" }, "execution_count": null, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "Collecting git+https://github.com/huggingface/peft.git@0b62b4378b4ce9367932c73540349da9a41bdea8 (from -r requirements.txt (line 22))\n", " Cloning https://github.com/huggingface/peft.git (to revision 0b62b4378b4ce9367932c73540349da9a41bdea8) to /tmp/pip-req-build-kodjnz4z\n", " Running command git clone --filter=blob:none --quiet https://github.com/huggingface/peft.git /tmp/pip-req-build-kodjnz4z\n", " Running command git rev-parse -q --verify 'sha^0b62b4378b4ce9367932c73540349da9a41bdea8'\n", " Running command git fetch -q https://github.com/huggingface/peft.git 0b62b4378b4ce9367932c73540349da9a41bdea8\n", " Running command git checkout -q 0b62b4378b4ce9367932c73540349da9a41bdea8\n", " Resolved https://github.com/huggingface/peft.git to commit 0b62b4378b4ce9367932c73540349da9a41bdea8\n", " Installing build dependencies ... \u001b[?25l\u001b[?25hdone\n", " Getting requirements to build wheel ... \u001b[?25l\u001b[?25hdone\n", " Preparing metadata (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n", "Ignoring pypandoc: markers 'sys_platform == \"darwin\" and platform_machine == \"arm64\"' don't match your environment\n", "Collecting datasets==2.13.0 (from -r requirements.txt (line 2))\n", " Downloading datasets-2.13.0-py3-none-any.whl (485 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m485.6/485.6 kB\u001b[0m \u001b[31m19.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting sentencepiece==0.1.99 (from -r requirements.txt (line 3))\n", " Downloading sentencepiece-0.1.99-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.3/1.3 MB\u001b[0m \u001b[31m70.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting gradio==3.35.2 (from -r requirements.txt (line 4))\n", " Downloading gradio-3.35.2-py3-none-any.whl (19.7 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m19.7/19.7 MB\u001b[0m \u001b[31m52.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting huggingface_hub==0.15.1 (from -r requirements.txt (line 5))\n", " Downloading huggingface_hub-0.15.1-py3-none-any.whl (236 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m236.8/236.8 kB\u001b[0m \u001b[31m27.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: appdirs==1.4.4 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 6)) (1.4.4)\n", "Collecting fire==0.5.0 (from -r requirements.txt (line 7))\n", " Downloading fire-0.5.0.tar.gz (88 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m88.3/88.3 kB\u001b[0m \u001b[31m10.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "Collecting docutils==0.20.1 (from -r requirements.txt (line 8))\n", " Downloading docutils-0.20.1-py3-none-any.whl (572 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m572.7/572.7 kB\u001b[0m \u001b[31m48.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: torch==2.0.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 9)) (2.0.1+cu118)\n", "Collecting evaluate==0.4.0 (from -r requirements.txt (line 10))\n", " Downloading evaluate-0.4.0-py3-none-any.whl (81 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m81.4/81.4 kB\u001b[0m \u001b[31m11.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting rouge_score==0.1.2 (from -r requirements.txt (line 11))\n", " Downloading rouge_score-0.1.2.tar.gz (17 kB)\n", " Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "Collecting sacrebleu==2.3.1 (from -r requirements.txt (line 12))\n", " Downloading sacrebleu-2.3.1-py3-none-any.whl (118 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m118.9/118.9 kB\u001b[0m \u001b[31m15.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: scikit-learn==1.2.2 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 13)) (1.2.2)\n", "Collecting alt-profanity-check==1.2.2 (from -r requirements.txt (line 14))\n", " Downloading alt-profanity-check-1.2.2.tar.gz (1.9 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.9/1.9 MB\u001b[0m \u001b[31m86.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "Collecting better-profanity==0.7.0 (from -r requirements.txt (line 15))\n", " Downloading better_profanity-0.7.0-py3-none-any.whl (46 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m46.1/46.1 kB\u001b[0m \u001b[31m5.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting numpy==1.24.3 (from -r requirements.txt (line 16))\n", " Downloading numpy-1.24.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m17.3/17.3 MB\u001b[0m \u001b[31m80.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting pandas==2.0.2 (from -r requirements.txt (line 17))\n", " Downloading pandas-2.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.3 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m12.3/12.3 MB\u001b[0m \u001b[31m93.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: matplotlib==3.7.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 18)) (3.7.1)\n", "Collecting loralib==0.1.1 (from -r requirements.txt (line 19))\n", " Downloading loralib-0.1.1-py3-none-any.whl (8.8 kB)\n", "Collecting bitsandbytes==0.39.0 (from -r requirements.txt (line 20))\n", " Downloading bitsandbytes-0.39.0-py3-none-any.whl (92.2 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m92.2/92.2 MB\u001b[0m \u001b[31m10.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting accelerate==0.20.3 (from -r requirements.txt (line 21))\n", " Downloading accelerate-0.20.3-py3-none-any.whl (227 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m227.6/227.6 kB\u001b[0m \u001b[31m25.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting transformers==4.30.2 (from -r requirements.txt (line 23))\n", " Downloading transformers-4.30.2-py3-none-any.whl (7.2 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m7.2/7.2 MB\u001b[0m \u001b[31m88.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting tokenizers==0.13.3 (from -r requirements.txt (line 24))\n", " Downloading tokenizers-0.13.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.8 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m7.8/7.8 MB\u001b[0m \u001b[31m36.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting APScheduler==3.10.1 (from -r requirements.txt (line 25))\n", " Downloading APScheduler-3.10.1-py3-none-any.whl (59 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m59.2/59.2 kB\u001b[0m \u001b[31m7.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting pynvml==11.5.0 (from -r requirements.txt (line 28))\n", " Downloading pynvml-11.5.0-py3-none-any.whl (53 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m53.1/53.1 kB\u001b[0m \u001b[31m5.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: psutil==5.9.5 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 29)) (5.9.5)\n", "Collecting boto3==1.26.101 (from -r requirements.txt (line 30))\n", " Downloading boto3-1.26.101-py3-none-any.whl (135 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m135.5/135.5 kB\u001b[0m \u001b[31m15.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting botocore==1.29.101 (from -r requirements.txt (line 31))\n", " Downloading botocore-1.29.101-py3-none-any.whl (10.6 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m10.6/10.6 MB\u001b[0m \u001b[31m95.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting tensorboard==2.13.0 (from -r requirements.txt (line 34))\n", " Downloading tensorboard-2.13.0-py3-none-any.whl (5.6 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m5.6/5.6 MB\u001b[0m \u001b[31m98.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting neptune==1.2.0 (from -r requirements.txt (line 35))\n", " Downloading neptune-1.2.0-py3-none-any.whl (448 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m448.1/448.1 kB\u001b[0m \u001b[31m51.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting gradio_client==0.2.7 (from -r requirements.txt (line 38))\n", " Downloading gradio_client-0.2.7-py3-none-any.whl (288 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m288.4/288.4 kB\u001b[0m \u001b[31m32.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting beautifulsoup4==4.12.2 (from -r requirements.txt (line 39))\n", " Downloading beautifulsoup4-4.12.2-py3-none-any.whl (142 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m143.0/143.0 kB\u001b[0m \u001b[31m18.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: markdown==3.4.3 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 40)) (3.4.3)\n", "Requirement already satisfied: pytest==7.2.2 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 43)) (7.2.2)\n", "Collecting pytest-xdist==3.2.1 (from -r requirements.txt (line 44))\n", " Downloading pytest_xdist-3.2.1-py3-none-any.whl (41 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m41.0/41.0 kB\u001b[0m \u001b[31m5.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: nltk==3.8.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 45)) (3.8.1)\n", "Collecting textstat==0.7.3 (from -r requirements.txt (line 46))\n", " Downloading textstat-0.7.3-py3-none-any.whl (105 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m105.1/105.1 kB\u001b[0m \u001b[31m14.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting pypandoc_binary==1.11 (from -r requirements.txt (line 49))\n", " Downloading pypandoc_binary-1.11-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m17.1/17.1 MB\u001b[0m \u001b[31m102.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting openpyxl==3.1.2 (from -r requirements.txt (line 50))\n", " Downloading openpyxl-3.1.2-py2.py3-none-any.whl (249 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m250.0/250.0 kB\u001b[0m \u001b[31m31.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting lm_dataformat==0.0.20 (from -r requirements.txt (line 51))\n", " Downloading lm_dataformat-0.0.20-py3-none-any.whl (5.8 kB)\n", "Collecting bioc==2.0 (from -r requirements.txt (line 52))\n", " Downloading bioc-2.0-py3-none-any.whl (4.0 kB)\n", "Collecting einops==0.6.1 (from -r requirements.txt (line 55))\n", " Downloading einops-0.6.1-py3-none-any.whl (42 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m42.2/42.2 kB\u001b[0m \u001b[31m5.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting instructorembedding==1.0.1 (from -r requirements.txt (line 56))\n", " Downloading InstructorEmbedding-1.0.1-py2.py3-none-any.whl (19 kB)\n", "Collecting python-dotenv==1.0.0 (from -r requirements.txt (line 59))\n", " Downloading python_dotenv-1.0.0-py3-none-any.whl (19 kB)\n", "Collecting text-generation==0.6.0 (from -r requirements.txt (line 61))\n", " Downloading text_generation-0.6.0-py3-none-any.whl (10 kB)\n", "Collecting tiktoken==0.4.0 (from -r requirements.txt (line 63))\n", " Downloading tiktoken-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.7/1.7 MB\u001b[0m \u001b[31m96.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting openai==0.27.8 (from -r requirements.txt (line 65))\n", " Downloading openai-0.27.8-py3-none-any.whl (73 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m73.6/73.6 kB\u001b[0m \u001b[31m10.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: pyarrow>=8.0.0 in /usr/local/lib/python3.10/dist-packages (from datasets==2.13.0->-r requirements.txt (line 2)) (9.0.0)\n", "Collecting dill<0.3.7,>=0.3.0 (from datasets==2.13.0->-r requirements.txt (line 2))\n", " Downloading dill-0.3.6-py3-none-any.whl (110 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m110.5/110.5 kB\u001b[0m \u001b[31m16.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: requests>=2.19.0 in /usr/local/lib/python3.10/dist-packages (from datasets==2.13.0->-r requirements.txt (line 2)) (2.27.1)\n", "Requirement already satisfied: tqdm>=4.62.1 in /usr/local/lib/python3.10/dist-packages (from datasets==2.13.0->-r requirements.txt (line 2)) (4.65.0)\n", "Collecting xxhash (from datasets==2.13.0->-r requirements.txt (line 2))\n", " Downloading xxhash-3.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (212 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m212.5/212.5 kB\u001b[0m \u001b[31m24.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting multiprocess (from datasets==2.13.0->-r requirements.txt (line 2))\n", " Downloading multiprocess-0.70.14-py310-none-any.whl (134 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m134.3/134.3 kB\u001b[0m \u001b[31m16.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: fsspec[http]>=2021.11.1 in /usr/local/lib/python3.10/dist-packages (from datasets==2.13.0->-r requirements.txt (line 2)) (2023.6.0)\n", "Requirement already satisfied: aiohttp in /usr/local/lib/python3.10/dist-packages (from datasets==2.13.0->-r requirements.txt (line 2)) (3.8.4)\n", "Requirement already satisfied: packaging in /usr/local/lib/python3.10/dist-packages (from datasets==2.13.0->-r requirements.txt (line 2)) (23.1)\n", "Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.10/dist-packages (from datasets==2.13.0->-r requirements.txt (line 2)) (6.0)\n", "Collecting aiofiles (from gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading aiofiles-23.1.0-py3-none-any.whl (14 kB)\n", "Requirement already satisfied: altair>=4.2.0 in /usr/local/lib/python3.10/dist-packages (from gradio==3.35.2->-r requirements.txt (line 4)) (4.2.2)\n", "Collecting fastapi (from gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading fastapi-0.100.0-py3-none-any.whl (65 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m65.7/65.7 kB\u001b[0m \u001b[31m9.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting ffmpy (from gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading ffmpy-0.3.0.tar.gz (4.8 kB)\n", " Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "Collecting httpx (from gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading httpx-0.24.1-py3-none-any.whl (75 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m75.4/75.4 kB\u001b[0m \u001b[31m8.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: jinja2 in /usr/local/lib/python3.10/dist-packages (from gradio==3.35.2->-r requirements.txt (line 4)) (3.1.2)\n", "Requirement already satisfied: markdown-it-py[linkify]>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from gradio==3.35.2->-r requirements.txt (line 4)) (3.0.0)\n", "Requirement already satisfied: markupsafe in /usr/local/lib/python3.10/dist-packages (from gradio==3.35.2->-r requirements.txt (line 4)) (2.1.3)\n", "Collecting mdit-py-plugins<=0.3.3 (from gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading mdit_py_plugins-0.3.3-py3-none-any.whl (50 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m50.5/50.5 kB\u001b[0m \u001b[31m6.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting orjson (from gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading orjson-3.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (138 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m138.7/138.7 kB\u001b[0m \u001b[31m15.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: pillow in /usr/local/lib/python3.10/dist-packages (from gradio==3.35.2->-r requirements.txt (line 4)) (8.4.0)\n", "Requirement already satisfied: pydantic in /usr/local/lib/python3.10/dist-packages (from gradio==3.35.2->-r requirements.txt (line 4)) (1.10.9)\n", "Collecting pydub (from gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB)\n", "Requirement already satisfied: pygments>=2.12.0 in /usr/local/lib/python3.10/dist-packages (from gradio==3.35.2->-r requirements.txt (line 4)) (2.14.0)\n", "Collecting python-multipart (from gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading python_multipart-0.0.6-py3-none-any.whl (45 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m45.7/45.7 kB\u001b[0m \u001b[31m6.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting semantic-version (from gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)\n", "Collecting uvicorn>=0.14.0 (from gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading uvicorn-0.22.0-py3-none-any.whl (58 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m58.3/58.3 kB\u001b[0m \u001b[31m9.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting websockets>=10.0 (from gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading websockets-11.0.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (129 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m129.9/129.9 kB\u001b[0m \u001b[31m16.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from huggingface_hub==0.15.1->-r requirements.txt (line 5)) (3.12.2)\n", "Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/lib/python3.10/dist-packages (from huggingface_hub==0.15.1->-r requirements.txt (line 5)) (4.6.3)\n", "Requirement already satisfied: six in /usr/local/lib/python3.10/dist-packages (from fire==0.5.0->-r requirements.txt (line 7)) (1.16.0)\n", "Requirement already satisfied: termcolor in /usr/local/lib/python3.10/dist-packages (from fire==0.5.0->-r requirements.txt (line 7)) (2.3.0)\n", "Requirement already satisfied: sympy in /usr/local/lib/python3.10/dist-packages (from torch==2.0.1->-r requirements.txt (line 9)) (1.11.1)\n", "Requirement already satisfied: networkx in /usr/local/lib/python3.10/dist-packages (from torch==2.0.1->-r requirements.txt (line 9)) (3.1)\n", "Requirement already satisfied: triton==2.0.0 in /usr/local/lib/python3.10/dist-packages (from torch==2.0.1->-r requirements.txt (line 9)) (2.0.0)\n", "Collecting responses<0.19 (from evaluate==0.4.0->-r requirements.txt (line 10))\n", " Downloading responses-0.18.0-py3-none-any.whl (38 kB)\n", "Requirement already satisfied: absl-py in /usr/local/lib/python3.10/dist-packages (from rouge_score==0.1.2->-r requirements.txt (line 11)) (1.4.0)\n", "Collecting portalocker (from sacrebleu==2.3.1->-r requirements.txt (line 12))\n", " Downloading portalocker-2.7.0-py2.py3-none-any.whl (15 kB)\n", "Requirement already satisfied: regex in /usr/local/lib/python3.10/dist-packages (from sacrebleu==2.3.1->-r requirements.txt (line 12)) (2022.10.31)\n", "Requirement already satisfied: tabulate>=0.8.9 in /usr/local/lib/python3.10/dist-packages (from sacrebleu==2.3.1->-r requirements.txt (line 12)) (0.8.10)\n", "Collecting colorama (from sacrebleu==2.3.1->-r requirements.txt (line 12))\n", " Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)\n", "Requirement already satisfied: lxml in /usr/local/lib/python3.10/dist-packages (from sacrebleu==2.3.1->-r requirements.txt (line 12)) (4.9.2)\n", "Requirement already satisfied: scipy>=1.3.2 in /usr/local/lib/python3.10/dist-packages (from scikit-learn==1.2.2->-r requirements.txt (line 13)) (1.10.1)\n", "Requirement already satisfied: joblib>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from scikit-learn==1.2.2->-r requirements.txt (line 13)) (1.2.0)\n", "Requirement already satisfied: threadpoolctl>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from scikit-learn==1.2.2->-r requirements.txt (line 13)) (3.1.0)\n", "Requirement already satisfied: python-dateutil>=2.8.2 in /usr/local/lib/python3.10/dist-packages (from pandas==2.0.2->-r requirements.txt (line 17)) (2.8.2)\n", "Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.10/dist-packages (from pandas==2.0.2->-r requirements.txt (line 17)) (2022.7.1)\n", "Collecting tzdata>=2022.1 (from pandas==2.0.2->-r requirements.txt (line 17))\n", " Downloading tzdata-2023.3-py2.py3-none-any.whl (341 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m341.8/341.8 kB\u001b[0m \u001b[31m37.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib==3.7.1->-r requirements.txt (line 18)) (1.1.0)\n", "Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.10/dist-packages (from matplotlib==3.7.1->-r requirements.txt (line 18)) (0.11.0)\n", "Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib==3.7.1->-r requirements.txt (line 18)) (4.40.0)\n", "Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib==3.7.1->-r requirements.txt (line 18)) (1.4.4)\n", "Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib==3.7.1->-r requirements.txt (line 18)) (3.1.0)\n", "Collecting safetensors>=0.3.1 (from transformers==4.30.2->-r requirements.txt (line 23))\n", " Downloading safetensors-0.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.3/1.3 MB\u001b[0m \u001b[31m84.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: setuptools>=0.7 in /usr/local/lib/python3.10/dist-packages (from APScheduler==3.10.1->-r requirements.txt (line 25)) (67.7.2)\n", "Requirement already satisfied: tzlocal!=3.*,>=2.0 in /usr/local/lib/python3.10/dist-packages (from APScheduler==3.10.1->-r requirements.txt (line 25)) (5.0.1)\n", "Collecting jmespath<2.0.0,>=0.7.1 (from boto3==1.26.101->-r requirements.txt (line 30))\n", " Downloading jmespath-1.0.1-py3-none-any.whl (20 kB)\n", "Collecting s3transfer<0.7.0,>=0.6.0 (from boto3==1.26.101->-r requirements.txt (line 30))\n", " Downloading s3transfer-0.6.1-py3-none-any.whl (79 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m79.8/79.8 kB\u001b[0m \u001b[31m10.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: urllib3<1.27,>=1.25.4 in /usr/local/lib/python3.10/dist-packages (from botocore==1.29.101->-r requirements.txt (line 31)) (1.26.16)\n", "Requirement already satisfied: grpcio>=1.48.2 in /usr/local/lib/python3.10/dist-packages (from tensorboard==2.13.0->-r requirements.txt (line 34)) (1.56.0)\n", "Requirement already satisfied: google-auth<3,>=1.6.3 in /usr/local/lib/python3.10/dist-packages (from tensorboard==2.13.0->-r requirements.txt (line 34)) (2.17.3)\n", "Requirement already satisfied: google-auth-oauthlib<1.1,>=0.5 in /usr/local/lib/python3.10/dist-packages (from tensorboard==2.13.0->-r requirements.txt (line 34)) (1.0.0)\n", "Requirement already satisfied: protobuf>=3.19.6 in /usr/local/lib/python3.10/dist-packages (from tensorboard==2.13.0->-r requirements.txt (line 34)) (3.20.3)\n", "Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in /usr/local/lib/python3.10/dist-packages (from tensorboard==2.13.0->-r requirements.txt (line 34)) (0.7.1)\n", "Requirement already satisfied: werkzeug>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from tensorboard==2.13.0->-r requirements.txt (line 34)) (2.3.6)\n", "Requirement already satisfied: wheel>=0.26 in /usr/local/lib/python3.10/dist-packages (from tensorboard==2.13.0->-r requirements.txt (line 34)) (0.40.0)\n", "Collecting GitPython>=2.0.8 (from neptune==1.2.0->-r requirements.txt (line 35))\n", " Downloading GitPython-3.1.32-py3-none-any.whl (188 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m188.5/188.5 kB\u001b[0m \u001b[31m25.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting PyJWT (from neptune==1.2.0->-r requirements.txt (line 35))\n", " Downloading PyJWT-2.7.0-py3-none-any.whl (22 kB)\n", "Collecting bravado<12.0.0,>=11.0.0 (from neptune==1.2.0->-r requirements.txt (line 35))\n", " Downloading bravado-11.0.3-py2.py3-none-any.whl (38 kB)\n", "Requirement already satisfied: click>=7.0 in /usr/local/lib/python3.10/dist-packages (from neptune==1.2.0->-r requirements.txt (line 35)) (8.1.3)\n", "Requirement already satisfied: future>=0.17.1 in /usr/local/lib/python3.10/dist-packages (from neptune==1.2.0->-r requirements.txt (line 35)) (0.18.3)\n", "Requirement already satisfied: oauthlib>=2.1.0 in /usr/local/lib/python3.10/dist-packages (from neptune==1.2.0->-r requirements.txt (line 35)) (3.2.2)\n", "Requirement already satisfied: requests-oauthlib>=1.0.0 in /usr/local/lib/python3.10/dist-packages (from neptune==1.2.0->-r requirements.txt (line 35)) (1.3.1)\n", "Collecting swagger-spec-validator>=2.7.4 (from neptune==1.2.0->-r requirements.txt (line 35))\n", " Downloading swagger_spec_validator-3.0.3-py2.py3-none-any.whl (27 kB)\n", "Requirement already satisfied: websocket-client!=1.0.0,>=0.35.0 in /usr/local/lib/python3.10/dist-packages (from neptune==1.2.0->-r requirements.txt (line 35)) (1.6.0)\n", "Requirement already satisfied: soupsieve>1.2 in /usr/local/lib/python3.10/dist-packages (from beautifulsoup4==4.12.2->-r requirements.txt (line 39)) (2.4.1)\n", "Requirement already satisfied: attrs>=19.2.0 in /usr/local/lib/python3.10/dist-packages (from pytest==7.2.2->-r requirements.txt (line 43)) (23.1.0)\n", "Requirement already satisfied: iniconfig in /usr/local/lib/python3.10/dist-packages (from pytest==7.2.2->-r requirements.txt (line 43)) (2.0.0)\n", "Requirement already satisfied: pluggy<2.0,>=0.12 in /usr/local/lib/python3.10/dist-packages (from pytest==7.2.2->-r requirements.txt (line 43)) (1.2.0)\n", "Requirement already satisfied: exceptiongroup>=1.0.0rc8 in /usr/local/lib/python3.10/dist-packages (from pytest==7.2.2->-r requirements.txt (line 43)) (1.1.1)\n", "Requirement already satisfied: tomli>=1.0.0 in /usr/local/lib/python3.10/dist-packages (from pytest==7.2.2->-r requirements.txt (line 43)) (2.0.1)\n", "Collecting execnet>=1.1 (from pytest-xdist==3.2.1->-r requirements.txt (line 44))\n", " Downloading execnet-2.0.2-py3-none-any.whl (37 kB)\n", "Collecting pyphen (from textstat==0.7.3->-r requirements.txt (line 46))\n", " Downloading pyphen-0.14.0-py3-none-any.whl (2.0 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.0/2.0 MB\u001b[0m \u001b[31m62.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: et-xmlfile in /usr/local/lib/python3.10/dist-packages (from openpyxl==3.1.2->-r requirements.txt (line 50)) (1.1.0)\n", "Collecting jsonlines (from lm_dataformat==0.0.20->-r requirements.txt (line 51))\n", " Downloading jsonlines-3.1.0-py3-none-any.whl (8.6 kB)\n", "Collecting ujson (from lm_dataformat==0.0.20->-r requirements.txt (line 51))\n", " Downloading ujson-5.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (53 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m53.9/53.9 kB\u001b[0m \u001b[31m6.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting zstandard (from lm_dataformat==0.0.20->-r requirements.txt (line 51))\n", " Downloading zstandard-0.21.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.7/2.7 MB\u001b[0m \u001b[31m88.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting intervaltree (from bioc==2.0->-r requirements.txt (line 52))\n", " Downloading intervaltree-3.1.0.tar.gz (32 kB)\n", " Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "Requirement already satisfied: cmake in /usr/local/lib/python3.10/dist-packages (from triton==2.0.0->torch==2.0.1->-r requirements.txt (line 9)) (3.25.2)\n", "Requirement already satisfied: lit in /usr/local/lib/python3.10/dist-packages (from triton==2.0.0->torch==2.0.1->-r requirements.txt (line 9)) (16.0.6)\n", "Requirement already satisfied: charset-normalizer<4.0,>=2.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets==2.13.0->-r requirements.txt (line 2)) (2.0.12)\n", "Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets==2.13.0->-r requirements.txt (line 2)) (6.0.4)\n", "Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets==2.13.0->-r requirements.txt (line 2)) (4.0.2)\n", "Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets==2.13.0->-r requirements.txt (line 2)) (1.9.2)\n", "Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets==2.13.0->-r requirements.txt (line 2)) (1.3.3)\n", "Requirement already satisfied: aiosignal>=1.1.2 in /usr/local/lib/python3.10/dist-packages (from aiohttp->datasets==2.13.0->-r requirements.txt (line 2)) (1.3.1)\n", "Requirement already satisfied: entrypoints in /usr/local/lib/python3.10/dist-packages (from altair>=4.2.0->gradio==3.35.2->-r requirements.txt (line 4)) (0.4)\n", "Requirement already satisfied: jsonschema>=3.0 in /usr/local/lib/python3.10/dist-packages (from altair>=4.2.0->gradio==3.35.2->-r requirements.txt (line 4)) (4.3.3)\n", "Requirement already satisfied: toolz in /usr/local/lib/python3.10/dist-packages (from altair>=4.2.0->gradio==3.35.2->-r requirements.txt (line 4)) (0.12.0)\n", "Collecting bravado-core>=5.16.1 (from bravado<12.0.0,>=11.0.0->neptune==1.2.0->-r requirements.txt (line 35))\n", " Downloading bravado_core-5.17.1-py2.py3-none-any.whl (67 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m67.7/67.7 kB\u001b[0m \u001b[31m9.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: msgpack in /usr/local/lib/python3.10/dist-packages (from bravado<12.0.0,>=11.0.0->neptune==1.2.0->-r requirements.txt (line 35)) (1.0.5)\n", "Collecting simplejson (from bravado<12.0.0,>=11.0.0->neptune==1.2.0->-r requirements.txt (line 35))\n", " Downloading simplejson-3.19.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (137 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m137.9/137.9 kB\u001b[0m \u001b[31m18.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting monotonic (from bravado<12.0.0,>=11.0.0->neptune==1.2.0->-r requirements.txt (line 35))\n", " Downloading monotonic-1.6-py2.py3-none-any.whl (8.2 kB)\n", "Collecting gitdb<5,>=4.0.1 (from GitPython>=2.0.8->neptune==1.2.0->-r requirements.txt (line 35))\n", " Downloading gitdb-4.0.10-py3-none-any.whl (62 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m62.7/62.7 kB\u001b[0m \u001b[31m7.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: cachetools<6.0,>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard==2.13.0->-r requirements.txt (line 34)) (5.3.1)\n", "Requirement already satisfied: pyasn1-modules>=0.2.1 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard==2.13.0->-r requirements.txt (line 34)) (0.3.0)\n", "Requirement already satisfied: rsa<5,>=3.1.4 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard==2.13.0->-r requirements.txt (line 34)) (4.9)\n", "Requirement already satisfied: mdurl~=0.1 in /usr/local/lib/python3.10/dist-packages (from markdown-it-py[linkify]>=2.0.0->gradio==3.35.2->-r requirements.txt (line 4)) (0.1.2)\n", "Collecting linkify-it-py<3,>=1 (from markdown-it-py[linkify]>=2.0.0->gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading linkify_it_py-2.0.2-py3-none-any.whl (19 kB)\n", "INFO: pip is looking at multiple versions of mdit-py-plugins to determine which version is compatible with other requirements. This could take a while.\n", "Collecting mdit-py-plugins<=0.3.3 (from gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading mdit_py_plugins-0.3.2-py3-none-any.whl (50 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m50.4/50.4 kB\u001b[0m \u001b[31m5.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Downloading mdit_py_plugins-0.3.1-py3-none-any.whl (46 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m46.5/46.5 kB\u001b[0m \u001b[31m5.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Downloading mdit_py_plugins-0.3.0-py3-none-any.whl (43 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m43.7/43.7 kB\u001b[0m \u001b[31m5.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Downloading mdit_py_plugins-0.2.8-py3-none-any.whl (41 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m41.0/41.0 kB\u001b[0m \u001b[31m4.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Downloading mdit_py_plugins-0.2.7-py3-none-any.whl (41 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m41.0/41.0 kB\u001b[0m \u001b[31m5.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Downloading mdit_py_plugins-0.2.6-py3-none-any.whl (39 kB)\n", " Downloading mdit_py_plugins-0.2.5-py3-none-any.whl (39 kB)\n", "INFO: pip is looking at multiple versions of mdit-py-plugins to determine which version is compatible with other requirements. This could take a while.\n", " Downloading mdit_py_plugins-0.2.4-py3-none-any.whl (39 kB)\n", " Downloading mdit_py_plugins-0.2.3-py3-none-any.whl (39 kB)\n", " Downloading mdit_py_plugins-0.2.2-py3-none-any.whl (39 kB)\n", " Downloading mdit_py_plugins-0.2.1-py3-none-any.whl (38 kB)\n", " Downloading mdit_py_plugins-0.2.0-py3-none-any.whl (38 kB)\n", "INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.\n", " Downloading mdit_py_plugins-0.1.0-py3-none-any.whl (37 kB)\n", "Collecting markdown-it-py[linkify]>=2.0.0 (from gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m87.5/87.5 kB\u001b[0m \u001b[31m12.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Downloading markdown_it_py-2.2.0-py3-none-any.whl (84 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m84.5/84.5 kB\u001b[0m \u001b[31m11.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests>=2.19.0->datasets==2.13.0->-r requirements.txt (line 2)) (2023.5.7)\n", "Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests>=2.19.0->datasets==2.13.0->-r requirements.txt (line 2)) (3.4)\n", "Collecting h11>=0.8 (from uvicorn>=0.14.0->gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading h11-0.14.0-py3-none-any.whl (58 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m58.3/58.3 kB\u001b[0m \u001b[31m7.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting starlette<0.28.0,>=0.27.0 (from fastapi->gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading starlette-0.27.0-py3-none-any.whl (66 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m67.0/67.0 kB\u001b[0m \u001b[31m8.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting httpcore<0.18.0,>=0.15.0 (from httpx->gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading httpcore-0.17.3-py3-none-any.whl (74 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m74.5/74.5 kB\u001b[0m \u001b[31m9.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: sniffio in /usr/local/lib/python3.10/dist-packages (from httpx->gradio==3.35.2->-r requirements.txt (line 4)) (1.3.0)\n", "Requirement already satisfied: sortedcontainers<3.0,>=2.0 in /usr/local/lib/python3.10/dist-packages (from intervaltree->bioc==2.0->-r requirements.txt (line 52)) (2.4.0)\n", "Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.10/dist-packages (from sympy->torch==2.0.1->-r requirements.txt (line 9)) (1.3.0)\n", "Collecting jsonref (from bravado-core>=5.16.1->bravado<12.0.0,>=11.0.0->neptune==1.2.0->-r requirements.txt (line 35))\n", " Downloading jsonref-1.1.0-py3-none-any.whl (9.4 kB)\n", "Collecting smmap<6,>=3.0.1 (from gitdb<5,>=4.0.1->GitPython>=2.0.8->neptune==1.2.0->-r requirements.txt (line 35))\n", " Downloading smmap-5.0.0-py3-none-any.whl (24 kB)\n", "Requirement already satisfied: anyio<5.0,>=3.0 in /usr/local/lib/python3.10/dist-packages (from httpcore<0.18.0,>=0.15.0->httpx->gradio==3.35.2->-r requirements.txt (line 4)) (3.7.0)\n", "Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /usr/local/lib/python3.10/dist-packages (from jsonschema>=3.0->altair>=4.2.0->gradio==3.35.2->-r requirements.txt (line 4)) (0.19.3)\n", "Collecting uc-micro-py (from linkify-it-py<3,>=1->markdown-it-py[linkify]>=2.0.0->gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading uc_micro_py-1.0.2-py3-none-any.whl (6.2 kB)\n", "Requirement already satisfied: pyasn1<0.6.0,>=0.4.6 in /usr/local/lib/python3.10/dist-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard==2.13.0->-r requirements.txt (line 34)) (0.5.0)\n", "Collecting fqdn (from jsonschema>=3.0->altair>=4.2.0->gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading fqdn-1.5.1-py3-none-any.whl (9.1 kB)\n", "Collecting isoduration (from jsonschema>=3.0->altair>=4.2.0->gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading isoduration-20.11.0-py3-none-any.whl (11 kB)\n", "Collecting jsonpointer>1.13 (from jsonschema>=3.0->altair>=4.2.0->gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading jsonpointer-2.4-py2.py3-none-any.whl (7.8 kB)\n", "Collecting rfc3339-validator (from jsonschema>=3.0->altair>=4.2.0->gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading rfc3339_validator-0.1.4-py2.py3-none-any.whl (3.5 kB)\n", "Collecting rfc3987 (from jsonschema>=3.0->altair>=4.2.0->gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading rfc3987-1.3.8-py2.py3-none-any.whl (13 kB)\n", "Collecting uri-template (from jsonschema>=3.0->altair>=4.2.0->gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading uri_template-1.3.0-py3-none-any.whl (11 kB)\n", "Requirement already satisfied: webcolors>=1.11 in /usr/local/lib/python3.10/dist-packages (from jsonschema>=3.0->altair>=4.2.0->gradio==3.35.2->-r requirements.txt (line 4)) (1.13)\n", "Collecting arrow>=0.15.0 (from isoduration->jsonschema>=3.0->altair>=4.2.0->gradio==3.35.2->-r requirements.txt (line 4))\n", " Downloading arrow-1.2.3-py3-none-any.whl (66 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m66.4/66.4 kB\u001b[0m \u001b[31m7.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hBuilding wheels for collected packages: fire, rouge_score, alt-profanity-check, peft, ffmpy, intervaltree\n", " Building wheel for fire (setup.py) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for fire: filename=fire-0.5.0-py2.py3-none-any.whl size=116932 sha256=0ef6e1fc4bd2bff64e5ac715f99d9c68e4abd0a3669289c47f6f75cbde6d29ca\n", " Stored in directory: /root/.cache/pip/wheels/90/d4/f7/9404e5db0116bd4d43e5666eaa3e70ab53723e1e3ea40c9a95\n", " Building wheel for rouge_score (setup.py) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for rouge_score: filename=rouge_score-0.1.2-py3-none-any.whl size=24934 sha256=6bb9fa705d2a76c6a99f6bdacb7aad2039f61bd69a876133dfd2f6a8773755ea\n", " Stored in directory: /root/.cache/pip/wheels/5f/dd/89/461065a73be61a532ff8599a28e9beef17985c9e9c31e541b4\n", " Building wheel for alt-profanity-check (setup.py) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for alt-profanity-check: filename=alt_profanity_check-1.2.2-py3-none-any.whl size=1866162 sha256=f188d11b6a6e8e8871f119f64af0c1d12b145847ef3088eafa6a294efd1703a1\n", " Stored in directory: /root/.cache/pip/wheels/5b/98/77/c2903d8f2862ecf6ac3f51007e82f12d456f1ac7f6a147e7ab\n", " Building wheel for peft (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for peft: filename=peft-0.4.0.dev0-py3-none-any.whl size=61644 sha256=d66d6c45dd5b0765edd138dcfc1eb9a7a0f5cbf18977edcb43327f8a82f8762d\n", " Stored in directory: /root/.cache/pip/wheels/92/96/bb/e86c6b13090bcad7aa0a598c188f16519472dcc8d8320c0dbe\n", " Building wheel for ffmpy (setup.py) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for ffmpy: filename=ffmpy-0.3.0-py3-none-any.whl size=4694 sha256=bf333b9060909de7c400671201f2d47c4cb9e21d73ea5a3a266f65c0a4cdf488\n", " Stored in directory: /root/.cache/pip/wheels/0c/c2/0e/3b9c6845c6a4e35beb90910cc70d9ac9ab5d47402bd62af0df\n", " Building wheel for intervaltree (setup.py) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for intervaltree: filename=intervaltree-3.1.0-py2.py3-none-any.whl size=26099 sha256=863b46bb844762d41448b6f8a37e546a4132398dc48b769b3bdf58e3c891b814\n", " Stored in directory: /root/.cache/pip/wheels/fa/80/8c/43488a924a046b733b64de3fac99252674c892a4c3801c0a61\n", "Successfully built fire rouge_score alt-profanity-check peft ffmpy intervaltree\n", "Installing collected packages: tokenizers, sentencepiece, safetensors, rfc3987, pydub, monotonic, instructorembedding, ffmpy, bitsandbytes, zstandard, xxhash, websockets, uri-template, ujson, uc-micro-py, tzdata, smmap, simplejson, semantic-version, rfc3339-validator, python-multipart, python-dotenv, pyphen, pypandoc_binary, pynvml, PyJWT, portalocker, orjson, openpyxl, numpy, markdown-it-py, loralib, jsonref, jsonpointer, jsonlines, jmespath, intervaltree, h11, fqdn, fire, execnet, einops, docutils, dill, colorama, better-profanity, beautifulsoup4, APScheduler, aiofiles, uvicorn, tiktoken, textstat, swagger-spec-validator, starlette, sacrebleu, rouge_score, responses, pytest-xdist, pandas, multiprocess, mdit-py-plugins, lm_dataformat, linkify-it-py, huggingface_hub, httpcore, gitdb, botocore, bioc, arrow, transformers, text-generation, s3transfer, openai, isoduration, httpx, GitPython, fastapi, tensorboard, gradio_client, datasets, boto3, alt-profanity-check, gradio, evaluate, bravado-core, bravado, neptune, accelerate, peft\n", " Attempting uninstall: openpyxl\n", " Found existing installation: openpyxl 3.0.10\n", " Uninstalling openpyxl-3.0.10:\n", " Successfully uninstalled openpyxl-3.0.10\n", " Attempting uninstall: numpy\n", " Found existing installation: numpy 1.22.4\n", " Uninstalling numpy-1.22.4:\n", " Successfully uninstalled numpy-1.22.4\n", " Attempting uninstall: markdown-it-py\n", " Found existing installation: markdown-it-py 3.0.0\n", " Uninstalling markdown-it-py-3.0.0:\n", " Successfully uninstalled markdown-it-py-3.0.0\n", " Attempting uninstall: docutils\n", " Found existing installation: docutils 0.16\n", " Uninstalling docutils-0.16:\n", " Successfully uninstalled docutils-0.16\n", " Attempting uninstall: beautifulsoup4\n", " Found existing installation: beautifulsoup4 4.11.2\n", " Uninstalling beautifulsoup4-4.11.2:\n", " Successfully uninstalled beautifulsoup4-4.11.2\n", " Attempting uninstall: pandas\n", " Found existing installation: pandas 1.5.3\n", " Uninstalling pandas-1.5.3:\n", " Successfully uninstalled pandas-1.5.3\n", " Attempting uninstall: tensorboard\n", " Found existing installation: tensorboard 2.12.3\n", " Uninstalling tensorboard-2.12.3:\n", " Successfully uninstalled tensorboard-2.12.3\n", "\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n", "sphinx 3.5.4 requires docutils<0.17,>=0.12, but you have docutils 0.20.1 which is incompatible.\n", "google-colab 1.0.0 requires pandas==1.5.3, but you have pandas 2.0.2 which is incompatible.\n", "numba 0.56.4 requires numpy<1.24,>=1.18, but you have numpy 1.24.3 which is incompatible.\n", "tensorflow 2.12.0 requires numpy<1.24,>=1.22, but you have numpy 1.24.3 which is incompatible.\n", "tensorflow 2.12.0 requires tensorboard<2.13,>=2.12, but you have tensorboard 2.13.0 which is incompatible.\u001b[0m\u001b[31m\n", "\u001b[0mSuccessfully installed APScheduler-3.10.1 GitPython-3.1.32 PyJWT-2.7.0 accelerate-0.20.3 aiofiles-23.1.0 alt-profanity-check-1.2.2 arrow-1.2.3 beautifulsoup4-4.12.2 better-profanity-0.7.0 bioc-2.0 bitsandbytes-0.39.0 boto3-1.26.101 botocore-1.29.101 bravado-11.0.3 bravado-core-5.17.1 colorama-0.4.6 datasets-2.13.0 dill-0.3.6 docutils-0.20.1 einops-0.6.1 evaluate-0.4.0 execnet-2.0.2 fastapi-0.100.0 ffmpy-0.3.0 fire-0.5.0 fqdn-1.5.1 gitdb-4.0.10 gradio-3.35.2 gradio_client-0.2.7 h11-0.14.0 httpcore-0.17.3 httpx-0.24.1 huggingface_hub-0.15.1 instructorembedding-1.0.1 intervaltree-3.1.0 isoduration-20.11.0 jmespath-1.0.1 jsonlines-3.1.0 jsonpointer-2.4 jsonref-1.1.0 linkify-it-py-2.0.2 lm_dataformat-0.0.20 loralib-0.1.1 markdown-it-py-2.2.0 mdit-py-plugins-0.3.3 monotonic-1.6 multiprocess-0.70.14 neptune-1.2.0 numpy-1.24.3 openai-0.27.8 openpyxl-3.1.2 orjson-3.9.2 pandas-2.0.2 peft-0.4.0.dev0 portalocker-2.7.0 pydub-0.25.1 pynvml-11.5.0 pypandoc_binary-1.11 pyphen-0.14.0 pytest-xdist-3.2.1 python-dotenv-1.0.0 python-multipart-0.0.6 responses-0.18.0 rfc3339-validator-0.1.4 rfc3987-1.3.8 rouge_score-0.1.2 s3transfer-0.6.1 sacrebleu-2.3.1 safetensors-0.3.1 semantic-version-2.10.0 sentencepiece-0.1.99 simplejson-3.19.1 smmap-5.0.0 starlette-0.27.0 swagger-spec-validator-3.0.3 tensorboard-2.13.0 text-generation-0.6.0 textstat-0.7.3 tiktoken-0.4.0 tokenizers-0.13.3 transformers-4.30.2 tzdata-2023.3 uc-micro-py-1.0.2 ujson-5.8.0 uri-template-1.3.0 uvicorn-0.22.0 websockets-11.0.3 xxhash-3.2.0 zstandard-0.21.0\n", "\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n", "\u001b[0mCollecting langchain==0.0.202 (from -r reqs_optional/requirements_optional_langchain.txt (line 2))\n", " Downloading langchain-0.0.202-py3-none-any.whl (1.0 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.0/1.0 MB\u001b[0m \u001b[31m22.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting pypdf==3.9.1 (from -r reqs_optional/requirements_optional_langchain.txt (line 3))\n", " Downloading pypdf-3.9.1-py3-none-any.whl (249 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m249.3/249.3 kB\u001b[0m \u001b[31m26.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting sentence_transformers==2.2.2 (from -r reqs_optional/requirements_optional_langchain.txt (line 8))\n", " Downloading sentence-transformers-2.2.2.tar.gz (85 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m86.0/86.0 kB\u001b[0m \u001b[31m11.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "Collecting chromadb==0.3.25 (from -r reqs_optional/requirements_optional_langchain.txt (line 11))\n", " Downloading chromadb-0.3.25-py3-none-any.whl (86 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m86.6/86.6 kB\u001b[0m \u001b[31m9.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting unstructured[local-inference]==0.7.4 (from -r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading unstructured-0.7.4-py3-none-any.whl (1.3 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.3/1.3 MB\u001b[0m \u001b[31m56.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: pillow in /usr/local/lib/python3.10/dist-packages (from -r reqs_optional/requirements_optional_langchain.txt (line 23)) (8.4.0)\n", "Collecting pdfminer.six==20221105 (from -r reqs_optional/requirements_optional_langchain.txt (line 25))\n", " Downloading pdfminer.six-20221105-py3-none-any.whl (5.6 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m5.6/5.6 MB\u001b[0m \u001b[31m71.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: urllib3 in /usr/local/lib/python3.10/dist-packages (from -r reqs_optional/requirements_optional_langchain.txt (line 26)) (1.26.16)\n", "Collecting requests_file (from -r reqs_optional/requirements_optional_langchain.txt (line 27))\n", " Downloading requests_file-1.5.1-py2.py3-none-any.whl (3.7 kB)\n", "Collecting tabulate==0.9.0 (from -r reqs_optional/requirements_optional_langchain.txt (line 31))\n", " Downloading tabulate-0.9.0-py3-none-any.whl (35 kB)\n", "Collecting pip-licenses==4.3.0 (from -r reqs_optional/requirements_optional_langchain.txt (line 39))\n", " Downloading pip_licenses-4.3.0-py3-none-any.whl (19 kB)\n", "Collecting weaviate-client==3.20.0 (from -r reqs_optional/requirements_optional_langchain.txt (line 42))\n", " Downloading weaviate_client-3.20.0-py3-none-any.whl (99 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m99.8/99.8 kB\u001b[0m \u001b[31m9.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: PyYAML>=5.4.1 in /usr/local/lib/python3.10/dist-packages (from langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2)) (6.0)\n", "Requirement already satisfied: SQLAlchemy<3,>=1.4 in /usr/local/lib/python3.10/dist-packages (from langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2)) (2.0.16)\n", "Requirement already satisfied: aiohttp<4.0.0,>=3.8.3 in /usr/local/lib/python3.10/dist-packages (from langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2)) (3.8.4)\n", "Requirement already satisfied: async-timeout<5.0.0,>=4.0.0 in /usr/local/lib/python3.10/dist-packages (from langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2)) (4.0.2)\n", "Collecting dataclasses-json<0.6.0,>=0.5.7 (from langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2))\n", " Downloading dataclasses_json-0.5.9-py3-none-any.whl (26 kB)\n", "Collecting langchainplus-sdk>=0.0.9 (from langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2))\n", " Downloading langchainplus_sdk-0.0.20-py3-none-any.whl (25 kB)\n", "Requirement already satisfied: numexpr<3.0.0,>=2.8.4 in /usr/local/lib/python3.10/dist-packages (from langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2)) (2.8.4)\n", "Requirement already satisfied: numpy<2,>=1 in /usr/local/lib/python3.10/dist-packages (from langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2)) (1.24.3)\n", "Collecting openapi-schema-pydantic<2.0,>=1.2 (from langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2))\n", " Downloading openapi_schema_pydantic-1.2.4-py3-none-any.whl (90 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m90.0/90.0 kB\u001b[0m \u001b[31m11.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: pydantic<2,>=1 in /usr/local/lib/python3.10/dist-packages (from langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2)) (1.10.9)\n", "Requirement already satisfied: requests<3,>=2 in /usr/local/lib/python3.10/dist-packages (from langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2)) (2.27.1)\n", "Requirement already satisfied: tenacity<9.0.0,>=8.1.0 in /usr/local/lib/python3.10/dist-packages (from langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2)) (8.2.2)\n", "Requirement already satisfied: transformers<5.0.0,>=4.6.0 in /usr/local/lib/python3.10/dist-packages (from sentence_transformers==2.2.2->-r reqs_optional/requirements_optional_langchain.txt (line 8)) (4.30.2)\n", "Requirement already satisfied: tqdm in /usr/local/lib/python3.10/dist-packages (from sentence_transformers==2.2.2->-r reqs_optional/requirements_optional_langchain.txt (line 8)) (4.65.0)\n", "Requirement already satisfied: torch>=1.6.0 in /usr/local/lib/python3.10/dist-packages (from sentence_transformers==2.2.2->-r reqs_optional/requirements_optional_langchain.txt (line 8)) (2.0.1+cu118)\n", "Requirement already satisfied: torchvision in /usr/local/lib/python3.10/dist-packages (from sentence_transformers==2.2.2->-r reqs_optional/requirements_optional_langchain.txt (line 8)) (0.15.2+cu118)\n", "Requirement already satisfied: scikit-learn in /usr/local/lib/python3.10/dist-packages (from sentence_transformers==2.2.2->-r reqs_optional/requirements_optional_langchain.txt (line 8)) (1.2.2)\n", "Requirement already satisfied: scipy in /usr/local/lib/python3.10/dist-packages (from sentence_transformers==2.2.2->-r reqs_optional/requirements_optional_langchain.txt (line 8)) (1.10.1)\n", "Requirement already satisfied: nltk in /usr/local/lib/python3.10/dist-packages (from sentence_transformers==2.2.2->-r reqs_optional/requirements_optional_langchain.txt (line 8)) (3.8.1)\n", "Requirement already satisfied: sentencepiece in /usr/local/lib/python3.10/dist-packages (from sentence_transformers==2.2.2->-r reqs_optional/requirements_optional_langchain.txt (line 8)) (0.1.99)\n", "Requirement already satisfied: huggingface-hub>=0.4.0 in /usr/local/lib/python3.10/dist-packages (from sentence_transformers==2.2.2->-r reqs_optional/requirements_optional_langchain.txt (line 8)) (0.15.1)\n", "Requirement already satisfied: pandas>=1.3 in /usr/local/lib/python3.10/dist-packages (from chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (2.0.2)\n", "Collecting requests<3,>=2 (from langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2))\n", " Downloading requests-2.31.0-py3-none-any.whl (62 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m62.6/62.6 kB\u001b[0m \u001b[31m7.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting hnswlib>=0.7 (from chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11))\n", " Downloading hnswlib-0.7.0.tar.gz (33 kB)\n", " Installing build dependencies ... \u001b[?25l\u001b[?25hdone\n", " Getting requirements to build wheel ... \u001b[?25l\u001b[?25hdone\n", " Preparing metadata (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n", "Collecting clickhouse-connect>=0.5.7 (from chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11))\n", " Downloading clickhouse_connect-0.6.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (966 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m966.7/966.7 kB\u001b[0m \u001b[31m70.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: duckdb>=0.7.1 in /usr/local/lib/python3.10/dist-packages (from chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (0.8.1)\n", "Requirement already satisfied: fastapi>=0.85.1 in /usr/local/lib/python3.10/dist-packages (from chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (0.100.0)\n", "Requirement already satisfied: uvicorn[standard]>=0.18.3 in /usr/local/lib/python3.10/dist-packages (from chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (0.22.0)\n", "Collecting posthog>=2.4.0 (from chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11))\n", " Downloading posthog-3.0.1-py2.py3-none-any.whl (37 kB)\n", "Collecting onnxruntime>=1.14.1 (from chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11))\n", " Downloading onnxruntime-1.15.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.9 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m5.9/5.9 MB\u001b[0m \u001b[31m64.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: tokenizers>=0.13.2 in /usr/local/lib/python3.10/dist-packages (from chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (0.13.3)\n", "Requirement already satisfied: typing-extensions>=4.5.0 in /usr/local/lib/python3.10/dist-packages (from chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (4.6.3)\n", "Collecting overrides>=7.3.1 (from chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11))\n", " Downloading overrides-7.3.1-py3-none-any.whl (17 kB)\n", "Collecting argilla (from unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading argilla-1.12.0-py3-none-any.whl (2.6 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.6/2.6 MB\u001b[0m \u001b[31m59.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: chardet in /usr/local/lib/python3.10/dist-packages (from unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20)) (4.0.0)\n", "Collecting filetype (from unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading filetype-1.2.0-py2.py3-none-any.whl (19 kB)\n", "Requirement already satisfied: lxml in /usr/local/lib/python3.10/dist-packages (from unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20)) (4.9.2)\n", "Collecting msg-parser (from unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading msg_parser-1.2.0-py2.py3-none-any.whl (101 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m101.8/101.8 kB\u001b[0m \u001b[31m13.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: openpyxl in /usr/local/lib/python3.10/dist-packages (from unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20)) (3.1.2)\n", "Collecting pypandoc (from unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading pypandoc-1.11-py3-none-any.whl (20 kB)\n", "Collecting python-docx (from unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading python-docx-0.8.11.tar.gz (5.6 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m5.6/5.6 MB\u001b[0m \u001b[31m67.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "Collecting python-pptx (from unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading python-pptx-0.6.21.tar.gz (10.1 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m10.1/10.1 MB\u001b[0m \u001b[31m80.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "Collecting python-magic (from unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading python_magic-0.4.27-py2.py3-none-any.whl (13 kB)\n", "Requirement already satisfied: markdown in /usr/local/lib/python3.10/dist-packages (from unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20)) (3.4.3)\n", "Requirement already satisfied: xlrd in /usr/local/lib/python3.10/dist-packages (from unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20)) (2.0.1)\n", "Collecting unstructured-inference==0.5.1 (from unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading unstructured_inference-0.5.1-py3-none-any.whl (39 kB)\n", "Requirement already satisfied: charset-normalizer>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from pdfminer.six==20221105->-r reqs_optional/requirements_optional_langchain.txt (line 25)) (2.0.12)\n", "Collecting cryptography>=36.0.0 (from pdfminer.six==20221105->-r reqs_optional/requirements_optional_langchain.txt (line 25))\n", " Downloading cryptography-41.0.1-cp37-abi3-manylinux_2_28_x86_64.whl (4.3 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m4.3/4.3 MB\u001b[0m \u001b[31m76.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting prettytable>=2.3.0 (from pip-licenses==4.3.0->-r reqs_optional/requirements_optional_langchain.txt (line 39))\n", " Downloading prettytable-3.8.0-py3-none-any.whl (27 kB)\n", "Collecting validators<=0.21.0,>=0.18.2 (from weaviate-client==3.20.0->-r reqs_optional/requirements_optional_langchain.txt (line 42))\n", " Downloading validators-0.20.0.tar.gz (30 kB)\n", " Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "Collecting authlib>=1.1.0 (from weaviate-client==3.20.0->-r reqs_optional/requirements_optional_langchain.txt (line 42))\n", " Downloading Authlib-1.2.1-py2.py3-none-any.whl (215 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m215.3/215.3 kB\u001b[0m \u001b[31m23.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting layoutparser[layoutmodels,tesseract] (from unstructured-inference==0.5.1->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading layoutparser-0.3.4-py3-none-any.whl (19.2 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m19.2/19.2 MB\u001b[0m \u001b[31m39.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: python-multipart in /usr/local/lib/python3.10/dist-packages (from unstructured-inference==0.5.1->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20)) (0.0.6)\n", "Requirement already satisfied: opencv-python!=4.7.0.68 in /usr/local/lib/python3.10/dist-packages (from unstructured-inference==0.5.1->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20)) (4.7.0.72)\n", "Requirement already satisfied: six in /usr/local/lib/python3.10/dist-packages (from requests_file->-r reqs_optional/requirements_optional_langchain.txt (line 27)) (1.16.0)\n", "Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp<4.0.0,>=3.8.3->langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2)) (23.1.0)\n", "Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.10/dist-packages (from aiohttp<4.0.0,>=3.8.3->langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2)) (6.0.4)\n", "Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp<4.0.0,>=3.8.3->langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2)) (1.9.2)\n", "Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from aiohttp<4.0.0,>=3.8.3->langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2)) (1.3.3)\n", "Requirement already satisfied: aiosignal>=1.1.2 in /usr/local/lib/python3.10/dist-packages (from aiohttp<4.0.0,>=3.8.3->langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2)) (1.3.1)\n", "Requirement already satisfied: certifi in /usr/local/lib/python3.10/dist-packages (from clickhouse-connect>=0.5.7->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (2023.5.7)\n", "Collecting importlib-metadata (from clickhouse-connect>=0.5.7->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11))\n", " Downloading importlib_metadata-6.8.0-py3-none-any.whl (22 kB)\n", "Requirement already satisfied: pytz in /usr/local/lib/python3.10/dist-packages (from clickhouse-connect>=0.5.7->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (2022.7.1)\n", "Requirement already satisfied: zstandard in /usr/local/lib/python3.10/dist-packages (from clickhouse-connect>=0.5.7->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (0.21.0)\n", "Collecting lz4 (from clickhouse-connect>=0.5.7->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11))\n", " Downloading lz4-4.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.3/1.3 MB\u001b[0m \u001b[31m73.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: cffi>=1.12 in /usr/local/lib/python3.10/dist-packages (from cryptography>=36.0.0->pdfminer.six==20221105->-r reqs_optional/requirements_optional_langchain.txt (line 25)) (1.15.1)\n", "Collecting marshmallow<4.0.0,>=3.3.0 (from dataclasses-json<0.6.0,>=0.5.7->langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2))\n", " Downloading marshmallow-3.19.0-py3-none-any.whl (49 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m49.1/49.1 kB\u001b[0m \u001b[31m5.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting marshmallow-enum<2.0.0,>=1.5.1 (from dataclasses-json<0.6.0,>=0.5.7->langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2))\n", " Downloading marshmallow_enum-1.5.1-py2.py3-none-any.whl (4.2 kB)\n", "Collecting typing-inspect>=0.4.0 (from dataclasses-json<0.6.0,>=0.5.7->langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2))\n", " Downloading typing_inspect-0.9.0-py3-none-any.whl (8.8 kB)\n", "Requirement already satisfied: starlette<0.28.0,>=0.27.0 in /usr/local/lib/python3.10/dist-packages (from fastapi>=0.85.1->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (0.27.0)\n", "Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.4.0->sentence_transformers==2.2.2->-r reqs_optional/requirements_optional_langchain.txt (line 8)) (3.12.2)\n", "Requirement already satisfied: fsspec in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.4.0->sentence_transformers==2.2.2->-r reqs_optional/requirements_optional_langchain.txt (line 8)) (2023.6.0)\n", "Requirement already satisfied: packaging>=20.9 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.4.0->sentence_transformers==2.2.2->-r reqs_optional/requirements_optional_langchain.txt (line 8)) (23.1)\n", "Collecting coloredlogs (from onnxruntime>=1.14.1->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11))\n", " Downloading coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m46.0/46.0 kB\u001b[0m \u001b[31m5.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: flatbuffers in /usr/local/lib/python3.10/dist-packages (from onnxruntime>=1.14.1->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (23.5.26)\n", "Requirement already satisfied: protobuf in /usr/local/lib/python3.10/dist-packages (from onnxruntime>=1.14.1->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (3.20.3)\n", "Requirement already satisfied: sympy in /usr/local/lib/python3.10/dist-packages (from onnxruntime>=1.14.1->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (1.11.1)\n", "Requirement already satisfied: python-dateutil>=2.8.2 in /usr/local/lib/python3.10/dist-packages (from pandas>=1.3->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (2.8.2)\n", "Requirement already satisfied: tzdata>=2022.1 in /usr/local/lib/python3.10/dist-packages (from pandas>=1.3->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (2023.3)\n", "Requirement already satisfied: monotonic>=1.5 in /usr/local/lib/python3.10/dist-packages (from posthog>=2.4.0->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (1.6)\n", "Collecting backoff>=1.10.0 (from posthog>=2.4.0->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11))\n", " Downloading backoff-2.2.1-py3-none-any.whl (15 kB)\n", "Requirement already satisfied: wcwidth in /usr/local/lib/python3.10/dist-packages (from prettytable>=2.3.0->pip-licenses==4.3.0->-r reqs_optional/requirements_optional_langchain.txt (line 39)) (0.2.6)\n", "Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests<3,>=2->langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2)) (3.4)\n", "Requirement already satisfied: greenlet!=0.4.17 in /usr/local/lib/python3.10/dist-packages (from SQLAlchemy<3,>=1.4->langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2)) (2.0.2)\n", "Requirement already satisfied: networkx in /usr/local/lib/python3.10/dist-packages (from torch>=1.6.0->sentence_transformers==2.2.2->-r reqs_optional/requirements_optional_langchain.txt (line 8)) (3.1)\n", "Requirement already satisfied: jinja2 in /usr/local/lib/python3.10/dist-packages (from torch>=1.6.0->sentence_transformers==2.2.2->-r reqs_optional/requirements_optional_langchain.txt (line 8)) (3.1.2)\n", "Requirement already satisfied: triton==2.0.0 in /usr/local/lib/python3.10/dist-packages (from torch>=1.6.0->sentence_transformers==2.2.2->-r reqs_optional/requirements_optional_langchain.txt (line 8)) (2.0.0)\n", "Requirement already satisfied: cmake in /usr/local/lib/python3.10/dist-packages (from triton==2.0.0->torch>=1.6.0->sentence_transformers==2.2.2->-r reqs_optional/requirements_optional_langchain.txt (line 8)) (3.25.2)\n", "Requirement already satisfied: lit in /usr/local/lib/python3.10/dist-packages (from triton==2.0.0->torch>=1.6.0->sentence_transformers==2.2.2->-r reqs_optional/requirements_optional_langchain.txt (line 8)) (16.0.6)\n", "Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.10/dist-packages (from transformers<5.0.0,>=4.6.0->sentence_transformers==2.2.2->-r reqs_optional/requirements_optional_langchain.txt (line 8)) (2022.10.31)\n", "Requirement already satisfied: safetensors>=0.3.1 in /usr/local/lib/python3.10/dist-packages (from transformers<5.0.0,>=4.6.0->sentence_transformers==2.2.2->-r reqs_optional/requirements_optional_langchain.txt (line 8)) (0.3.1)\n", "Requirement already satisfied: click>=7.0 in /usr/local/lib/python3.10/dist-packages (from uvicorn[standard]>=0.18.3->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (8.1.3)\n", "Requirement already satisfied: h11>=0.8 in /usr/local/lib/python3.10/dist-packages (from uvicorn[standard]>=0.18.3->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (0.14.0)\n", "Collecting httptools>=0.5.0 (from uvicorn[standard]>=0.18.3->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11))\n", " Downloading httptools-0.6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (428 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m428.8/428.8 kB\u001b[0m \u001b[31m41.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: python-dotenv>=0.13 in /usr/local/lib/python3.10/dist-packages (from uvicorn[standard]>=0.18.3->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (1.0.0)\n", "Collecting uvloop!=0.15.0,!=0.15.1,>=0.14.0 (from uvicorn[standard]>=0.18.3->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11))\n", " Downloading uvloop-0.17.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m4.1/4.1 MB\u001b[0m \u001b[31m57.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting watchfiles>=0.13 (from uvicorn[standard]>=0.18.3->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11))\n", " Downloading watchfiles-0.19.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.3/1.3 MB\u001b[0m \u001b[31m75.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: websockets>=10.4 in /usr/local/lib/python3.10/dist-packages (from uvicorn[standard]>=0.18.3->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (11.0.3)\n", "Requirement already satisfied: decorator>=3.4.0 in /usr/local/lib/python3.10/dist-packages (from validators<=0.21.0,>=0.18.2->weaviate-client==3.20.0->-r reqs_optional/requirements_optional_langchain.txt (line 42)) (4.4.2)\n", "Collecting httpx<0.24,>=0.15 (from argilla->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading httpx-0.23.3-py3-none-any.whl (71 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m71.5/71.5 kB\u001b[0m \u001b[31m10.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting deprecated~=1.2.0 (from argilla->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading Deprecated-1.2.14-py2.py3-none-any.whl (9.6 kB)\n", "Collecting pandas>=1.3 (from chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11))\n", " Downloading pandas-1.5.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.1 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m12.1/12.1 MB\u001b[0m \u001b[31m82.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: wrapt<1.15,>=1.13 in /usr/local/lib/python3.10/dist-packages (from argilla->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20)) (1.14.1)\n", "Collecting numpy<2,>=1 (from langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2))\n", " Downloading numpy-1.23.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m17.1/17.1 MB\u001b[0m \u001b[31m74.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting rich<=13.0.1 (from argilla->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading rich-13.0.1-py3-none-any.whl (238 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m238.1/238.1 kB\u001b[0m \u001b[31m26.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: typer<0.8.0,>=0.6.0 in /usr/local/lib/python3.10/dist-packages (from argilla->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20)) (0.7.0)\n", "Collecting olefile>=0.46 (from msg-parser->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading olefile-0.46.zip (112 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m112.2/112.2 kB\u001b[0m \u001b[31m13.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "Requirement already satisfied: joblib in /usr/local/lib/python3.10/dist-packages (from nltk->sentence_transformers==2.2.2->-r reqs_optional/requirements_optional_langchain.txt (line 8)) (1.2.0)\n", "Requirement already satisfied: et-xmlfile in /usr/local/lib/python3.10/dist-packages (from openpyxl->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20)) (1.1.0)\n", "Collecting XlsxWriter>=0.5.7 (from python-pptx->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading XlsxWriter-3.1.2-py3-none-any.whl (153 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m153.0/153.0 kB\u001b[0m \u001b[31m19.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: threadpoolctl>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from scikit-learn->sentence_transformers==2.2.2->-r reqs_optional/requirements_optional_langchain.txt (line 8)) (3.1.0)\n", "Requirement already satisfied: pycparser in /usr/local/lib/python3.10/dist-packages (from cffi>=1.12->cryptography>=36.0.0->pdfminer.six==20221105->-r reqs_optional/requirements_optional_langchain.txt (line 25)) (2.21)\n", "Collecting httpcore<0.17.0,>=0.15.0 (from httpx<0.24,>=0.15->argilla->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading httpcore-0.16.3-py3-none-any.whl (69 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m69.6/69.6 kB\u001b[0m \u001b[31m9.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting rfc3986[idna2008]<2,>=1.3 (from httpx<0.24,>=0.15->argilla->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading rfc3986-1.5.0-py2.py3-none-any.whl (31 kB)\n", "Requirement already satisfied: sniffio in /usr/local/lib/python3.10/dist-packages (from httpx<0.24,>=0.15->argilla->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20)) (1.3.0)\n", "Collecting commonmark<0.10.0,>=0.9.0 (from rich<=13.0.1->argilla->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading commonmark-0.9.1-py2.py3-none-any.whl (51 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m51.1/51.1 kB\u001b[0m \u001b[31m6.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: pygments<3.0.0,>=2.6.0 in /usr/local/lib/python3.10/dist-packages (from rich<=13.0.1->argilla->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20)) (2.14.0)\n", "Requirement already satisfied: anyio<5,>=3.4.0 in /usr/local/lib/python3.10/dist-packages (from starlette<0.28.0,>=0.27.0->fastapi>=0.85.1->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (3.7.0)\n", "Collecting mypy-extensions>=0.3.0 (from typing-inspect>=0.4.0->dataclasses-json<0.6.0,>=0.5.7->langchain==0.0.202->-r reqs_optional/requirements_optional_langchain.txt (line 2))\n", " Downloading mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB)\n", "Collecting humanfriendly>=9.1 (from coloredlogs->onnxruntime>=1.14.1->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11))\n", " Downloading humanfriendly-10.0-py2.py3-none-any.whl (86 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m86.8/86.8 kB\u001b[0m \u001b[31m11.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.10/dist-packages (from importlib-metadata->clickhouse-connect>=0.5.7->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (3.15.0)\n", "Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.10/dist-packages (from jinja2->torch>=1.6.0->sentence_transformers==2.2.2->-r reqs_optional/requirements_optional_langchain.txt (line 8)) (2.1.3)\n", "Collecting iopath (from layoutparser[layoutmodels,tesseract]->unstructured-inference==0.5.1->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading iopath-0.1.10.tar.gz (42 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m42.2/42.2 kB\u001b[0m \u001b[31m5.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "Collecting pdfplumber (from layoutparser[layoutmodels,tesseract]->unstructured-inference==0.5.1->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading pdfplumber-0.9.0-py3-none-any.whl (46 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m46.1/46.1 kB\u001b[0m \u001b[31m4.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting pdf2image (from layoutparser[layoutmodels,tesseract]->unstructured-inference==0.5.1->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading pdf2image-1.16.3-py3-none-any.whl (11 kB)\n", "Collecting pytesseract (from layoutparser[layoutmodels,tesseract]->unstructured-inference==0.5.1->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading pytesseract-0.3.10-py3-none-any.whl (14 kB)\n", "Collecting effdet (from layoutparser[layoutmodels,tesseract]->unstructured-inference==0.5.1->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading effdet-0.4.1-py3-none-any.whl (112 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m112.5/112.5 kB\u001b[0m \u001b[31m14.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.10/dist-packages (from sympy->onnxruntime>=1.14.1->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (1.3.0)\n", "Requirement already satisfied: exceptiongroup in /usr/local/lib/python3.10/dist-packages (from anyio<5,>=3.4.0->starlette<0.28.0,>=0.27.0->fastapi>=0.85.1->chromadb==0.3.25->-r reqs_optional/requirements_optional_langchain.txt (line 11)) (1.1.1)\n", "Collecting timm>=0.9.2 (from effdet->layoutparser[layoutmodels,tesseract]->unstructured-inference==0.5.1->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading timm-0.9.2-py3-none-any.whl (2.2 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.2/2.2 MB\u001b[0m \u001b[31m98.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: pycocotools>=2.0.2 in /usr/local/lib/python3.10/dist-packages (from effdet->layoutparser[layoutmodels,tesseract]->unstructured-inference==0.5.1->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20)) (2.0.6)\n", "Collecting omegaconf>=2.0 (from effdet->layoutparser[layoutmodels,tesseract]->unstructured-inference==0.5.1->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading omegaconf-2.3.0-py3-none-any.whl (79 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m79.5/79.5 kB\u001b[0m \u001b[31m10.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: portalocker in /usr/local/lib/python3.10/dist-packages (from iopath->layoutparser[layoutmodels,tesseract]->unstructured-inference==0.5.1->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20)) (2.7.0)\n", "Collecting pillow (from -r reqs_optional/requirements_optional_langchain.txt (line 23))\n", " Downloading Pillow-10.0.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.4 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.4/3.4 MB\u001b[0m \u001b[31m94.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting Wand>=0.6.10 (from pdfplumber->layoutparser[layoutmodels,tesseract]->unstructured-inference==0.5.1->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading Wand-0.6.11-py2.py3-none-any.whl (143 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m143.6/143.6 kB\u001b[0m \u001b[31m18.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting antlr4-python3-runtime==4.9.* (from omegaconf>=2.0->effdet->layoutparser[layoutmodels,tesseract]->unstructured-inference==0.5.1->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20))\n", " Downloading antlr4-python3-runtime-4.9.3.tar.gz (117 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m117.0/117.0 kB\u001b[0m \u001b[31m15.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "Requirement already satisfied: matplotlib>=2.1.0 in /usr/local/lib/python3.10/dist-packages (from pycocotools>=2.0.2->effdet->layoutparser[layoutmodels,tesseract]->unstructured-inference==0.5.1->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20)) (3.7.1)\n", "Requirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=2.1.0->pycocotools>=2.0.2->effdet->layoutparser[layoutmodels,tesseract]->unstructured-inference==0.5.1->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20)) (1.1.0)\n", "Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=2.1.0->pycocotools>=2.0.2->effdet->layoutparser[layoutmodels,tesseract]->unstructured-inference==0.5.1->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20)) (0.11.0)\n", "Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=2.1.0->pycocotools>=2.0.2->effdet->layoutparser[layoutmodels,tesseract]->unstructured-inference==0.5.1->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20)) (4.40.0)\n", "Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=2.1.0->pycocotools>=2.0.2->effdet->layoutparser[layoutmodels,tesseract]->unstructured-inference==0.5.1->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20)) (1.4.4)\n", "Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=2.1.0->pycocotools>=2.0.2->effdet->layoutparser[layoutmodels,tesseract]->unstructured-inference==0.5.1->unstructured[local-inference]==0.7.4->-r reqs_optional/requirements_optional_langchain.txt (line 20)) (3.1.0)\n", "Building wheels for collected packages: sentence_transformers, hnswlib, validators, python-docx, python-pptx, olefile, iopath, antlr4-python3-runtime\n", " Building wheel for sentence_transformers (setup.py) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for sentence_transformers: filename=sentence_transformers-2.2.2-py3-none-any.whl size=125926 sha256=db35896d0da5bc0be5f8c5c6cb121c951a5f8cea6f3854c6cc6ea63f45e57726\n", " Stored in directory: /root/.cache/pip/wheels/62/f2/10/1e606fd5f02395388f74e7462910fe851042f97238cbbd902f\n", " Building wheel for hnswlib (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for hnswlib: filename=hnswlib-0.7.0-cp310-cp310-linux_x86_64.whl size=2119694 sha256=309e295edfd8427215f8373bd38165dd42bbcf46ec3f9905f03c80b8773ba16a\n", " Stored in directory: /root/.cache/pip/wheels/8a/ae/ec/235a682e0041fbaeee389843670581ec6c66872db856dfa9a4\n", " Building wheel for validators (setup.py) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for validators: filename=validators-0.20.0-py3-none-any.whl size=19579 sha256=65f5a3bf7a54a8841222020f1e7cd8aac83e009ee2506a86f13e6d22c0c0c87b\n", " Stored in directory: /root/.cache/pip/wheels/f2/ed/dd/d3a556ad245ef9dc570c6bcd2f22886d17b0b408dd3bbb9ac3\n", " Building wheel for python-docx (setup.py) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for python-docx: filename=python_docx-0.8.11-py3-none-any.whl size=184491 sha256=cc2476400bfc164530b5ff1a5ce8ba9678118e9bbde498f175a5b5552cee9735\n", " Stored in directory: /root/.cache/pip/wheels/80/27/06/837436d4c3bd989b957a91679966f207bfd71d358d63a8194d\n", " Building wheel for python-pptx (setup.py) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for python-pptx: filename=python_pptx-0.6.21-py3-none-any.whl size=470935 sha256=775f75fe576422503e1c9d485a3d5c9728168d839da530453c374c14706a0a59\n", " Stored in directory: /root/.cache/pip/wheels/ea/dd/74/01b3ec7256a0800b99384e9a0f7620e358afc3a51a59bf9b49\n", " Building wheel for olefile (setup.py) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for olefile: filename=olefile-0.46-py2.py3-none-any.whl size=35417 sha256=18670533cecd2009791cb2f39f58a5bd9ead12cff2471de52e77ad2b6b7d3651\n", " Stored in directory: /root/.cache/pip/wheels/02/39/c0/9eb1f7a42b4b38f6f333b6314d4ed11c46f12a0f7b78194f0d\n", " Building wheel for iopath (setup.py) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for iopath: filename=iopath-0.1.10-py3-none-any.whl size=31531 sha256=320d7b3644fd2c7993fbb7fe9d438f44a755ff0726c1cfe67e156c4b274797c9\n", " Stored in directory: /root/.cache/pip/wheels/9a/a3/b6/ac0fcd1b4ed5cfeb3db92e6a0e476cfd48ed0df92b91080c1d\n", " Building wheel for antlr4-python3-runtime (setup.py) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.9.3-py3-none-any.whl size=144554 sha256=2c98a2e1cb7927ba47149d253334d33862bd5b89c506453342168f22caa78e6b\n", " Stored in directory: /root/.cache/pip/wheels/12/93/dd/1f6a127edc45659556564c5730f6d4e300888f4bca2d4c5a88\n", "Successfully built sentence_transformers hnswlib validators python-docx python-pptx olefile iopath antlr4-python3-runtime\n", "Installing collected packages: Wand, rfc3986, filetype, commonmark, antlr4-python3-runtime, XlsxWriter, validators, uvloop, tabulate, rich, requests, python-magic, python-docx, pypdf, pypandoc, prettytable, pillow, overrides, omegaconf, olefile, numpy, mypy-extensions, marshmallow, lz4, iopath, importlib-metadata, humanfriendly, httptools, deprecated, backoff, watchfiles, typing-inspect, requests_file, python-pptx, pytesseract, posthog, pip-licenses, pdf2image, pandas, openapi-schema-pydantic, msg-parser, marshmallow-enum, langchainplus-sdk, httpcore, hnswlib, cryptography, coloredlogs, clickhouse-connect, pdfminer.six, onnxruntime, httpx, dataclasses-json, authlib, weaviate-client, pdfplumber, langchain, chromadb, argilla, unstructured, layoutparser, timm, effdet, unstructured-inference, sentence_transformers\n", " Attempting uninstall: tabulate\n", " Found existing installation: tabulate 0.8.10\n", " Uninstalling tabulate-0.8.10:\n", " Successfully uninstalled tabulate-0.8.10\n", " Attempting uninstall: rich\n", " Found existing installation: rich 13.4.2\n", " Uninstalling rich-13.4.2:\n", " Successfully uninstalled rich-13.4.2\n", " Attempting uninstall: requests\n", " Found existing installation: requests 2.27.1\n", " Uninstalling requests-2.27.1:\n", " Successfully uninstalled requests-2.27.1\n", " Attempting uninstall: prettytable\n", " Found existing installation: prettytable 0.7.2\n", " Uninstalling prettytable-0.7.2:\n", " Successfully uninstalled prettytable-0.7.2\n", " Attempting uninstall: pillow\n", " Found existing installation: Pillow 8.4.0\n", " Uninstalling Pillow-8.4.0:\n", " Successfully uninstalled Pillow-8.4.0\n", " Attempting uninstall: numpy\n", " Found existing installation: numpy 1.24.3\n", " Uninstalling numpy-1.24.3:\n", " Successfully uninstalled numpy-1.24.3\n", " Attempting uninstall: pandas\n", " Found existing installation: pandas 2.0.2\n", " Uninstalling pandas-2.0.2:\n", " Successfully uninstalled pandas-2.0.2\n", " Attempting uninstall: httpcore\n", " Found existing installation: httpcore 0.17.3\n", " Uninstalling httpcore-0.17.3:\n", " Successfully uninstalled httpcore-0.17.3\n", " Attempting uninstall: httpx\n", " Found existing installation: httpx 0.24.1\n", " Uninstalling httpx-0.24.1:\n", " Successfully uninstalled httpx-0.24.1\n", "\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n", "sphinx 3.5.4 requires docutils<0.17,>=0.12, but you have docutils 0.20.1 which is incompatible.\n", "google-colab 1.0.0 requires requests==2.27.1, but you have requests 2.31.0 which is incompatible.\n", "ipython-sql 0.4.1 requires prettytable<1, but you have prettytable 3.8.0 which is incompatible.\n", "tensorflow 2.12.0 requires tensorboard<2.13,>=2.12, but you have tensorboard 2.13.0 which is incompatible.\u001b[0m\u001b[31m\n", "\u001b[0mSuccessfully installed Wand-0.6.11 XlsxWriter-3.1.2 antlr4-python3-runtime-4.9.3 argilla-1.12.0 authlib-1.2.1 backoff-2.2.1 chromadb-0.3.25 clickhouse-connect-0.6.6 coloredlogs-15.0.1 commonmark-0.9.1 cryptography-41.0.1 dataclasses-json-0.5.9 deprecated-1.2.14 effdet-0.4.1 filetype-1.2.0 hnswlib-0.7.0 httpcore-0.16.3 httptools-0.6.0 httpx-0.23.3 humanfriendly-10.0 importlib-metadata-6.8.0 iopath-0.1.10 langchain-0.0.202 langchainplus-sdk-0.0.20 layoutparser-0.3.4 lz4-4.3.2 marshmallow-3.19.0 marshmallow-enum-1.5.1 msg-parser-1.2.0 mypy-extensions-1.0.0 numpy-1.23.5 olefile-0.46 omegaconf-2.3.0 onnxruntime-1.15.1 openapi-schema-pydantic-1.2.4 overrides-7.3.1 pandas-1.5.3 pdf2image-1.16.3 pdfminer.six-20221105 pdfplumber-0.9.0 pillow-10.0.0 pip-licenses-4.3.0 posthog-3.0.1 prettytable-3.8.0 pypandoc-1.11 pypdf-3.9.1 pytesseract-0.3.10 python-docx-0.8.11 python-magic-0.4.27 python-pptx-0.6.21 requests-2.31.0 requests_file-1.5.1 rfc3986-1.5.0 rich-13.0.1 sentence_transformers-2.2.2 tabulate-0.9.0 timm-0.9.2 typing-inspect-0.9.0 unstructured-0.7.4 unstructured-inference-0.5.1 uvloop-0.17.0 validators-0.20.0 watchfiles-0.19.0 weaviate-client-3.20.0\n", "\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n", "\u001b[0mCollecting gpt4all==0.3.3 (from -r reqs_optional/requirements_optional_gpt4all.txt (line 1))\n", " Downloading gpt4all-0.3.3-py3-none-manylinux1_x86_64.whl (2.3 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.3/2.3 MB\u001b[0m \u001b[31m43.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting llama-cpp-python==0.1.68 (from -r reqs_optional/requirements_optional_gpt4all.txt (line 2))\n", " Downloading llama_cpp_python-0.1.68.tar.gz (1.6 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.6/1.6 MB\u001b[0m \u001b[31m89.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25h Installing build dependencies ... \u001b[?25l\u001b[?25hdone\n", " Getting requirements to build wheel ... \u001b[?25l\u001b[?25hdone\n", " Preparing metadata (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n", "Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from gpt4all==0.3.3->-r reqs_optional/requirements_optional_gpt4all.txt (line 1)) (2.31.0)\n", "Requirement already satisfied: tqdm in /usr/local/lib/python3.10/dist-packages (from gpt4all==0.3.3->-r reqs_optional/requirements_optional_gpt4all.txt (line 1)) (4.65.0)\n", "Requirement already satisfied: typing-extensions>=4.5.0 in /usr/local/lib/python3.10/dist-packages (from llama-cpp-python==0.1.68->-r reqs_optional/requirements_optional_gpt4all.txt (line 2)) (4.6.3)\n", "Requirement already satisfied: numpy>=1.20.0 in /usr/local/lib/python3.10/dist-packages (from llama-cpp-python==0.1.68->-r reqs_optional/requirements_optional_gpt4all.txt (line 2)) (1.23.5)\n", "Collecting diskcache>=5.6.1 (from llama-cpp-python==0.1.68->-r reqs_optional/requirements_optional_gpt4all.txt (line 2))\n", " Downloading diskcache-5.6.1-py3-none-any.whl (45 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m45.6/45.6 kB\u001b[0m \u001b[31m4.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hRequirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests->gpt4all==0.3.3->-r reqs_optional/requirements_optional_gpt4all.txt (line 1)) (2.0.12)\n", "Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->gpt4all==0.3.3->-r reqs_optional/requirements_optional_gpt4all.txt (line 1)) (3.4)\n", "Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->gpt4all==0.3.3->-r reqs_optional/requirements_optional_gpt4all.txt (line 1)) (1.26.16)\n", "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->gpt4all==0.3.3->-r reqs_optional/requirements_optional_gpt4all.txt (line 1)) (2023.5.7)\n", "Building wheels for collected packages: llama-cpp-python\n", " Building wheel for llama-cpp-python (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for llama-cpp-python: filename=llama_cpp_python-0.1.68-cp310-cp310-linux_x86_64.whl size=264473 sha256=cc7e08b27aa492bfa9a92d7d02847e38c17e823d9c5f099a68a75781c15ad944\n", " Stored in directory: /root/.cache/pip/wheels/df/f2/fb/b8153a244ace60fa4759cbd3d4881a2132b71e0e894ed6f29b\n", "Successfully built llama-cpp-python\n", "Installing collected packages: diskcache, llama-cpp-python, gpt4all\n", "Successfully installed diskcache-5.6.1 gpt4all-0.3.3 llama-cpp-python-0.1.68\n", "\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n", "\u001b[0mCollecting arxiv==1.4.7 (from -r reqs_optional/requirements_optional_langchain.gpllike.txt (line 1))\n", " Downloading arxiv-1.4.7-py3-none-any.whl (12 kB)\n", "Collecting pymupdf==1.22.3 (from -r reqs_optional/requirements_optional_langchain.gpllike.txt (line 2))\n", " Downloading PyMuPDF-1.22.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.1 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m14.1/14.1 MB\u001b[0m \u001b[31m65.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting feedparser (from arxiv==1.4.7->-r reqs_optional/requirements_optional_langchain.gpllike.txt (line 1))\n", " Downloading feedparser-6.0.10-py3-none-any.whl (81 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m81.1/81.1 kB\u001b[0m \u001b[31m11.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting sgmllib3k (from feedparser->arxiv==1.4.7->-r reqs_optional/requirements_optional_langchain.gpllike.txt (line 1))\n", " Downloading sgmllib3k-1.0.0.tar.gz (5.8 kB)\n", " Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "Building wheels for collected packages: sgmllib3k\n", " Building wheel for sgmllib3k (setup.py) ... \u001b[?25l\u001b[?25hdone\n", " Created wheel for sgmllib3k: filename=sgmllib3k-1.0.0-py3-none-any.whl size=6046 sha256=70d6703a0ea63fbdca7fd1a2fa871b0fee5f541b2edb38093400033164259929\n", " Stored in directory: /root/.cache/pip/wheels/f0/69/93/a47e9d621be168e9e33c7ce60524393c0b92ae83cf6c6e89c5\n", "Successfully built sgmllib3k\n", "Installing collected packages: sgmllib3k, pymupdf, feedparser, arxiv\n", "Successfully installed arxiv-1.4.7 feedparser-6.0.10 pymupdf-1.22.3 sgmllib3k-1.0.0\n", "\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n", "\u001b[0mCollecting playwright==1.33.0 (from -r reqs_optional/requirements_optional_langchain.urls.txt (line 2))\n", " Downloading playwright-1.33.0-py3-none-manylinux1_x86_64.whl (35.3 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m35.3/35.3 MB\u001b[0m \u001b[31m15.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting selenium==4.10.0 (from -r reqs_optional/requirements_optional_langchain.urls.txt (line 4))\n", " Downloading selenium-4.10.0-py3-none-any.whl (6.7 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m6.7/6.7 MB\u001b[0m \u001b[31m69.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting greenlet==2.0.1 (from playwright==1.33.0->-r reqs_optional/requirements_optional_langchain.urls.txt (line 2))\n", " Downloading greenlet-2.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (539 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m539.9/539.9 kB\u001b[0m \u001b[31m36.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting pyee==9.0.4 (from playwright==1.33.0->-r reqs_optional/requirements_optional_langchain.urls.txt (line 2))\n", " Downloading pyee-9.0.4-py2.py3-none-any.whl (14 kB)\n", "Requirement already satisfied: urllib3[socks]<3,>=1.26 in /usr/local/lib/python3.10/dist-packages (from selenium==4.10.0->-r reqs_optional/requirements_optional_langchain.urls.txt (line 4)) (1.26.16)\n", "Collecting trio~=0.17 (from selenium==4.10.0->-r reqs_optional/requirements_optional_langchain.urls.txt (line 4))\n", " Downloading trio-0.22.1-py3-none-any.whl (399 kB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m399.3/399.3 kB\u001b[0m \u001b[31m35.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", "\u001b[?25hCollecting trio-websocket~=0.9 (from selenium==4.10.0->-r reqs_optional/requirements_optional_langchain.urls.txt (line 4))\n", " Downloading trio_websocket-0.10.3-py3-none-any.whl (17 kB)\n", "Requirement already satisfied: certifi>=2021.10.8 in /usr/local/lib/python3.10/dist-packages (from selenium==4.10.0->-r reqs_optional/requirements_optional_langchain.urls.txt (line 4)) (2023.5.7)\n", "Requirement already satisfied: typing-extensions in /usr/local/lib/python3.10/dist-packages (from pyee==9.0.4->playwright==1.33.0->-r reqs_optional/requirements_optional_langchain.urls.txt (line 2)) (4.6.3)\n", "Requirement already satisfied: attrs>=20.1.0 in /usr/local/lib/python3.10/dist-packages (from trio~=0.17->selenium==4.10.0->-r reqs_optional/requirements_optional_langchain.urls.txt (line 4)) (23.1.0)\n", "Requirement already satisfied: sortedcontainers in /usr/local/lib/python3.10/dist-packages (from trio~=0.17->selenium==4.10.0->-r reqs_optional/requirements_optional_langchain.urls.txt (line 4)) (2.4.0)\n", "Requirement already satisfied: idna in /usr/local/lib/python3.10/dist-packages (from trio~=0.17->selenium==4.10.0->-r reqs_optional/requirements_optional_langchain.urls.txt (line 4)) (3.4)\n", "Collecting outcome (from trio~=0.17->selenium==4.10.0->-r reqs_optional/requirements_optional_langchain.urls.txt (line 4))\n", " Downloading outcome-1.2.0-py2.py3-none-any.whl (9.7 kB)\n", "Requirement already satisfied: sniffio in /usr/local/lib/python3.10/dist-packages (from trio~=0.17->selenium==4.10.0->-r reqs_optional/requirements_optional_langchain.urls.txt (line 4)) (1.3.0)\n", "Requirement already satisfied: exceptiongroup>=1.0.0rc9 in /usr/local/lib/python3.10/dist-packages (from trio~=0.17->selenium==4.10.0->-r reqs_optional/requirements_optional_langchain.urls.txt (line 4)) (1.1.1)\n", "Collecting wsproto>=0.14 (from trio-websocket~=0.9->selenium==4.10.0->-r reqs_optional/requirements_optional_langchain.urls.txt (line 4))\n", " Downloading wsproto-1.2.0-py3-none-any.whl (24 kB)\n", "Requirement already satisfied: PySocks!=1.5.7,<2.0,>=1.5.6 in /usr/local/lib/python3.10/dist-packages (from urllib3[socks]<3,>=1.26->selenium==4.10.0->-r reqs_optional/requirements_optional_langchain.urls.txt (line 4)) (1.7.1)\n", "Requirement already satisfied: h11<1,>=0.9.0 in /usr/local/lib/python3.10/dist-packages (from wsproto>=0.14->trio-websocket~=0.9->selenium==4.10.0->-r reqs_optional/requirements_optional_langchain.urls.txt (line 4)) (0.14.0)\n", "Installing collected packages: wsproto, pyee, outcome, greenlet, trio, playwright, trio-websocket, selenium\n", " Attempting uninstall: greenlet\n", " Found existing installation: greenlet 2.0.2\n", " Uninstalling greenlet-2.0.2:\n", " Successfully uninstalled greenlet-2.0.2\n", "\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n", "ipython-sql 0.4.1 requires prettytable<1, but you have prettytable 3.8.0 which is incompatible.\u001b[0m\u001b[31m\n", "\u001b[0mSuccessfully installed greenlet-2.0.1 outcome-1.2.0 playwright-1.33.0 pyee-9.0.4 selenium-4.10.0 trio-0.22.1 trio-websocket-0.10.3 wsproto-1.2.0\n", "\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n", "\u001b[0m" ] } ] }, { "cell_type": "code", "source": [ "# Sign-up for free ngrok account using (e.g.) your Google email/login and get token: https://dashboard.ngrok.com/get-started/setup\n", "\n", "!pip install pyngrok\n", "import getpass\n", "from pyngrok import ngrok, conf\n", "\n", "print(\"Enter your authtoken, which can be copied from https://dashboard.ngrok.com/auth\")\n", "conf.get_default().auth_token = getpass.getpass()\n", "\n", "# Open an http ngrok tunnel\n", "connection_string = ngrok.connect(7860, \"http\").public_url\n", "print(\"Once server is up and says Running on local URL: http://0.0.0.0:7860, click on this link, then click on Visit Site: %s\" % connection_string)" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "U1b_FOQZ8snb", "outputId": "e36eb88f-824c-4e0e-8318-00c72ebe4c02" }, "execution_count": null, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Requirement already satisfied: pyngrok in /usr/local/lib/python3.10/dist-packages (6.0.0)\n", "Requirement already satisfied: PyYAML in /usr/local/lib/python3.10/dist-packages (from pyngrok) (6.0)\n", "\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n", "\u001b[0mEnter your authtoken, which can be copied from https://dashboard.ngrok.com/auth\n", "··········\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ "WARNING:pyngrok.process.ngrok:t=2023-07-11T03:10:49+0000 lvl=warn msg=\"ngrok config file found at legacy location, move to XDG location\" xdg_path=/root/.config/ngrok/ngrok.yml legacy_path=/root/.ngrok2/ngrok.yml\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ "Once server is up, go to this link, then click on Visit Site: https://1319-35-204-83-66.ngrok-free.app\n" ] } ] }, { "cell_type": "code", "source": [ "!GRADIO_SERVER_PORT=7860 python generate.py --base_model=togethercomputer/RedPajama-INCITE-Chat-3B-v1 --prompt_type=human_bot --score_model=None --langchain_mode=LLM --langchain_modes=\"['LLM', 'UserData', 'MyData']\" --user_path=user_path --share=False --hf_embedding_model=sentence-transformers/all-MiniLM-L6-v2" ], "metadata": { "execution": { "iopub.status.busy": "2023-04-19T05:18:33.037534Z", "iopub.execute_input": "2023-04-19T05:18:33.038673Z", "iopub.status.idle": "2023-04-19T05:18:33.045040Z", "shell.execute_reply.started": "2023-04-19T05:18:33.038615Z", "shell.execute_reply": "2023-04-19T05:18:33.043977Z" }, "trusted": true, "id": "OTYGZLxs-chg", "colab": { "base_uri": "https://localhost:8080/" }, "outputId": "8574bda0-df6d-444a-f766-8ac4b0a82baf" }, "execution_count": null, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "Using Model togethercomputer/redpajama-incite-chat-3b-v1\n", "Prep: persist_directory=db_dir_LLM does not exist, regenerating\n", "Prep: persist_directory=db_dir_UserData does not exist, regenerating\n", "0it [00:00, ?it/s]\n", "0it [00:00, ?it/s]\n", "Loaded 0 sources for potentially adding to UserData\n", "2023-07-11 03:11:10.954918: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\n", "The model weights are not tied. Please use the `tie_weights` method before using the `infer_auto_device` function.\n", "device_map: {'': 0}\n" ] }, { "output_type": "stream", "name": "stderr", "text": [ "WARNING:pyngrok.process.ngrok:t=2023-07-11T03:11:59+0000 lvl=warn msg=\"failed to open private leg\" id=ff67c2322fe7 privaddr=localhost:7860 err=\"dial tcp 127.0.0.1:7860: connect: connection refused\"\n", "WARNING:pyngrok.process.ngrok:t=2023-07-11T03:11:59+0000 lvl=warn msg=\"failed to open private leg\" id=850630bf7afa privaddr=localhost:7860 err=\"dial tcp 127.0.0.1:7860: connect: connection refused\"\n", "WARNING:pyngrok.process.ngrok:t=2023-07-11T03:12:46+0000 lvl=warn msg=\"failed to open private leg\" id=8b6a5cbc7a23 privaddr=localhost:7860 err=\"dial tcp 127.0.0.1:7860: connect: connection refused\"\n", "WARNING:pyngrok.process.ngrok:t=2023-07-11T03:12:47+0000 lvl=warn msg=\"failed to open private leg\" id=32a4dca6ad43 privaddr=localhost:7860 err=\"dial tcp 127.0.0.1:7860: connect: connection refused\"\n" ] }, { "output_type": "stream", "name": "stdout", "text": [ "\rDownloading (…)neration_config.json: 0% 0.00/111 [00:00: ', 'PreInput': None, 'PreResponse': ':', 'terminate_response': ['\\n:', '\\n:', ':', ':', ':'], 'chat_sep': '\\n', 'chat_turn_sep': '\\n', 'humanstr': ':', 'botstr': ':', 'generates_leading_space': True}}\n", "Running on local URL: http://0.0.0.0:7860\n", "\n", "To create a public link, set `share=True` in `launch()`.\n", "The attention mask and the pad token id were not set. As a consequence, you may observe unexpected behavior. Please pass your input's `attention_mask` to obtain reliable results.\n", "Setting `pad_token_id` to `eos_token_id`:0 for open-end generation.\n" ] } ] }, { "cell_type": "code", "source": [ "# can kill old ngrok + generate and try again\n", "do_kill = False\n", "if do_kill:\n", " !pkill -f generate --signal 9\n", " !pkill -f frpc_linux_amd --signal 9\n", " !pkill -f ngrok --signal 9" ], "metadata": { "id": "dxd6BkoP9sKh" }, "execution_count": null, "outputs": [] }, { "cell_type": "code", "source": [], "metadata": { "id": "wsYrY5AiP94S" }, "execution_count": null, "outputs": [] } ] }