alt.freeweights.qwen / Qwen2-57B-A14B-Instruct
From: Qwen <huggingface.co/Qwen>Newsgroups: alt.freeweights.qwenSubject:

Qwen2-57B-A14B-Instruct

Date: 2026-11-15Commit: 50896d6Signed: 2DC28CC7B26A283B ✓

Text generation model with 57.4B parameters. Safetensors weights, 115 GB in all. Published by Qwen under Apache-2.0.

57.4B params115GBQwen2-57B-A14B-Instructsafetensorspermissive
FactsParams57.4BSize115 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get Qwen/Qwen2-57B-A14B-Instruct
# manifest sha256 5d45b31109fc… · 115 GB · 40 files
$ fw verify ./Qwen2-57B-A14B-Instruct Qwen/Qwen2-57B-A14B-Instruct
From sourceHosted (signed)Qwen/Qwen2-57B-A14B-InstructLast check: 2026-11-15 02:40 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Fine-tune of Qwen2-57B-A14B.

Works with

Overview

Size
115 GB
Weights
115 GB (safetensors)
Parameters
57.4B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
40, each with a sha256
Publisher
Qwen
Added
2026-11-15
Section
alt.freeweights.qwen
Lineage

Original release from the publisher.

Base model: Qwen/Qwen2-57B-A14B

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:40 UTCpassed

Model card

From the publisher at commit 50896d6. Shown as plain text with links; images open at the publisher.

Qwen2-57B-A14B-Instruct#

Introduction#

Qwen2 is the new series of Qwen large language models. For Qwen2, we release a number of base language models and instruction-tuned language models ranging from 0.5 to 72 billion parameters, including a Mixture-of-Experts model. This repo contains the instruction-tuned 57B-A14B Mixture-of-Experts Qwen2 model.

Compared with the state-of-the-art opensource language models, including the previous released Qwen1.5, Qwen2 has generally surpassed most opensource models and demonstrated competitiveness against proprietary models across a series of benchmarks targeting for language understanding, language generation, multilingual capability, coding, mathematics, reasoning, etc.

Qwen2-57B-A14B-Instruct supports a context length of up to 65,536 tokens, enabling the processing of extensive inputs. Please refer to this section for detailed instructions on how to deploy Qwen2 for handling long texts.

For more details, please refer to our blog and GitHub.

Model Details#

Qwen2 is a language model series including decoder language models of different model sizes. For each size, we release the base language model and the aligned chat model. It is based on the Transformer architecture with SwiGLU activation, attention QKV bias, group query attention, etc. Additionally, we have an improved tokenizer adaptive to multiple natural languages and codes.

Training details#

We pretrained the models with a large amount of data, and we post-trained the models with both supervised finetuning and direct preference optimization.

Requirements#

The code of Qwen2MoE has been in the latest Hugging face transformers and we advise you to install transformers>=4.40.0, or you might encounter the following error:

KeyError: 'qwen2_moe'

Quickstart#

Here provides a code snippet with apply_chat_template to show you how to load the tokenizer and model and how to generate contents.

from transformers import AutoModelForCausalLM, AutoTokenizer
device = "cuda" # the device to load the model onto

model = AutoModelForCausalLM.from_pretrained(
    "Qwen/Qwen2-57B-A14B-Instruct",
    torch_dtype="auto",
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2-57B-A14B-Instruct")

prompt = "Give me a short introduction to large language model."
messages = [
    {"role": "system", "content": "You are a helpful assistant."},
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True
)
model_inputs = tokenizer([text], return_tensors="pt").to(device)

generated_ids = model.generate(
    model_inputs.input_ids,
    max_new_tokens=512
)
generated_ids = [
    output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]

response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
Processing Long Texts#

To handle extensive inputs exceeding 32,768 tokens, we utilize YARN, a technique for enhancing model length extrapolation, ensuring optimal performance on lengthy texts.

For deployment, we recommend using vLLM. You can enable the long-context capabilities by following these steps:

  1. Install vLLM: Ensure you have the latest version from the main branch of vLLM.
  2. Configure Model Settings: After downloading the model weights, modify the config.json file by including the below snippet: json { "architectures": [ "Qwen2MoeForCausalLM" ], // ... "vocab_size": 152064, // adding the following snippets "rope_scaling": { "factor": 2.0, "original_max_position_embeddings": 32768, "type": "yarn" } } This snippet enable YARN to support longer contexts.
  3. Model Deployment: Utilize vLLM to deploy your model. For instance, you can set up an openAI-like server using the command: bash python -m vllm.entrypoints.openai.api_server --served-model-name Qwen2-57B-A14B-Instruct --model path/to/weights Then you can access the Chat API by: bash curl http://localhost:8000/v1/chat/completions \ -H "Content-Type: application/json" \ -d '{ "model": "Qwen2-57B-A14B-Instruct", "messages": [ {"role": "system", "content": "You are a helpful assistant."}, {"role": "user", "content": "Your Long Input Here."} ] }' For further usage instructions of vLLM, please refer to our Github.

Note: Presently, vLLM only supports static YARN, which means the scaling factor remains constant regardless of input length, potentially impacting performance on shorter texts. We advise adding the rope_scaling configuration only when processing long contexts is required.

Evaluation#

We briefly compare Qwen2-57B-A14B-Instruct with similar-sized instruction-tuned LLMs, including Qwen1.5-32B-Chat. The results are shown as follows:

DatasetsMixtral-8x7B-Instruct-v0.1Yi-1.5-34B-ChatQwen1.5-32B-ChatQwen2-57B-A14B-Instruct
ArchitectureMoEDenseDenseMoE
#Activated Params12B34B32B14B
#Params47B34B32B57B
English
MMLU71.476.874.875.4
MMLU-Pro43.352.346.452.8
GPQA--30.834.3
TheroemQA--30.933.1
MT-Bench8.308.508.308.55
Coding
HumanEval45.175.268.379.9
MBPP59.574.667.970.9
MultiPL-E--50.766.4
EvalPlus48.5-63.671.6
LiveCodeBench12.3-15.225.5
Mathematics
GSM8K65.790.283.679.6
MATH30.750.142.449.1
Chinese
C-Eval--76.780.5
AlignBench5.707.207.197.36

Citation#

If you find our work helpful, feel free to give us a cite.

@article{qwen2,
  title={Qwen2 Technical Report},
  year={2024}
}

Files

40 files · 115 GBWeights 115 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 40 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
LICENSE11.3 KBc156170b718ec29139d3653d40ed1986fd92fb7e0959b5c71f3c48f62e6636f4
README.md6.56 KBdd57ab7cf903433cf009febd1e21384229e16bbad474497d936d1db81f60cf0a
config.json915 B422bec9f6b52c33bbd23f2b5707ddb4b52cca480485cefc54e8e65831a212d4c
generation_config.json248 B758d6aed2f4947bba541c57491ad53d8ba67067cbdfb9a0ce2821c834350501f
merges.txt1.67 MB599bab54075088774b1733fde865d5bd747cbcc7a547c5bc12610e874e26f5e3
model-00001-of-00029.safetensors3.99 GBca57fe6af12e0eebbc6b11ac31c9b5fde6ef8a9aec1fca0de2ebd02e39f19ca7
model-00002-of-00029.safetensors3.99 GB8cad09ebbea5214022fa0f73fe91852a6feb3e6a1c68de2505cc5466cc2807c4
model-00003-of-00029.safetensors3.99 GBbdf68771367ee467e7967258f2156e605430dd81bdc36823baca1020efa57435
model-00004-of-00029.safetensors3.99 GBbe00366cf4fcb199761096f14eba5ea3ce8caada6d6f1b7cfedf43eadc4034d8
model-00005-of-00029.safetensors3.99 GB27013e94dbcd23d8bcdd490f819fc2f9de05ee69550417a1c256ef58b78be842
model-00006-of-00029.safetensors3.99 GBeed03d2ec20aeae9b4b2007e263aed073149178690c2d074bb96f0ee10542f55
model-00007-of-00029.safetensors3.99 GB0055a3131247962127bc8271bc3e4f46cb2c876747409fb7f2722bc3a54148cb
model-00008-of-00029.safetensors3.99 GB4ac20942deef743a792cf532220e02abec93ee1895fec96434471ebad77d2f46
model-00009-of-00029.safetensors3.99 GBf7381a2b1c884a2f27a09b25b82bc188daa0ec2abcf91ba3635f95ae293d9aa5
model-00010-of-00029.safetensors3.99 GBc18cdf3ce711a84cb7e0d8f497124325151f3b6fdca01c069706d35e134333b7
model-00011-of-00029.safetensors3.99 GB551629128f3114371279d7829e562a94ca13ad2a32214625a18b346c7fab7360
model-00012-of-00029.safetensors3.99 GBd68dbd946665e5fa8070fe14b03adb068cd5164fed3426254533ccef2ff1463a
model-00013-of-00029.safetensors3.99 GBda784966842a5ae8b7dd4e98abac253cde5519e65ff07bfc78e289d784bc1b75
model-00014-of-00029.safetensors3.99 GB478cdfec9f23b7f01e1cf8672f0413cb6dc3d406d47b758835155f349f7268e9
model-00015-of-00029.safetensors3.99 GBc9dc320656f785de6adbe3dab74baa4642405c097820ed15ca11879e632f64e3
model-00016-of-00029.safetensors3.99 GBf95c0b003ed37940c82ea7d4d9cb663abb2bcf51df2cd75827d151419b6ddbb5
model-00017-of-00029.safetensors3.99 GBed01b9e8d28ac0d316865370809cc216f4c54cf30653ef22d9ff0ea91904af9f
model-00018-of-00029.safetensors3.99 GB4f5d53a73eaffa278345c74a0536442d10823b05d7963a83877050bb48bd4172
model-00019-of-00029.safetensors3.99 GBd5d5932ca2510dd2d2a9fbd2f164f861e47ce5deb41ad4ce86dece35c45afccf
model-00020-of-00029.safetensors3.99 GB7b0c35e57b2128bf21026a87a3b238fbe56759ae134ce3c8451e1a5f3c030ceb
model-00021-of-00029.safetensors3.99 GBdca80cc7a23e3ce928f254cff6b6160f866a7f1685c1863aef81d23fac4e1dcd
model-00022-of-00029.safetensors3.99 GB57ca4608bd3f00e4122d78ec96b7a27ff63b02b69fcc696a4398d8e45ca370b3
model-00023-of-00029.safetensors3.99 GB00e5fcacaacb0034c8cb6acd195d5c3e5723be6dd1ee0d28b35952b2aa1155c9
model-00024-of-00029.safetensors3.99 GB487c571d36af5f13956dfd6d30a0f9009281d54beb6502881147504fb03db48c
model-00025-of-00029.safetensors3.99 GB5851c675ffa0ce6c7d77d657b0a110132e805446c25c03044be8f4c2148bb945
model-00026-of-00029.safetensors3.99 GB0c54cddfa6132e13d207d66a0da788cd12426000ef634599606fa13ac89df490
model-00027-of-00029.safetensors3.99 GB99b04c7b37ea8b5f957f52392a8306abddb02c3df7e1d09e3bf81aead3c6710a
model-00028-of-00029.safetensors3.99 GB80df1ae3934022c0eee8fbc68a78db2886137519e93d58e4a777a67fe264edb7
model-00029-of-00029.safetensors3.20 GBe4d0e8bd5d23f13821e30a37dae9340decb05af405ea44c4f293384984f706a8
model.safetensors.index.json516 KB9ced996b50d177c81b10af8d554f3ad3844aa3fcc1c2e374b9fee8a3b6c63e02
special_tokens_map.json295 B43870833234196e714e59c21a59eed8b1cfd4bb17a4afa06267937cd87443468
tokenizer.json7.03 MBf7c9b2dba4a296b1aa76c16a34b8225c0c118978400d4bb66bff0902d702f5b8
tokenizer_config.json1.29 KBb34ff231d7132e0d7f43e04544937d63f2edfcd91c6ca6a2c581b1078e42f166
vocab.json2.78 MBca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
50896d66b3 pinned now2026-11-15 02:40 UTC40 files · 115 GB

Use it

$ fw get Qwen/Qwen2-57B-A14B-Instruct
# manifest sha256 5d45b31109fc… · 115 GB · 40 files
$ fw verify ./Qwen2-57B-A14B-Instruct Qwen/Qwen2-57B-A14B-Instruct
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/Qwen/Qwen2-57B-A14B-Instruct.json --dir ./Qwen2-57B-A14B-Instruct $ python3 fw.py verify ./Qwen2-57B-A14B-Instruct ./Qwen__Qwen2-57B-A14B-Instruct.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Qwen/Qwen2-57B-A14B-Instruct --revision 50896d66b39f1425d63720541a66c7df13e053c0 --local-dir ./Qwen2-57B-A14B-Instruct
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("Qwen/Qwen2-57B-A14B-Instruct", revision="50896d66b39f1425d63720541a66c7df13e053c0") model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2-57B-A14B-Instruct", revision="50896d66b39f1425d63720541a66c7df13e053c0", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve Qwen/Qwen2-57B-A14B-Instruct --revision 50896d66b39f1425d63720541a66c7df13e053c0

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
LICENSE
Text sha256
c156170b718ec29139d3653d40ed1986fd92fb7e0959b5c71f3c48f62e6636f4
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: Qwen <huggingface.co/Qwen>Newsgroups: alt.freeweights.qwenSubject: Qwen2-57B-A14B-InstructDate: 2026-11-15Commit: 50896d6Signed: 2DC28CC7B26A283B ✓
Upstream
Qwen/Qwen2-57B-A14B-Instruct
Pinned commit
50896d66b39f1425d63720541a66c7df13e053c0
Manifest
Qwen2-57B-A14B-Instruct.json · .minisig
Manifest sha256
5d45b31109fc199e75ab14e315052c8d5fea582443a72e26d78780bba7b8a664
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:40 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/Qwen/Qwen2-57B-A14B-Instruct.json $ curl -O https://freeweights.allternit.com/manifests/Qwen/Qwen2-57B-A14B-Instruct.json.minisig $ minisign -Vm Qwen2-57B-A14B-Instruct.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

Qwen/Qwen2-57B-A14B · this model is a finetune of it

1 model in the catalog name this one as their parent.

Quantizations
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Qwen/Qwen2-57B-A14B-Instruct
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Qwen2-57B-A14B-Instruct.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of Qwen2-57B-A14B-Instruct. Each has its own license check and page.

From: BAAI <huggingface.co/BAAI>Subject: Aquila-VL-2B-llava-qwen
From: Perciqa <huggingface.co/Perciqa>Subject: Aurora-Code-1
From: BAAI <huggingface.co/BAAI>Subject: bge-reasoner-embed-qwen3-8b-0923
From: amazon <huggingface.co/amazon>Subject: BMOJOF-primed-HQwen3-8B-Instruct
From: nbeerbower <huggingface.co/nbeerbower>Subject: Bubba-Qwen3.6-27B-LoRA
From: bartowski <huggingface.co/bartowski>Subject: bytkim_Qwen3.8-27B-pi-GGUF