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 configuration_llama.py from shareAI/CodeLLaMA-chat-13b-Chinese: direct link, hf CLI and curl.
- Browser
- Download file 8.56 kB
-
https://huggingface.co/shareAI/CodeLLaMA-chat-13b-Chinese/resolve/main/configuration_llama.py
- Command line
-
hf download hf://shareAI/CodeLLaMA-chat-13b-Chinese/configuration_llama.py
-
curl -L -o configuration_llama.py https://huggingface.co/shareAI/CodeLLaMA-chat-13b-Chinese/resolve/main/configuration_llama.py
8.56 kB
- Xet hash:
- f2fd9e2919727d0bce36f7eeeeaec99ecd2d06541f30486a6c3fd5721bec5b40
- Size of remote file:
- 8.56 kB
- SHA256:
- cd9fa1b50afdb99f5e434e4f6ca737909bcd8e6cf29d5b791e2183582908b414
Β·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.