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

Qwen2-57B-A14B-Instruct-GPTQ-Int4

Date: 2026-11-15Commit: 28996f1Signed: 2DC28CC7B26A283B ✓

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

57.4B params31.6GBQwen2-57B-A14B-Instruct-GPTQ-Int4safetensorspermissive
FactsParams57.4BSize31.6 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get Qwen/Qwen2-57B-A14B-Instruct-GPTQ-Int4
# manifest sha256 13e8e598e058… · 31.6 GB · 18 files
$ fw verify ./Qwen2-57B-A14B-Instruct-GPTQ-Int4 Qwen/Qwen2-57B-A14B-Instruct-GPTQ-Int4
From sourceHosted (signed)Qwen/Qwen2-57B-A14B-Instruct-GPTQ-Int4Last check: 2026-11-15 05:12 UTC

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

Quantized of Qwen2-57B-A14B-Instruct.

Works with

Overview

Size
31.6 GB
Weights
31.6 GB (safetensors)
Parameters
57.4B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
18, 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-Instruct

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 05:12 UTCpassed

Model card

From the publisher at commit 28996f1. Shown as plain text with links; images open at the publisher.

Qwen2-57B-A14B-Instruct-GPTQ-Int4#

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.

Note: vLLM does not support the GPTQ version of Qwen2MoeForCausalLM currently.

Qwen2-57B-A14B-Instruct supports a context length of up to 65,536 tokens, enabling the processing of extensive inputs. However, since vLLM currently does not support this model (Qwen2-57B-A14B-Instruct-GPTQ-Int4), please refer to Qwen2-57B-A14B-Instruct.

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

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-GPTQ-Int4",
    torch_dtype="auto",
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2-57B-A14B-Instruct-GPTQ-Int4")

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]

Benchmark and Speed#

To compare the generation performance between bfloat16 (bf16) and quantized models such as GPTQ-Int8, GPTQ-Int4, and AWQ, please consult our Benchmark of Quantized Models. This benchmark provides insights into how different quantization techniques affect model performance.

For those interested in understanding the inference speed and memory consumption when deploying these models with either transformer or vLLM, we have compiled an extensive Speed Benchmark.

Citation#

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

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

Files

18 files · 31.6 GBWeights 31.6 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 18 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
LICENSE11.3 KB832dd9e00a68dd83b3c3fb9f5588dad7dcf337a0db50f7d9483f310cd292e92e
README.md4.18 KB6be45fe9efaea236acad55a605cace61cddce15c307a01f12d4c40b159632491
config.json8.47 KB4253029dcb662b4905cbed7e0b41a4db5e88f85540953a8999456f504b65c2f8
generation_config.json248 B758d6aed2f4947bba541c57491ad53d8ba67067cbdfb9a0ce2821c834350501f
merges.txt1.67 MB599bab54075088774b1733fde865d5bd747cbcc7a547c5bc12610e874e26f5e3
model-00001-of-00007.safetensors5.00 GBc38e4ae951ddf488538ba4aa42b4eecb5425b22911874048a0295b2a61f9a20c
model-00002-of-00007.safetensors5.00 GB25ae449a731118465e5ae8a4b92f88ebd480924a278927827712b6c7f5f83794
model-00003-of-00007.safetensors5.00 GBc6d46f429bae885dd7b53b443c4f0bda5f37ae3fe395901e463c92670e6feb08
model-00004-of-00007.safetensors5.00 GBf6addb3eb3f87c696f894dada780667a35a65f9aa1df93f6f1eeaf448c83f7b4
model-00005-of-00007.safetensors5.00 GB2d6b0ee97bede2593cbc482861a5d2c040b71971aec636c893940b2adfd7566b
model-00006-of-00007.safetensors5.00 GBec313d9d255e56f17f9613f948ba0671dd95906355bc5b9cbb860c6098a0c322
model-00007-of-00007.safetensors1.57 GB2864eaa5027ec502057891a5410fa0ba54f3b6f3a504d19f2c48a90283535d92
model.safetensors.index.json2.50 MBfad964cbd74e9b03dfa00dd2dfc772685a96df0475309871ecf05fdefcbafc3f
special_tokens_map.json295 B43870833234196e714e59c21a59eed8b1cfd4bb17a4afa06267937cd87443468
tokenizer.json7.03 MBf7c9b2dba4a296b1aa76c16a34b8225c0c118978400d4bb66bff0902d702f5b8
tokenizer_config.json1.29 KB6249f34d22c7780ba17edfd8de88fc0582b5b32dbfd52b60ae1d607984925c4c
vocab.json2.78 MBca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
28996f1efa pinned now2026-11-15 05:12 UTC18 files · 31.6 GB

Use it

$ fw get Qwen/Qwen2-57B-A14B-Instruct-GPTQ-Int4
# manifest sha256 13e8e598e058… · 31.6 GB · 18 files
$ fw verify ./Qwen2-57B-A14B-Instruct-GPTQ-Int4 Qwen/Qwen2-57B-A14B-Instruct-GPTQ-Int4
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-GPTQ-Int4.json --dir ./Qwen2-57B-A14B-Instruct-GPTQ-Int4 $ python3 fw.py verify ./Qwen2-57B-A14B-Instruct-GPTQ-Int4 ./Qwen__Qwen2-57B-A14B-Instruct-GPTQ-Int4.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Qwen/Qwen2-57B-A14B-Instruct-GPTQ-Int4 --revision 28996f1efabf870018dc35d4c531850a2477cec8 --local-dir ./Qwen2-57B-A14B-Instruct-GPTQ-Int4
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-GPTQ-Int4", revision="28996f1efabf870018dc35d4c531850a2477cec8") model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2-57B-A14B-Instruct-GPTQ-Int4", revision="28996f1efabf870018dc35d4c531850a2477cec8", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve Qwen/Qwen2-57B-A14B-Instruct-GPTQ-Int4 --revision 28996f1efabf870018dc35d4c531850a2477cec8

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
832dd9e00a68dd83b3c3fb9f5588dad7dcf337a0db50f7d9483f310cd292e92e
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-Instruct-GPTQ-Int4Date: 2026-11-15Commit: 28996f1Signed: 2DC28CC7B26A283B ✓
Upstream
Qwen/Qwen2-57B-A14B-Instruct-GPTQ-Int4
Pinned commit
28996f1efabf870018dc35d4c531850a2477cec8
Manifest
Qwen2-57B-A14B-Instruct-GPTQ-Int4.json · .minisig
Manifest sha256
13e8e598e0582c604db1242e11f1075512881e791f202cfff09aff2234e7cfe1
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:12 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/Qwen/Qwen2-57B-A14B-Instruct-GPTQ-Int4.json $ curl -O https://freeweights.allternit.com/manifests/Qwen/Qwen2-57B-A14B-Instruct-GPTQ-Int4.json.minisig $ minisign -Vm Qwen2-57B-A14B-Instruct-GPTQ-Int4.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-Instruct · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Qwen/Qwen2-57B-A14B-Instruct-GPTQ-Int4
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-GPTQ-Int4.json. Provenance. Takedown history: none.
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