Instructions to use shareAI/CodeLLaMA-chat-13b-Chinese with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shareAI/CodeLLaMA-chat-13b-Chinese 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/CodeLLaMA-chat-13b-Chinese")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("shareAI/CodeLLaMA-chat-13b-Chinese", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download modeling_llama.py from shareAI/CodeLLaMA-chat-13b-Chinese: direct link, hf CLI and curl.
- Browser
- Download file 45.9 kB
-
https://huggingface.co/shareAI/CodeLLaMA-chat-13b-Chinese/resolve/main/modeling_llama.py
- Command line
-
hf download hf://shareAI/CodeLLaMA-chat-13b-Chinese/modeling_llama.py
-
curl -L -o modeling_llama.py https://huggingface.co/shareAI/CodeLLaMA-chat-13b-Chinese/resolve/main/modeling_llama.py
45.9 kB
- Xet hash:
- e600241a790ce53f182f28141dc7c9722f0ce9bf82dce17462ec2803ea286c2d
- Size of remote file:
- 45.9 kB
- SHA256:
- babb454a4d96e28c6ac44c25d46bb7843d78b57a76f9e47d2f0d819b1d74b225
Β·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.