Instructions to use zai-org/codegeex2-6b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zai-org/codegeex2-6b with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zai-org/codegeex2-6b", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update modeling_chatglm.py
zRVerified signature341d817 -
Update tokenization_chatglm.py
zRVerified signature24304a6
-
Fix hidden_states dtype matching (#4)
- Fix hidden_states dtype matching (2caddb7092dfd83a6ea9db7046651661f4927999) Co-authored-by: Jiahao Li <li-plus@users.noreply.huggingface.co>3cb3f8f -
compatible with DirectML/ROCm (#5)
- compatible with DirectML/ROCm (5bc5aff72b4d8fbdb10f7befa1473a741ecec8b5) Co-authored-by: Davin Wang <davinwang@users.noreply.huggingface.co>18f9ab1
-
Update README
f3822a7
-
Update tokenization_chatglm.py (#3)
- Update tokenization_chatglm.py (5c8ffabbfc8ba950a8f450939138bc5254b6ee1f) - Update config.json (73a1403930e64d11e421f8eb7b1d19eb49cfeeeb) Co-authored-by: Niklas Muennighoff <Muennighoff@users.noreply.huggingface.co>ee1e7db -
Fix precision error
13193de -
Fix precision error
5fcf835
-
Add INT4
5a26c4f -
Add INT4 version
64eabe4 -
Update implementation
d8562b1 -
Update README.md
4658913
-
Update README.md
9ad04a8 -
Update README.md
fc63e23
-
Initial commit
408108f -
Initial commit
05049cd -
Initial commit
7222297 -
Initial commit
711c7bf
-
initial commit
23975c1