Instructions to use codefuse-ai/CodeFuse-CodeGeeX2-6B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use codefuse-ai/CodeFuse-CodeGeeX2-6B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="codefuse-ai/CodeFuse-CodeGeeX2-6B", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("codefuse-ai/CodeFuse-CodeGeeX2-6B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model-00002-of-00002.bin from codefuse-ai/CodeFuse-CodeGeeX2-6B: direct link, hf CLI and curl.
- Browser
- Download file 2.5 GB
-
https://huggingface.co/codefuse-ai/CodeFuse-CodeGeeX2-6B/resolve/8d837486d9f53fc6a6a0ce423a1fd986c3f97e3c/pytorch_model-00002-of-00002.bin
- Command line
-
hf download hf://codefuse-ai/CodeFuse-CodeGeeX2-6B@8d837486d9f53fc6a6a0ce423a1fd986c3f97e3c/pytorch_model-00002-of-00002.bin
-
curl -L -o pytorch_model-00002-of-00002.bin https://huggingface.co/codefuse-ai/CodeFuse-CodeGeeX2-6B/resolve/8d837486d9f53fc6a6a0ce423a1fd986c3f97e3c/pytorch_model-00002-of-00002.bin
2.5 GB
- Xet hash:
- 093353fd62328671c6bb134c19a79325cabd6cf533e660805edc336214cc31f0
- Size of remote file:
- 2.5 GB
- SHA256:
- d68be1e18f6edc3d9be31977569c407d7c5c15757f49a27e642d83be02d11762
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.