BAAI / AquilaCode-multi

huggingface.co
Total runs: 142
24-hour runs: 2
7-day runs: 15
30-day runs: 112
Model's Last Updated: July 24 2023

Introduction of AquilaCode-multi

Model Details of AquilaCode-multi

Aquila_logo

English | 简体中文 |

Aquila Language Model is the first open source language model that supports both Chinese and English knowledge, commercial license agreements, and compliance with domestic data regulations.

  • 🌟 Supports open source commercial licenses . The source code of the Aquila series models is based on the Apache 2.0 agreement , while the model weight is based on the BAAI Aquila Model License Agreement . Users can use it for commercial purposes as long as they meet the licensing restrictions.

  • ✍️ Possesses Chinese and English knowledge . The Aquila series model is trained from scratch on a high-quality corpus of Chinese and English languages, with Chinese corpora accounting for about 40%, ensuring that the model accumulates native Chinese world knowledge during the pre-training phase, rather than translated knowledge.

  • 👮‍♀️ Complies with domestic data regulations . The Chinese corpora of the Aquila series models come from Intelligence Source's accumulated Chinese datasets over the years, including Chinese internet data from over 10,000 sources (more than 99% of which are domestic sources), as well as high-quality Chinese literature and book data supported by authoritative domestic organizations. We will continue to accumulate high-quality and diverse datasets and incorporate them into the subsequent training of the Aquila base models.

  • 🎯 Continuous improvements and open sourcing . We will continue to improve training data, optimize training methods, and enhance model performance, cultivate a flourishing "model tree" on a better base model foundation, and continuously update open-source versions.

The additional details of the Aquila model will be presented in the official technical report. Please stay tuned for updates on official channels, including the FlagAI GitHub repository , FlagAI's Zhihu account and FlagAI's official technical communication group .

Model Model Type Description Status GPUs Used
Aquila-7B Base model, 7 billion parameters Aquila Base Model inherits the architectural design advantages of GPT-3 and LLaMA. It replaces a batch of more efficient underlying operator implementations, redesigns the implementation of bilingual tokenizer, upgrades BMTrain parallel training method, and achieves nearly 8 times the training efficiency of Magtron+DeepSpeed ZeRO-2. Released Nvidia-A100
Aquila-33B Base model, 33 billion parameters Same as above Coming soon Nvidia-A100
AquilaChat-7B SFT model, fine-tuned and RL based on Aquila-7B AquilaChat Dialog Model supports fluent text dialogue and multiple language generation tasks, and realizes the call of AquilaChat to other models and tools by defining an expandable special instruction specification, which is easy to extend. For example, calling the open source AltDiffusion multimodal language image generation model of Flagship Intelligence achieved smooth image generation capability. Together with Flagship Intelligence's InstructFace multi-step controllable text-picture model , it is easy to achieve multi-step controllable editing of human face images. Released Nvidia-A100
AquilaChat-33B SFT model, fine-tuned and RL based on Aquila-33B Same as above Coming soon Nvidia-A100
AquilaCode-multi Base model, "text-code" generation model, continue-pre-trained based on Aquila-7B. AquilaCode utilizes high-quality, filtered, and compliant open-source code data for training, with a dataset size of approximately 10-40% compared to other open-source code generation models. By following the provided official guidelines, developers can harness the power of the AquilaCode model to customize their own code assistant. Released Nvidia-A100
AquilaCode-py Base model, "text-code" generation model, continue-pre-trained based on Aquila-7B, trained on Horizon Robotics chips Same as above Released Nvidia-A100

We will continue to release improved versions of Aquila model as open source.

  • 2023/07/24 :release v0.9
    • AquilaCode-mutil-01 md5: e6ea49fea7a737ffe41086ec7019cebb
    • AquilaCode-mutil-02 md5: 4bba98eac44d785358ed5b6d2144a94a
    • AquilaCode-Python-01 md5: e202e5b82db773ea369fe843fef1c34c
    • AquilaCode-Python-02 md5: 3923b2b020e2af71755b11248076437f

Aquila-7B v0.8 has shown improvements in the FlagEval large model evaluation ("Objective") compared to version 0.7. It achieved improvements of approximately 10.07% on MMLU_Chinese, 14.84% on TruthfulQA, and 7.94% on MMLU datasets. For detailed evaluation results, please refer to the website http://flageval.baai.ac.cn . For detailed version change history, see Change Log .

Quick Start Aquila-7B
1. Inference
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch

model_info = "BAAI/AquilaCode-multi"
tokenizer = AutoTokenizer.from_pretrained(model_info, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(model_info, trust_remote_code=True)
model.eval()
model.to("cuda:3")

text = "#补全代码\ndef quick_sort(x):"

tokens = tokenizer.encode_plus(text)['input_ids'][:-1]

tokens = torch.tensor(tokens)[None,].to("cuda:3")


with torch.no_grad():
    out = model.generate(tokens, do_sample=True, max_length=512, eos_token_id=100007)[0]

    out = tokenizer.decode(out.cpu().numpy().tolist())

    print(out)
License

Aquila-7B and AquilaChat-33B open-source model is licensed under BAAI Aquila Model Licence Agreement

Runs of BAAI AquilaCode-multi on huggingface.co

142
Total runs
2
24-hour runs
15
3-day runs
15
7-day runs
112
30-day runs

More Information About AquilaCode-multi huggingface.co Model

More AquilaCode-multi license Visit here:

https://choosealicense.com/licenses/other

AquilaCode-multi huggingface.co

AquilaCode-multi huggingface.co is an AI model on huggingface.co that provides AquilaCode-multi's model effect (), which can be used instantly with this BAAI AquilaCode-multi model. huggingface.co supports a free trial of the AquilaCode-multi model, and also provides paid use of the AquilaCode-multi. Support call AquilaCode-multi model through api, including Node.js, Python, http.

AquilaCode-multi huggingface.co Url

https://huggingface.co/BAAI/AquilaCode-multi

BAAI AquilaCode-multi online free

AquilaCode-multi huggingface.co is an online trial and call api platform, which integrates AquilaCode-multi's modeling effects, including api services, and provides a free online trial of AquilaCode-multi, you can try AquilaCode-multi online for free by clicking the link below.

BAAI AquilaCode-multi online free url in huggingface.co:

https://huggingface.co/BAAI/AquilaCode-multi

AquilaCode-multi install

AquilaCode-multi is an open source model from GitHub that offers a free installation service, and any user can find AquilaCode-multi on GitHub to install. At the same time, huggingface.co provides the effect of AquilaCode-multi install, users can directly use AquilaCode-multi installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

AquilaCode-multi install url in huggingface.co:

https://huggingface.co/BAAI/AquilaCode-multi

Url of AquilaCode-multi

AquilaCode-multi huggingface.co Url

Provider of AquilaCode-multi huggingface.co

BAAI
ORGANIZATIONS

Other API from BAAI

huggingface.co

Total runs: 27.9M
Run Growth: 16.3M
Growth Rate: 58.59%
Updated:February 22 2024
huggingface.co

Total runs: 18.7M
Run Growth: 3.7M
Growth Rate: 19.79%
Updated:July 03 2024
huggingface.co

Total runs: 7.4M
Run Growth: 2.0M
Growth Rate: 26.99%
Updated:February 21 2024
huggingface.co

Total runs: 433.1K
Run Growth: 336.1K
Growth Rate: 77.61%
Updated:October 12 2023
huggingface.co

Total runs: 388.5K
Run Growth: 13.1K
Growth Rate: 3.37%
Updated:December 13 2023
huggingface.co

Total runs: 378.8K
Run Growth: -29.4K
Growth Rate: -7.77%
Updated:October 12 2023
huggingface.co

Total runs: 115.5K
Run Growth: -106.2K
Growth Rate: -91.98%
Updated:October 12 2023
huggingface.co

Total runs: 107.1K
Run Growth: -222.0K
Growth Rate: -207.24%
Updated:April 17 2024
huggingface.co

Total runs: 91.7K
Run Growth: -57.7K
Growth Rate: -62.89%
Updated:April 16 2025
huggingface.co

Total runs: 87.9K
Run Growth: 52.6K
Growth Rate: 59.78%
Updated:October 12 2023
huggingface.co

Total runs: 51.3K
Run Growth: 8.0K
Growth Rate: 15.56%
Updated:January 15 2025
huggingface.co

Total runs: 29.5K
Run Growth: -5.1K
Growth Rate: -18.38%
Updated:November 14 2023
huggingface.co

Total runs: 17.6K
Run Growth: 4.5K
Growth Rate: 25.53%
Updated:October 12 2023
huggingface.co

Total runs: 17.0K
Run Growth: 4.8K
Growth Rate: 28.34%
Updated:September 21 2023
huggingface.co

Total runs: 16.9K
Run Growth: 4.9K
Growth Rate: 28.90%
Updated:August 15 2024
huggingface.co

Total runs: 13.0K
Run Growth: -8.8K
Growth Rate: -67.57%
Updated:February 22 2024
huggingface.co

Total runs: 9.5K
Run Growth: -3.2K
Growth Rate: -34.14%
Updated:May 20 2025
huggingface.co

Total runs: 6.4K
Run Growth: 6.3K
Growth Rate: 99.26%
Updated:August 23 2023
huggingface.co

Total runs: 4.0K
Run Growth: 3.6K
Growth Rate: 91.95%
Updated:December 31 2022
huggingface.co

Total runs: 2.8K
Run Growth: 2.1K
Growth Rate: 75.51%
Updated:April 10 2026
huggingface.co

Total runs: 2.7K
Run Growth: -1.3K
Growth Rate: -46.53%
Updated:October 23 2024
huggingface.co

Total runs: 2.3K
Run Growth: 659
Growth Rate: 27.28%
Updated:January 15 2025
huggingface.co

Total runs: 1.6K
Run Growth: 669
Growth Rate: 41.37%
Updated:May 23 2025
huggingface.co

Total runs: 1.6K
Run Growth: 623
Growth Rate: 39.81%
Updated:March 07 2024
huggingface.co

Total runs: 1.5K
Run Growth: 1.4K
Growth Rate: 91.85%
Updated:October 23 2024
huggingface.co

Total runs: 1.4K
Run Growth: -1.1K
Growth Rate: -77.61%
Updated:April 10 2026
huggingface.co

Total runs: 1.3K
Run Growth: 784
Growth Rate: 59.62%
Updated:March 01 2026
huggingface.co

Total runs: 1.2K
Run Growth: -88
Growth Rate: -7.08%
Updated:February 07 2024
huggingface.co

Total runs: 1.1K
Run Growth: 843
Growth Rate: 75.67%
Updated:October 27 2023
huggingface.co

Total runs: 1.1K
Run Growth: -1.7K
Growth Rate: -150.94%
Updated:October 24 2024
huggingface.co

Total runs: 1.1K
Run Growth: 947
Growth Rate: 87.36%
Updated:June 17 2024
huggingface.co

Total runs: 1.1K
Run Growth: 939
Growth Rate: 88.33%
Updated:August 15 2024
huggingface.co

Total runs: 884
Run Growth: -541
Growth Rate: -61.20%
Updated:April 19 2024
huggingface.co

Total runs: 884
Run Growth: 878
Growth Rate: 99.32%
Updated:July 05 2024
huggingface.co

Total runs: 869
Run Growth: 853
Growth Rate: 98.16%
Updated:July 02 2024
huggingface.co

Total runs: 837
Run Growth: 558
Growth Rate: 66.67%
Updated:December 21 2023
huggingface.co

Total runs: 804
Run Growth: 724
Growth Rate: 90.05%
Updated:December 05 2023
huggingface.co

Total runs: 678
Run Growth: -26
Growth Rate: -3.83%
Updated:December 25 2025
huggingface.co

Total runs: 545
Run Growth: -142
Growth Rate: -26.06%
Updated:November 28 2024
huggingface.co

Total runs: 544
Run Growth: -863
Growth Rate: -158.64%
Updated:August 15 2024
huggingface.co

Total runs: 534
Run Growth: 518
Growth Rate: 97.00%
Updated:December 21 2023
huggingface.co

Total runs: 400
Run Growth: 14
Growth Rate: 3.50%
Updated:August 07 2025
huggingface.co

Total runs: 386
Run Growth: 373
Growth Rate: 96.63%
Updated:July 24 2023
huggingface.co

Total runs: 308
Run Growth: 119
Growth Rate: 38.64%
Updated:September 18 2023
huggingface.co

Total runs: 297
Run Growth: 240
Growth Rate: 80.81%
Updated:April 10 2026
huggingface.co

Total runs: 284
Run Growth: 10
Growth Rate: 3.52%
Updated:June 24 2024
huggingface.co

Total runs: 260
Run Growth: -605
Growth Rate: -232.69%
Updated:December 25 2025
huggingface.co

Total runs: 225
Run Growth: 217
Growth Rate: 96.44%
Updated:February 11 2025
huggingface.co

Total runs: 208
Run Growth: 53
Growth Rate: 25.48%
Updated:June 06 2025
huggingface.co

Total runs: 206
Run Growth: -1.4K
Growth Rate: -693.69%
Updated:April 02 2024
huggingface.co

Total runs: 200
Run Growth: 145
Growth Rate: 72.50%
Updated:April 10 2026
huggingface.co

Total runs: 199
Run Growth: -97
Growth Rate: -48.74%
Updated:June 24 2024
huggingface.co

Total runs: 198
Run Growth: 116
Growth Rate: 58.59%
Updated:June 07 2024
huggingface.co

Total runs: 185
Run Growth: 25
Growth Rate: 13.51%
Updated:August 07 2025
huggingface.co

Total runs: 166
Run Growth: 141
Growth Rate: 84.94%
Updated:March 13 2026
huggingface.co

Total runs: 161
Run Growth: 146
Growth Rate: 90.68%
Updated:August 15 2024
huggingface.co

Total runs: 160
Run Growth: 26
Growth Rate: 16.25%
Updated:February 07 2024
huggingface.co

Total runs: 154
Run Growth: 118
Growth Rate: 76.62%
Updated:April 10 2026
huggingface.co

Total runs: 148
Run Growth: 141
Growth Rate: 95.27%
Updated:June 17 2024
huggingface.co

Total runs: 143
Run Growth: 118
Growth Rate: 82.52%
Updated:August 15 2024
huggingface.co

Total runs: 117
Run Growth: 108
Growth Rate: 92.31%
Updated:August 28 2024
huggingface.co

Total runs: 117
Run Growth: 115
Growth Rate: 98.29%
Updated:October 09 2023