Instructions to use shareAI/llama2-13b-Chinese-chat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shareAI/llama2-13b-Chinese-chat with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="shareAI/llama2-13b-Chinese-chat")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("shareAI/llama2-13b-Chinese-chat", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download optimizer.pt from shareAI/llama2-13b-Chinese-chat: direct link, hf CLI and curl.
- Browser
- Download file 2 GB
-
https://huggingface.co/shareAI/llama2-13b-Chinese-chat/resolve/main/optimizer.pt
- Command line
-
hf download hf://shareAI/llama2-13b-Chinese-chat/optimizer.pt
-
curl -L -o optimizer.pt https://huggingface.co/shareAI/llama2-13b-Chinese-chat/resolve/main/optimizer.pt
2 GB
- Xet hash:
- 5b05159c41f38bab9fb5aa27895e88a8107846aba2b1471095346bd96f627c4f
- Size of remote file:
- 2 GB
- SHA256:
- 65fd96203f63740f9ae8db7ad1e1b00aa28d9942574f87d5a6fa5e6c11beaf30
Β·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.