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

Qwen2-7B-Instruct-MLX

Date: 2026-11-15Commit: 4a487f1Signed: 2DC28CC7B26A283B ✓

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

1.2B params4.30GBQwen2-7B-Instruct-MLXsafetensorspermissive
FactsParams1.2BSize4.30 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get Qwen/Qwen2-7B-Instruct-MLX
# manifest sha256 8a8521f85c8a… · 4.30 GB · 9 files
$ fw verify ./Qwen2-7B-Instruct-MLX Qwen/Qwen2-7B-Instruct-MLX
From sourceHosted (signed)Qwen/Qwen2-7B-Instruct-MLXLast check: 2026-11-15 03:56 UTC

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

Works with

Overview

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

Original release from the publisher.

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 03:56 UTCpassed

Model card

From the publisher at commit 4a487f1. Shown as plain text with links; images open at the publisher.

Qwen2-7B-Instruct-MLX#

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 0.5B 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.

For more details, please refer to our blog and GitHub. This is the MLX quantized model of Qwen2-7B-Instruct.

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#

Run the following commands to install the required MLX packages.

pip install mlx-lm mlx -U

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 mlx_lm import load, generate

model, tokenizer = load('Qwen/Qwen2-7B-Instruct-MLX', tokenizer_config={"eos_token": "<|im_end|>"})

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
)

response = generate(model, tokenizer, prompt=text, verbose=True, top_p=0.8, temp=0.7, repetition_penalty=1.05, max_tokens=512)

Citation#

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

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

Files

9 files · 4.30 GBWeights 4.28 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 9 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md2.54 KB2f0ca89142ab57a357f8c3fe317630fc70b8dfed6f2d0bc2959044b634573ee3
config.json786 B3df00134e4d8c5c924471a9c550f0e72b65862b5c689d5540e5c634d6473ea20
merges.txt1.67 MB8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
model.safetensors4.28 GB5efaec125457f5280a9b8c3c6f1cf54a177fe958b3adffa8ca344ce5088a77ec
model.safetensors.index.json51.7 KB23cd562592dd96686d2e799eb02e4b578a4038b6045eaefe860d270cc060e24f
tokenizer.json7.03 MBa12e3ba5d5e0ad173cf7b408ab8534c6be8cbc6a146714e9c7dc8cf2346603b1
tokenizer_config.json1.30 KBc8f4ae7809a0d555cce69fa8632f03e1294c779f0103df48b2b1f85acb82d1d3
vocab.json2.78 MBca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
4a487f1aa9 pinned now2026-11-15 03:56 UTC9 files · 4.30 GB

Use it

$ fw get Qwen/Qwen2-7B-Instruct-MLX
# manifest sha256 8a8521f85c8a… · 4.30 GB · 9 files
$ fw verify ./Qwen2-7B-Instruct-MLX Qwen/Qwen2-7B-Instruct-MLX
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/Qwen/Qwen2-7B-Instruct-MLX.json --dir ./Qwen2-7B-Instruct-MLX $ python3 fw.py verify ./Qwen2-7B-Instruct-MLX ./Qwen__Qwen2-7B-Instruct-MLX.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Qwen/Qwen2-7B-Instruct-MLX --revision 4a487f1aa9fc3addeffd4e6a4b3946e1e82dcaaa --local-dir ./Qwen2-7B-Instruct-MLX
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-7B-Instruct-MLX", revision="4a487f1aa9fc3addeffd4e6a4b3946e1e82dcaaa") model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2-7B-Instruct-MLX", revision="4a487f1aa9fc3addeffd4e6a4b3946e1e82dcaaa", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve Qwen/Qwen2-7B-Instruct-MLX --revision 4a487f1aa9fc3addeffd4e6a4b3946e1e82dcaaa

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
README.md
Text sha256
2f0ca89142ab57a357f8c3fe317630fc70b8dfed6f2d0bc2959044b634573ee3
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-7B-Instruct-MLXDate: 2026-11-15Commit: 4a487f1Signed: 2DC28CC7B26A283B ✓
Upstream
Qwen/Qwen2-7B-Instruct-MLX
Pinned commit
4a487f1aa9fc3addeffd4e6a4b3946e1e82dcaaa
Manifest
Qwen2-7B-Instruct-MLX.json · .minisig
Manifest sha256
8a8521f85c8acd354625f8f5621f2fb4365010f4f0346c53cab4df0866acce8a
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:56 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/Qwen/Qwen2-7B-Instruct-MLX.json $ curl -O https://freeweights.allternit.com/manifests/Qwen/Qwen2-7B-Instruct-MLX.json.minisig $ minisign -Vm Qwen2-7B-Instruct-MLX.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

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Qwen/Qwen2-7B-Instruct-MLX
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. Qwen2-7B-Instruct-MLX.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