ipex-llm/python/llm/example/CPU/HF-Transformers-AutoModels
Jin Qiao 97a38958bd LLM: add CodeLlama CPU and GPU examples (#9338)
* LLM: add codellama CPU pytorch examples

* LLM: add codellama CPU transformers examples

* LLM: add codellama GPU transformers examples

* LLM: add codellama GPU pytorch examples

* LLM: add codellama in readme

* LLM: add LLaVA link
2023-11-02 15:34:25 +08:00
..
Model LLM: add CodeLlama CPU and GPU examples (#9338) 2023-11-02 15:34:25 +08:00
More-Data-Types LLM: update example layout (#9046) 2023-10-09 15:36:39 +08:00
Save-Load LLM: update example layout (#9046) 2023-10-09 15:36:39 +08:00
README.md LLM: update example layout (#9046) 2023-10-09 15:36:39 +08:00

Running Hugging Face Transformers model using BigDL-LLM on Intel CPU

This folder contains examples of running any Hugging Face Transformers model on BigDL-LLM (using the standard AutoModel APIs):

  • Model: examples of running Hugging Face Transformers models (e.g., LLaMA2, ChatGLM2, Falcon, MPT, Baichuan2, etc.) using INT4 optimizations
  • More-Data-Types: examples of applying other low bit optimizations (NF4/INT5/INT8, etc.)
  • Save-Load: examples of saving and loading low-bit models