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
Commit History
-
Update README.md
23a3cf3
-
Update README.md
f508402 -
Update README.md
d0600a6
-
Update README.md
31103ac -
Update README.md
62c21dc -
Update README.md
b8e6c1e
-
Update README.md
d2e5e79
-
Update README.md
521eed7 -
Update README.md
b73578f -
Update README.md
2ba9299
-
Update README.md
840fa94
-
Update README.md
25d1679 -
Update README.md
e8f725f -
Update README.md
7bedced -
Update README.md
2b2da63 -
Update README.md
fb1f48d -
Update README.md
684d103 -
Update README.md
f50fb30 -
Upload folder using huggingface_hub (#1)β
- dd706fc6057441d2be635743abfcef81000cb3ddd12cd951c64fab0714c2c2a5 (fd90b564929662aeaa00d65536e8847fede9e0cf) - afde49ff0ee7bad722223b79c260ad59e243149fd4523952c07b52f9b550cdf5 (c2d83b58e8b12eeeefceaee160c183fa796d7165)aa299e7 -
Upload folder using huggingface_hub (#2)β
- dd706fc6057441d2be635743abfcef81000cb3ddd12cd951c64fab0714c2c2a5 (55d3bdfdc61e469594e234530a5ac2e4a3a0edfb) - afde49ff0ee7bad722223b79c260ad59e243149fd4523952c07b52f9b550cdf5 (c87b12f83dbbaab03b0e840b82ddf81fbba3e700)e56b580 -
Upload folder using huggingface_hub (#3)β
- dd706fc6057441d2be635743abfcef81000cb3ddd12cd951c64fab0714c2c2a5 (b3c9c50402210376868d63b2507618af98738e5e) - afde49ff0ee7bad722223b79c260ad59e243149fd4523952c07b52f9b550cdf5 (906e57faf807ecf7f6b5c3511545566cf6515866)b3e0d2b -
initial commit
6d94207