{ "cells": [ { "cell_type": "code", "execution_count": null, "id": "9531c2e1", "metadata": {}, "outputs": [], "source": [ "!git clone https://github.com/lm-sys/FastChat.git\n", "%cd FastChat\n", "!python3 -m pip install -e .\n", "%cd .." ] }, { "cell_type": "code", "execution_count": null, "id": "9d3f37d3", "metadata": {}, "outputs": [], "source": [ "!curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash\n", "!sudo apt-get install git-lfs\n", "!git lfs install" ] }, { "cell_type": "code", "execution_count": null, "id": "66c11bb4", "metadata": {}, "outputs": [], "source": [ "#!git clone https://huggingface.co/helloollel/vicuna-13b" ] }, { "cell_type": "code", "execution_count": null, "id": "dbe18cb7", "metadata": {}, "outputs": [], "source": [ "!python3 -m fastchat.serve.cli --model-path ./vicuna-7b" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.10.8" } }, "nbformat": 4, "nbformat_minor": 5 }