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 from transformers import pipeline pipe = pipeline("question-answering", model="shareAI/llama2-13b-Chinese-chat")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("shareAI/llama2-13b-Chinese-chat", dtype="auto") - Notebooks
- Google Colab
- Kaggle