ipex-llm/python/llm/portable-zip
binbin Deng e5ae6f2c13 LLM: fix truncation logic of past_key_values in chatglm multi turn chat (#10007)
* Avoid frequently truncating past_key_values  when its length is larger than required.
2024-01-26 16:56:02 +08:00
..
.gitignore LLM: add ui for portable-zip (#9262) 2023-11-01 15:36:59 +08:00
chat-ui.bat LLM: add ui for portable-zip (#9262) 2023-11-01 15:36:59 +08:00
chat.bat LLM: adjust portable zip content (#9054) 2023-10-09 10:51:19 +08:00
chat.py LLM: fix truncation logic of past_key_values in chatglm multi turn chat (#10007) 2024-01-26 16:56:02 +08:00
kv_cache.py LLM: improve response speed in multi-turn chat (#9299) 2023-11-01 10:30:44 +08:00
README-ui.md LLM: add ui for portable-zip (#9262) 2023-11-01 15:36:59 +08:00
README.md LLM: fix portable zip README image link (#9201) 2023-10-17 16:38:22 +08:00
setup.bat LLM: add ui for portable-zip (#9262) 2023-11-01 15:36:59 +08:00
setup.md LLM: add ui for portable-zip (#9262) 2023-11-01 15:36:59 +08:00

BigDL-LLM Portable Zip For Windows: User Guide

Introduction

This portable zip includes everything you need to run an LLM with BigDL-LLM optimizations (except models) . Please refer to How to use section to get started.

13B model running on an Intel 11-Gen Core PC (real-time screen capture)

Verified Models

  • ChatGLM2-6b
  • Baichuan-13B-Chat
  • Baichuan2-7B-Chat
  • internlm-chat-7b-8k
  • Llama-2-7b-chat-hf

How to use

  1. Download the zip from link here.
  2. (Optional) You could also build the zip on your own. Run setup.bat and it will generate the zip file.
  3. Unzip bigdl-llm.zip.
  4. Download the model to your computer. Please ensure there is a file named config.json in the model folder, otherwise the script won't work.

  1. Go into the unzipped folder and double click chat.bat. Input the path of the model (e.g. path\to\model, note that there's no slash at the end of the path). Press Enter and wait until model finishes loading. Then enjoy chatting with the model!

  1. If you want to stop chatting, just input stop and the model will stop running.