Instructions to use cloud2ai/Llama-2-Chinese-7b-chat-4bits with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cloud2ai/Llama-2-Chinese-7b-chat-4bits with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("cloud2ai/Llama-2-Chinese-7b-chat-4bits", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K
- 1.52 kB
- 28 Bytes
- 471 Bytes
- 131 kB
- 65.5 MB xet
- 33.4 MB xet
- 22.5 MB xet
- 45.1 MB xet
- 22.5 MB xet
- 25.2 MB xet
- 32.6 MB xet
- 45.1 MB xet
- 25.2 MB xet
- 32.1 MB xet
- 45.1 MB xet
- 22.5 MB xet
- 25.2 MB xet
- 25.2 MB xet
- 32.6 MB xet
- 45.1 MB xet
- 65.5 MB xet
- 32.1 MB xet
- 9.24 MB xet
- 32.6 MB xet
- 45.1 MB xet
- 25.2 MB xet
- 32.1 MB xet
- 45.1 MB xet
- 22.5 MB xet
- 25.2 MB xet
- 32.6 MB xet
- 45.1 MB xet
- 45.1 MB xet
- 25.2 MB xet
- 32.1 MB xet
- 45.1 MB xet
- 22.5 MB xet
- 25.2 MB xet
- 32.6 MB xet
- 45.1 MB xet
- 25.2 MB xet
- 32.1 MB xet
- 22.5 MB xet
- 45.1 MB xet
- 22.5 MB xet
- 25.2 MB xet
- 32.6 MB xet
- 45.1 MB xet
- 25.2 MB xet
- 32.1 MB xet