Mengzi3-13B is based on the Llama architecture, and the corpus is selected from web pages, encyclopedias, social networking, media, news, and high-quality open source data sets. By continuing to train multilingual corpus on trillions of tokens, the model has outstanding Chinese capabilities and takes into account multilingual capabilities.
快速开始/Quickstart
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("Langboat/Mengzi3-13B-Base", use_fast=False, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("Langboat/Mengzi3-13B-Base", device_map="auto", trust_remote_code=True)
inputs = tokenizer('指令:回答以下问题。输入:介绍一下孟子。输出:', return_tensors='pt')
if torch.cuda.is_available():
inputs = inputs.to('cuda')
pred = model.generate(**inputs, max_new_tokens=512, repetition_penalty=1.01, eos_token_id=tokenizer.eos_token_id)
print(tokenizer.decode(pred[0], skip_special_tokens=True))
Mengzi3-13B-Base leads in language proficiency and is at the forefront in math and programming proficiency compared to the equivalent large language model in various benchmark tests.
Mengzi3-13B-Base is open source under the Apache 2.0 protocol, fully open for academic research, and free for commercial use. If you need to apply for business license, please
contact us
, other business cooperation, please contact
[email protected]
.
Runs of blockblockblock Mengzi3-13B-Base-bpw6 on huggingface.co
17
Total runs
1
24-hour runs
4
3-day runs
6
7-day runs
12
30-day runs
More Information About Mengzi3-13B-Base-bpw6 huggingface.co Model
Mengzi3-13B-Base-bpw6 huggingface.co is an AI model on huggingface.co that provides Mengzi3-13B-Base-bpw6's model effect (), which can be used instantly with this blockblockblock Mengzi3-13B-Base-bpw6 model. huggingface.co supports a free trial of the Mengzi3-13B-Base-bpw6 model, and also provides paid use of the Mengzi3-13B-Base-bpw6. Support call Mengzi3-13B-Base-bpw6 model through api, including Node.js, Python, http.
Mengzi3-13B-Base-bpw6 huggingface.co is an online trial and call api platform, which integrates Mengzi3-13B-Base-bpw6's modeling effects, including api services, and provides a free online trial of Mengzi3-13B-Base-bpw6, you can try Mengzi3-13B-Base-bpw6 online for free by clicking the link below.
blockblockblock Mengzi3-13B-Base-bpw6 online free url in huggingface.co:
Mengzi3-13B-Base-bpw6 is an open source model from GitHub that offers a free installation service, and any user can find Mengzi3-13B-Base-bpw6 on GitHub to install. At the same time, huggingface.co provides the effect of Mengzi3-13B-Base-bpw6 install, users can directly use Mengzi3-13B-Base-bpw6 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Mengzi3-13B-Base-bpw6 install url in huggingface.co: