zai-org/CodeGeeX4
Python
Captured source
source ↗zai-org/CodeGeeX4
Description: CodeGeeX4-ALL-9B, a versatile model for all AI software development scenarios, including code completion, code interpreter, web search, function calling, repository-level Q&A and much more.
Language: Python
License: Apache-2.0
Stars: 2530
Forks: 264
Open issues: 120
Created: 2024-07-03T11:01:55Z
Pushed: 2024-08-25T14:26:16Z
Default branch: main
Fork: no
Archived: no
README: 
🏠 Homepage|🛠 Extensions VS Code, Jetbrains|🤗 HF Repo | 🪧 HF DEMO
[English](./README.md) | [中文](./README_zh.md) | [日本語](./README_ja.md)
CodeGeeX4: Open Multilingual Code Generation Model
We introduce CodeGeeX4-ALL-9B, the open-source version of the latest CodeGeeX4 model series. It is a multilingual code generation model continually trained on the GLM-4-9B, significantly enhancing its code generation capabilities. Using a single CodeGeeX4-ALL-9B model, it can support comprehensive functions such as code completion and generation, code interpreter, web search, function call, repository-level code Q&A, covering various scenarios of software development. CodeGeeX4-ALL-9B has achieved highly competitive performance on public benchmarks, such as BigCodeBench and NaturalCodeBench. It is currently the most powerful code generation model with less than 10B parameters, even surpassing much larger general-purpose models, achieving the best balance in terms of inference speed and model performance.
Model List
| Model | Type | Seq Length | Download | |-------------------|------|------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | codegeex4-all-9b | Chat | 128K | 🤗 Huggingface 🤖 ModelScope 🟣 WiseModel |
Get Started
Ollama
CodeGeeX4 is now available on Ollama! Please install Ollama 0.2 or later and run the following command:
ollama run codegeex4
To connect the local model to our VS Code / Jetbrains extensions, please check [Local Mode Guideline](./guides/Local_mode_guideline.md).
Huggingface transformers
Use `4.39.0
Details of the evaluation results can be found in the [Evaluation](./metric/README.md).
License
The code in this repository is open source under the Apache-2.0 license. The model weights are licensed under the [Model License](MODEL_LICENSE). CodeGeeX4-9B weights are open for academic research. For users who wish to use the models for commercial purposes, please fill in the registration form.
Citation
If you find our work helpful, please feel free to cite the following paper:
@inproceedings{zheng2023codegeex,
title={CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-X},
author={Qinkai Zheng and Xiao Xia and Xu Zou and Yuxiao Dong and Shan Wang and Yufei Xue and Zihan Wang and Lei Shen and Andi Wang and Yang Li and Teng Su and Zhilin Yang and Jie Tang},
booktitle={Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
pages={5673--5684},
year={2023}
}