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