BAAI / Aquila2-34B

huggingface.co
Total runs: 427
24-hour runs: -3
7-day runs: 51
30-day runs: 116
Model's Last Updated: July 13 2026
text-generation

Introduction of Aquila2-34B

Model Details of Aquila2-34B

Aquila_logo

English | 简体中文 |

We opensource our Aquila2 series, now including Aquila2 , the base language models, namely Aquila2-7B and Aquila2-34B , as well as AquilaChat2 , the chat models, namely AquilaChat2-7B and AquilaChat2-34B , as well as the long-text chat models, namely AquilaChat2-7B-16k and AquilaChat2-34B-16k

The additional details of the Aquila model will be presented in the official technical report. Please stay tuned for updates on official channels.

Updates 2024.6.6

We have updated the basic language model Aquila2-34B , which has the following advantages compared to the previous model:

  • Replaced tokenizer with higher compression ratio:
Tokenizer Size Zh En Code Math Average
Aquila2-original 100k 4.70 4.42 3.20 3.77 4.02
Qwen1.5 151k 4.27 4.51 3.62 3.35 3.94
Llama3 128k 3.45 4.61 3.77 3.88 3.93
Aquila2-new 143k 4.60 4.61 3.78 3.88 4.22
  • The maximum processing length supported by the model has increased from 2048 to 8192
Quick Start Aquila2-34B
1. Inference

Aquila2-34B is a base model that can be used for continuation.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
from transformers import BitsAndBytesConfig

device= "cuda:0"

# Model Name
model_name = 'BAAI/Aquila2-34B'

# load model and tokenizer
quantization_config=BitsAndBytesConfig(
                        load_in_4bit=True,
                        bnb_4bit_use_double_quant=True,
                        bnb_4bit_quant_type="nf4",
                        bnb_4bit_compute_dtype=torch.bfloat16,
                    )
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype=torch.bfloat16, trust_remote_code=True,
                        # quantization_config=quantization_config # Uncomment this one for 4-bit quantization
                        )

tokenizer = AutoTokenizer.from_pretrained(path, trust_remote_code=True)

model.eval()

model.to(device)

# Example
text = "The meaning of life is"
tokens = tokenizer.encode_plus(text)['input_ids']
tokens = torch.tensor(tokens)[None,].to(device)

with torch.no_grad():
        out = model.generate(tokens, do_sample=False, max_length=128, eos_token_id=tokenizer.eos_token_id)[0]
        out = tokenizer.decode(out.cpu().numpy().tolist())
        print(out)
License

Aquila2 series open-source model is licensed under BAAI Aquila Model Licence Agreement

Runs of BAAI Aquila2-34B on huggingface.co

427
Total runs
-3
24-hour runs
28
3-day runs
51
7-day runs
116
30-day runs

More Information About Aquila2-34B huggingface.co Model

More Aquila2-34B license Visit here:

https://choosealicense.com/licenses/other

Aquila2-34B huggingface.co

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

Aquila2-34B huggingface.co Url

https://huggingface.co/BAAI/Aquila2-34B

BAAI Aquila2-34B online free

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

BAAI Aquila2-34B online free url in huggingface.co:

https://huggingface.co/BAAI/Aquila2-34B

Aquila2-34B install

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

Aquila2-34B install url in huggingface.co:

https://huggingface.co/BAAI/Aquila2-34B

Url of Aquila2-34B

Aquila2-34B huggingface.co Url

Provider of Aquila2-34B huggingface.co

BAAI
ORGANIZATIONS

Other API from BAAI

huggingface.co

Total runs: 62.8M
Run Growth: -3.2M
Growth Rate: -5.07%
Updated:February 22 2024
huggingface.co

Total runs: 34.8M
Run Growth: -2.0M
Growth Rate: -5.72%
Updated:July 03 2024
huggingface.co

Total runs: 10.1M
Run Growth: -1.2M
Growth Rate: -12.18%
Updated:February 21 2024
huggingface.co

Total runs: 9.8M
Run Growth: -3.5M
Growth Rate: -36.13%
Updated:February 21 2024
huggingface.co

Total runs: 1.9M
Run Growth: 168.7K
Growth Rate: 9.16%
Updated:April 17 2024
huggingface.co

Total runs: 712.1K
Run Growth: -391.2K
Growth Rate: -53.30%
Updated:April 02 2024
huggingface.co

Total runs: 619.2K
Run Growth: -390.0K
Growth Rate: -60.97%
Updated:October 12 2023
huggingface.co

Total runs: 193.4K
Run Growth: -476.2K
Growth Rate: -237.76%
Updated:December 13 2023
huggingface.co

Total runs: 73.3K
Run Growth: -14.9K
Growth Rate: -22.61%
Updated:October 12 2023
huggingface.co

Total runs: 64.2K
Run Growth: 49.3K
Growth Rate: 76.69%
Updated:October 12 2023
huggingface.co

Total runs: 57.9K
Run Growth: -10.0K
Growth Rate: -17.12%
Updated:July 13 2026
huggingface.co

Total runs: 50.6K
Run Growth: 2.9K
Growth Rate: 5.71%
Updated:October 12 2023
huggingface.co

Total runs: 40.4K
Run Growth: 1.1K
Growth Rate: 2.80%
Updated:January 15 2025
huggingface.co

Total runs: 39.8K
Run Growth: 2.3K
Growth Rate: 5.63%
Updated:November 14 2023
huggingface.co

Total runs: 15.6K
Run Growth: -698
Growth Rate: -4.47%
Updated:April 16 2025
huggingface.co

Total runs: 10.4K
Run Growth: 10.4K
Growth Rate: 100.00%
Updated:September 16 2026
huggingface.co

Total runs: 7.0K
Run Growth: -9.3K
Growth Rate: -126.60%
Updated:October 12 2023
huggingface.co

Total runs: 4.8K
Run Growth: 1.5K
Growth Rate: 27.89%
Updated:May 20 2025
huggingface.co

Total runs: 3.3K
Run Growth: 1.3K
Growth Rate: 38.38%
Updated:April 19 2024
huggingface.co

Total runs: 2.8K
Run Growth: 195
Growth Rate: 8.23%
Updated:September 11 2026
huggingface.co

Total runs: 2.4K
Run Growth: 1.1K
Growth Rate: 45.32%
Updated:April 10 2026
huggingface.co

Total runs: 1.8K
Run Growth: 1.0K
Growth Rate: 55.24%
Updated:November 28 2024
huggingface.co

Total runs: 1.7K
Run Growth: -13.8K
Growth Rate: -792.41%
Updated:January 15 2025
huggingface.co

Total runs: 1.6K
Run Growth: 82
Growth Rate: 5.13%
Updated:April 10 2026
huggingface.co

Total runs: 1.4K
Run Growth: -213
Growth Rate: -15.77%
Updated:December 31 2022
huggingface.co

Total runs: 902
Run Growth: 676
Growth Rate: 66.27%
Updated:September 11 2026
huggingface.co

Total runs: 757
Run Growth: -20
Growth Rate: -2.65%
Updated:May 23 2025
huggingface.co

Total runs: 665
Run Growth: -801
Growth Rate: -116.26%
Updated:February 07 2024
huggingface.co

Total runs: 637
Run Growth: -105
Growth Rate: -15.84%
Updated:October 24 2024
huggingface.co

Total runs: 606
Run Growth: -499
Growth Rate: -78.58%
Updated:October 23 2024
huggingface.co

Total runs: 585
Run Growth: 293
Growth Rate: 100.00%
Updated:October 01 2026
huggingface.co

Total runs: 504
Run Growth: -183
Growth Rate: -35.67%
Updated:July 13 2026
huggingface.co

Total runs: 466
Run Growth: -87
Growth Rate: -18.59%
Updated:April 18 2023
huggingface.co

Total runs: 465
Run Growth: 313
Growth Rate: 67.90%
Updated:April 02 2024
huggingface.co

Total runs: 409
Run Growth: -27
Growth Rate: -6.54%
Updated:April 10 2026
huggingface.co

Total runs: 404
Run Growth: -135
Growth Rate: -34.09%
Updated:July 13 2026
huggingface.co

Total runs: 400
Run Growth: -134
Growth Rate: -33.75%
Updated:August 11 2026
huggingface.co

Total runs: 395
Run Growth: -3
Growth Rate: -0.75%
Updated:December 25 2025
huggingface.co

Total runs: 351
Run Growth: -348
Growth Rate: -98.86%
Updated:August 11 2026
huggingface.co

Total runs: 336
Run Growth: 121
Growth Rate: 36.89%
Updated:July 13 2026
huggingface.co

Total runs: 295
Run Growth: 20
Growth Rate: 6.94%
Updated:July 13 2026
huggingface.co

Total runs: 293
Run Growth: -126
Growth Rate: -42.71%
Updated:July 13 2026
huggingface.co

Total runs: 292
Run Growth: 55
Growth Rate: 19.37%
Updated:August 18 2026
huggingface.co

Total runs: 278
Run Growth: 270
Growth Rate: 100.00%
Updated:September 05 2026
huggingface.co

Total runs: 265
Run Growth: -146
Growth Rate: -55.94%
Updated:March 07 2024
huggingface.co

Total runs: 262
Run Growth: 45
Growth Rate: 17.79%
Updated:July 13 2026
huggingface.co

Total runs: 256
Run Growth: -199
Growth Rate: -77.43%
Updated:October 27 2023
huggingface.co

Total runs: 252
Run Growth: -385
Growth Rate: -145.28%
Updated:December 25 2025
huggingface.co

Total runs: 238
Run Growth: -12
Growth Rate: -5.19%
Updated:June 06 2025
huggingface.co

Total runs: 238
Run Growth: 142
Growth Rate: 62.56%
Updated:November 28 2023
huggingface.co

Total runs: 235
Run Growth: 33
Growth Rate: 13.98%
Updated:July 17 2026
huggingface.co

Total runs: 230
Run Growth: 29
Growth Rate: 12.95%
Updated:July 13 2026
huggingface.co

Total runs: 215
Run Growth: 110
Growth Rate: 51.40%
Updated:July 13 2026
huggingface.co

Total runs: 210
Run Growth: 94
Growth Rate: 45.85%
Updated:July 13 2026
huggingface.co

Total runs: 199
Run Growth: 48
Growth Rate: 25.13%
Updated:June 24 2024
huggingface.co

Total runs: 194
Run Growth: 44
Growth Rate: 23.53%
Updated:June 24 2024
huggingface.co

Total runs: 192
Run Growth: -2.0K
Growth Rate: -1035.20%
Updated:April 10 2026
huggingface.co

Total runs: 189
Run Growth: -200
Growth Rate: -102.56%
Updated:April 10 2026
huggingface.co

Total runs: 187
Run Growth: -10
Growth Rate: -5.41%
Updated:May 13 2024
huggingface.co

Total runs: 187
Run Growth: -38
Growth Rate: -21.23%
Updated:October 23 2024
huggingface.co

Total runs: 187
Run Growth: 93
Growth Rate: 48.69%
Updated:March 13 2026
huggingface.co

Total runs: 184
Run Growth: 17
Growth Rate: 9.29%
Updated:May 13 2024