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
File size: 135 Bytes
e753166 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:445eee34a6866c25accc42b2438a4f55d9b13fbe37ac514ddaf73c6b93af2df0
size 9986266947
|