Question Answering
Transformers
PyTorch
Chinese
English
llama
text-generation
text-generation-inference
Instructions to use FlagAlpha/Llama2-Chinese-7b-Chat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FlagAlpha/Llama2-Chinese-7b-Chat with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="FlagAlpha/Llama2-Chinese-7b-Chat")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("FlagAlpha/Llama2-Chinese-7b-Chat") model = AutoModelForCausalLM.from_pretrained("FlagAlpha/Llama2-Chinese-7b-Chat", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 3db769f1eff01af09278faaa36e28587f91a5a2cfc1df60976f7366d29b7f061
- Size of remote file:
- 9.98 GB
- SHA256:
- 588403a4a346b4447f2136b3f1ea191be369b724d1be6d07387634e0af7a330e
Β·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.