ipex-llm/python/llm/example/CPU/HF-Transformers-AutoModels
Yuwen Hu 8c36b5bdde
Add qwen2 example (#11252)
* Add GPU example for Qwen2

* Update comments in README

* Update README for Qwen2 GPU example

* Add CPU example for Qwen2

Sample Output under README pending

* Update generate.py and README for CPU Qwen2

* Update GPU example for Qwen2

* Small update

* Small fix

* Add Qwen2 table

* Update README for Qwen2 CPU and GPU

Update sample output under README

---------

Co-authored-by: Zijie Li <michael20001122@gmail.com>
2024-06-07 10:29:33 +08:00
..
Advanced-Quantizations Miniconda/Anaconda -> Miniforge update in examples (#11194) 2024-06-04 10:14:02 +08:00
Model Add qwen2 example (#11252) 2024-06-07 10:29:33 +08:00
More-Data-Types LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
Save-Load LLM: Modify CPU Installation Command for most examples (#11049) 2024-05-17 15:52:20 +08:00
README.md Update readme (#10665) 2024-04-05 18:01:57 +08:00

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

This folder contains examples of running any HuggingFace transformers model on IPEX-LLM (using the standard AutoModel APIs):

  • Model: examples of running HuggingFace transformers models (e.g., LLaMA, Mistral, ChatGLM, Qwen, Baichuan, Mixtral, Gemma, etc.) using INT4 optimizations
  • More-Data-Types: examples of applying other low bit optimizations (INT8/INT5, etc.) on Intel CPU
  • Save-Load: examples of saving and loading low-bit models
  • Advanced-Quantizations: examples of loading GGUF/AWQ/GPTQ models