* Add a new CPU example of Yuan2-2B-hf * Add a new CPU generate.py of Yuan2-2B-hf example * Add a new GPU example of Yuan2-2B-hf * Add Yuan2 to README table * In CPU example:1.Use English as default prompt; 2.Provide modified files in yuan2-2B-instruct * In GPU example:1.Use English as default prompt;2.Provide modified files * GPU example:update README * update Yuan2-2B-hf in README table * Add CPU example for Yuan2-2B in Pytorch-Models * Add GPU example for Yuan2-2B in Pytorch-Models * Add license in generate.py; Modify README * In GPU Add license in generate.py; Modify README * In CPU yuan2 modify README * In GPU yuan2 modify README * In CPU yuan2 modify README * In GPU example, updated the readme for Windows GPU supports * In GPU torch example, updated the readme for Windows GPU supports * GPU hf example README modified * GPU example README modified |
||
|---|---|---|
| .. | ||
| Advanced-Quantizations | ||
| Model | ||
| More-Data-Types | ||
| Save-Load | ||
| README.md | ||
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
- Advanced-Quantizations: examples of loading GGUF/AWQ/GPTQ models