BAAI / Aquila2-34B

huggingface.co
Total runs: 2.3K
24-hour runs: 38
7-day runs: -5
30-day runs: 329
Model's Last Updated: Agosto 15 2024
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

2.3K
Total runs
38
24-hour runs
42
3-day runs
-5
7-day runs
329
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: 4.8M
Run Growth: -14.0M
Growth Rate: -289.11%
Updated: Febrero 22 2024
huggingface.co

Total runs: 3.7M
Run Growth: 2.1M
Growth Rate: 57.15%
Updated: Julio 03 2024
huggingface.co

Total runs: 3.1M
Run Growth: -431.0M
Growth Rate: -14104.14%
Updated: Febrero 21 2024
huggingface.co

Total runs: 2.8M
Run Growth: -166.0K
Growth Rate: -5.88%
Updated: Febrero 21 2024
huggingface.co

Total runs: 861.8K
Run Growth: 422.4K
Growth Rate: 49.02%
Updated: Junio 24 2024
huggingface.co

Total runs: 762.0K
Run Growth: 266.3K
Growth Rate: 34.94%
Updated: Diciembre 13 2023
huggingface.co

Total runs: 703.0K
Run Growth: 531.7K
Growth Rate: 75.63%
Updated: Abril 02 2024
huggingface.co

Total runs: 696.3K
Run Growth: 422.8K
Growth Rate: 60.72%
Updated: Octubre 12 2023
huggingface.co

Total runs: 220.4K
Run Growth: -234.0K
Growth Rate: -106.19%
Updated: Noviembre 14 2023
huggingface.co

Total runs: 32.8K
Run Growth: 5.6K
Growth Rate: 16.97%
Updated: Abril 17 2024
huggingface.co

Total runs: 31.1K
Run Growth: 17.8K
Growth Rate: 57.34%
Updated: Octubre 12 2023
huggingface.co

Total runs: 30.5K
Run Growth: 19.7K
Growth Rate: 64.73%
Updated: Octubre 12 2023
huggingface.co

Total runs: 23.9K
Run Growth: -22.5K
Growth Rate: -94.03%
Updated: Diciembre 26 2022
huggingface.co

Total runs: 7.9K
Run Growth: 3.9K
Growth Rate: 49.61%
Updated: Octubre 12 2023
huggingface.co

Total runs: 6.6K
Run Growth: -304
Growth Rate: -4.59%
Updated: Febrero 22 2024
huggingface.co

Total runs: 4.0K
Run Growth: 420
Growth Rate: 10.49%
Updated: Octubre 12 2023
huggingface.co

Total runs: 3.1K
Run Growth: 3.0K
Growth Rate: 97.65%
Updated: Octubre 27 2023
huggingface.co

Total runs: 3.0K
Run Growth: 2.6K
Growth Rate: 85.58%
Updated: Mayo 13 2024
huggingface.co

Total runs: 2.4K
Run Growth: 1.8K
Growth Rate: 75.57%
Updated: Abril 19 2024
huggingface.co

Total runs: 2.3K
Run Growth: -1.7K
Growth Rate: -75.17%
Updated: Febrero 07 2024
huggingface.co

Total runs: 2.2K
Run Growth: 973
Growth Rate: 44.15%
Updated: Junio 11 2024
huggingface.co

Total runs: 1.7K
Run Growth: 918
Growth Rate: 53.50%
Updated: Agosto 15 2024
huggingface.co

Total runs: 1.3K
Run Growth: -1.3K
Growth Rate: -105.90%
Updated: Septiembre 21 2023
huggingface.co

Total runs: 1.2K
Run Growth: 990
Growth Rate: 80.95%
Updated: Marzo 07 2024
huggingface.co

Total runs: 749
Run Growth: -29
Growth Rate: -3.87%
Updated: Junio 07 2024
huggingface.co

Total runs: 730
Run Growth: -5.7K
Growth Rate: -783.42%
Updated: Septiembre 18 2023
huggingface.co

Total runs: 694
Run Growth: 46
Growth Rate: 6.63%
Updated: Agosto 15 2024
huggingface.co

Total runs: 662
Run Growth: 154
Growth Rate: 23.26%
Updated: Octubre 29 2023
huggingface.co

Total runs: 636
Run Growth: -561
Growth Rate: -88.21%
Updated: Abril 02 2024
huggingface.co

Total runs: 489
Run Growth: 414
Growth Rate: 84.66%
Updated: Febrero 07 2024
huggingface.co

Total runs: 475
Run Growth: -1.1K
Growth Rate: -229.26%
Updated: Octubre 12 2023
huggingface.co

Total runs: 454
Run Growth: 22
Growth Rate: 4.85%
Updated: Junio 24 2024
huggingface.co

Total runs: 346
Run Growth: 146
Growth Rate: 42.20%
Updated: Agosto 23 2023
huggingface.co

Total runs: 192
Run Growth: -3
Growth Rate: -1.56%
Updated: Diciembre 21 2023
huggingface.co

Total runs: 178
Run Growth: 138
Growth Rate: 77.53%
Updated: Diciembre 31 2022
huggingface.co

Total runs: 177
Run Growth: 20
Growth Rate: 11.30%
Updated: Diciembre 21 2023
huggingface.co

Total runs: 132
Run Growth: 23
Growth Rate: 17.42%
Updated: Agosto 23 2023
huggingface.co

Total runs: 84
Run Growth: -17
Growth Rate: -20.24%
Updated: Mayo 13 2024
huggingface.co

Total runs: 71
Run Growth: -36
Growth Rate: -50.70%
Updated: Abril 18 2023
huggingface.co

Total runs: 68
Run Growth: -126
Growth Rate: -185.29%
Updated: Junio 24 2024
huggingface.co

Total runs: 57
Run Growth: 30
Growth Rate: 52.63%
Updated: Diciembre 25 2023
huggingface.co

Total runs: 46
Run Growth: -17
Growth Rate: -36.96%
Updated: Octubre 02 2023
huggingface.co

Total runs: 32
Run Growth: 10
Growth Rate: 31.25%
Updated: Julio 24 2023
huggingface.co

Total runs: 28
Run Growth: -24
Growth Rate: -85.71%
Updated: Octubre 27 2023
huggingface.co

Total runs: 25
Run Growth: -18
Growth Rate: -72.00%
Updated: Diciembre 05 2023
huggingface.co

Total runs: 18
Run Growth: -15
Growth Rate: -83.33%
Updated: Mayo 31 2024
huggingface.co

Total runs: 9
Run Growth: 7
Growth Rate: 77.78%
Updated: Noviembre 28 2023
huggingface.co

Total runs: 6
Run Growth: -9
Growth Rate: -150.00%
Updated: Mayo 13 2024
huggingface.co

Total runs: 4
Run Growth: -2
Growth Rate: -50.00%
Updated: Octubre 09 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated: Diciembre 07 2022
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated: Diciembre 30 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated: Abril 21 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated: Agosto 13 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated: Marzo 26 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated: Marzo 18 2024