Run this model with HF Jobs
Run zai-org/codegeex2-6b on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/zai-org/codegeex2-6b. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/zai-org/codegeex2-6b on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
Download tokenizer.model from zai-org/codegeex2-6b: direct link, hf CLI and curl.
- Browser
- Download file 1.02 MB
-
https://huggingface.co/zai-org/codegeex2-6b/resolve/refs%2Fpr%2F10/tokenizer.model
- Command line
-
hf download hf://zai-org/codegeex2-6b@refs/pr/10/tokenizer.model
-
curl -L -o tokenizer.model https://huggingface.co/zai-org/codegeex2-6b/resolve/refs%2Fpr%2F10/tokenizer.model
1.02 MB
- Xet hash:
- 15294293f23beb6783e66270b0fde8506b2ae26347f106dcd4cb1c5cc0b2229c
- Size of remote file:
- 1.02 MB
- SHA256:
- 57d9fdbdfaa7cd8c0a3a38d7e8de2e6c31374b5dbc4dc4568d85585fe745812f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.