Instructions to use malaiwah/qwen3-5-tiny-random-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use malaiwah/qwen3-5-tiny-random-bf16 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="malaiwah/qwen3-5-tiny-random-bf16")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("malaiwah/qwen3-5-tiny-random-bf16") model = AutoModelForMultimodalLM.from_pretrained("malaiwah/qwen3-5-tiny-random-bf16", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use malaiwah/qwen3-5-tiny-random-bf16 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "malaiwah/qwen3-5-tiny-random-bf16" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "malaiwah/qwen3-5-tiny-random-bf16", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/malaiwah/qwen3-5-tiny-random-bf16
- SGLang
How to use malaiwah/qwen3-5-tiny-random-bf16 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "malaiwah/qwen3-5-tiny-random-bf16" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "malaiwah/qwen3-5-tiny-random-bf16", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "malaiwah/qwen3-5-tiny-random-bf16" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "malaiwah/qwen3-5-tiny-random-bf16", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use malaiwah/qwen3-5-tiny-random-bf16 with Docker Model Runner:
docker model run hf.co/malaiwah/qwen3-5-tiny-random-bf16
Qwen3.5 dense hybrid: a tiny toolchain fixture
A small, independently initialized random-weight reference model for learning, debugging, and reproducing QFS capture workflows. It is a base/root fixture, not a quantized child.
These weights are untrained, not an assistant, and not a language-quality benchmark. Generated text has no useful semantic quality. No upstream trained weights or training data are implied by an architecture name.
Weight lineage
This checkpoint was initialized directly for an architecture test. It was not fine-tuned from a production model and does not inherit that model's trained weights. Architecture/configuration lineage is documented separately from weight lineage.
Browse the Random Architecture Fixtures collection. A random base may also serve as the common source for an aligned quantization family.
At a glance
| Property | Observed value |
|---|---|
| Artifact role | Base/reference model; capture role root |
| Serialized top-level weight files | 499,532 bytes (0.476 MiB); metadata, tokenizer and evidence excluded |
| Generated parameters | 245,378 |
| Included vision parameters | 34,688; inclusion is not vision-quality evidence |
| Saved semantic tensors | 77 (parameters and buffers are not interchangeable) |
| Fixture vocabulary | 272 tokens; independent byte tokenizer, not upstream vocabulary |
| CPU stack | Python 3.12; Torch 2.11.0+cpu; Transformers 5.16.1; two Torch threads in the recorded capture workflow |
| Remote model code | Not required: native Transformers class behind QFS |
Size is serialized artifact size, not runtime RAM or a capacity/performance guarantee. Packed-array element counts are not model parameter counts.
What is actually included
Complete native Qwen3_5ForConditionalGeneration wrapper: four dense text layers (three GatedDeltaNet, one gated full attention), a real small vision tower/merger, and an untied vocabulary head. Text-only proof; no image/video execution, unequal-axis mRoPE test, or processor.
The repository file inventory includes config.json, generation_config.json, tokenizer.json, tokenizer_config.json, build-manifest.json, requirements-cpu.txt. Exact build/runtime/license inventories are linked below. A file may describe historical provenance without being an executable entry point.
Good community uses—and boundaries
- Learn how to download pinned artifacts, seal a small synthetic token panel, capture hidden states and replay a full vocabulary head.
- Debug model-family adapters, strict tensor loading, storage decoders, or reproducibility tooling without downloading a production-sized checkpoint.
- Reproduce a narrowly scoped result, report an adapter/reader regression, and retain the source, panel and runtime identities needed to explain it.
Not established: trained-model accuracy; useful instruction following; quantizer optimization quality; original production-weight compatibility; GPU/NPU/serving-kernel parity; cross-hardware determinism; long-context behavior outside the recorded panel; throughput or paid-compute admission.
Additional build caveats:
- Random initialization, not trained or distilled.
- Not a quantization, quality benchmark, or behavioral approximation of Qwen3.8-27B.
- Generation and cache observations are recorded separately by verify_native.py.
Model family, root dataset and evidence
This model is the base/root of its own random fixture family, not a reproduction of the trained upstream model. The fidelity-root dataset repository is the family reference location. A link is not a claim that registration or publication has completed.
Related child fixtures: gptq-v1-g32, gptq-v2-desc-g64, awq-gemm-g32, ct-symmetric-g64, ct-asymmetric-g32, ct-int8-symmetric-g64, mlx4-g32, mlx8-g64.
The historical CPU evidence bundle retains two independent captures at first/ and repeat/, plus comparison/. Its repository root is a receipt bundle, not a single canonical QFS dataset. Those recorded same-machine/same-stack forced comparisons reported 0.0 nats on 252 synthetic scored positions; that is not a trained-quality result or a transferable hardware floor. The original detailed receipt and caveats remain authoritative.
Runtime requirements and safe local reproduction
Replay the published evidence without loading a model
This uses QFS's existing NumPy FP64 comparator in a Torch-free environment. It reads the stored hidden states and each side's own head. No model forward, remote model code, GPU, upload or registry mutation is involved. Runtime receipts name the actual backend; last-bit differences from another FP64 implementation are not a new quality claim. Synthetic exact controls remain zero.
Set QFS to a reviewed Quant Fidelity Suite checkout and use Bash:
: "${QFS:?Set QFS to your reviewed QFS checkout}"
WORK=$(mktemp -d)
export OMP_NUM_THREADS=2 MKL_NUM_THREADS=2 OPENBLAS_NUM_THREADS=2
python3.12 -m venv "$WORK/replay-env"
"$WORK/replay-env/bin/pip" install 'numpy==2.5.3' 'huggingface-hub==1.30.0'
"$WORK/replay-env/bin/hf" download malaiwah/qfs-fixture-root-captures-v1 --repo-type dataset \
--revision f53b204091c988ce4a2161af81886f3018745559 --include 'roots/qwen3_5/**' --local-dir "$WORK/evidence"
"$WORK/replay-env/bin/python" "$QFS/bin/fidelity_dataset.py" verify \
"$WORK/evidence/roots/qwen3_5/first" --verify-tensors
"$WORK/replay-env/bin/python" "$QFS/bin/fidelity_dataset.py" verify \
"$WORK/evidence/roots/qwen3_5/repeat" --verify-tensors
"$WORK/replay-env/bin/python" "$QFS/bin/fidelity_dataset.py" compare \
--reference "$WORK/evidence/roots/qwen3_5/first" \
--candidate "$WORK/evidence/roots/qwen3_5/repeat" \
--out "$WORK/replayed" --device cpu --replay-device numpy --replay-dtype float32 \
--vocab-chunk 8192 --verify-tensors --self-compare --force-compute
Reconstructed format comparisons are intentionally advisory and normally return exit code 2 while writing a valid receipt. Inspect that receipt; do not silence refusals or interpret an advisory result as a production-quality ranking.
Capture the actual checkpoint
Capture uses a separate pinned Torch CPU environment. The input below is the
original token-panel format, not a sealed capture's internal panel/ folder.
The native source, tokenizer and model revisions remain explicit. Set AUTHOR
to your own HF handle; the dataset repository argument is attribution only and
nothing is uploaded by these commands.
: "${AUTHOR:?Set AUTHOR to your Hugging Face handle}"
"$WORK/replay-env/bin/hf" download malaiwah/qwen3-5-tiny-random-bf16 --revision a430e41d5814ba5e7bfa5ee29d86935aac56d95d --local-dir "$WORK/model"
"$WORK/replay-env/bin/hf" download malaiwah/qwen3-5-tiny-random-bf16 --revision a430e41d5814ba5e7bfa5ee29d86935aac56d95d --local-dir "$WORK/source"
"$WORK/replay-env/bin/hf" download malaiwah/qfs-fixture-root-captures-v1 --repo-type dataset \
--revision f53b204091c988ce4a2161af81886f3018745559 --include 'requirements-capture.txt' --include 'roots/qwen3_5/input-panel/**' \
--local-dir "$WORK/inputs"
python3.12 -m venv "$WORK/capture-env"
"$WORK/capture-env/bin/pip" install -r "$WORK/inputs/requirements-capture.txt"
"$WORK/capture-env/bin/python" "$QFS/bin/fidelity_dataset.py" architectures prepare \
--architecture qwen3_5 --model-dir "$WORK/model" \
--model-repository malaiwah/qwen3-5-tiny-random-bf16 --model-revision a430e41d5814ba5e7bfa5ee29d86935aac56d95d \
--panel "$WORK/inputs/roots/qwen3_5/input-panel" --tokenizer-root "$WORK/source" \
--author "$AUTHOR" --dataset-repository "$AUTHOR/qwen3-5-tiny-random-bf16-capture" \
--dataset-id "fidelity--$AUTHOR.qwen3-5-tiny-random-bf16" --out "$WORK/workflow"
Inspect workflow.json. This launcher executes its exact capture/verification
commands and selects the Torch-free interpreter only for the final comparison:
export OMP_NUM_THREADS=2 MKL_NUM_THREADS=2 OPENBLAS_NUM_THREADS=2
"$WORK/replay-env/bin/python" - "$WORK/workflow/workflow.json" <<'PY'
import json, subprocess, sys
workflow = json.load(open(sys.argv[1]))
for step in workflow["commands"]:
argv = list(step["argv"])
if step["step"] == "compare":
argv[0] = sys.executable
result = subprocess.run(argv)
if result.returncode:
raise SystemExit(result.returncode)
PY
Use the actual root at
malaiwah/qwen3-5-tiny-fidelity-root-v1@7e1a755b7c9ee43d2b95c981de177392241e780d.
The community collection groups models and captures. Custom code,
where required above, is explicitly pinned and executed only after your consent;
hash verification is provenance, not a sandbox.
Licensing and detailed provenance
The fixture repository retains its mit license in LICENSE. This covers the fixture only according to that exact text; architecture inspiration is not relicensing of upstream weights, cards, code, or configuration. Dependencies retain their own licenses (native Transformers implementation: Apache-2.0). No upstream trained tensors are claimed to be copied.
Immutable provenance, historical cards, source inventories and full caveats
- Model/card snapshot used while authoring: malaiwah/qwen3-5-tiny-random-bf16@a430e41d5814ba5e7bfa5ee29d86935aac56d95d.
- Full preserved earlier model card, SHA-256
652b3ed6a186e5d96ede9277c0ce7bcd8b77271fe145c8abb1b9ab40476937d1. This is an immutable historical record, including original build pins, measured resource tables, command logs, limitations and failed-attempt provenance. Historical publisher commands are not part of the local-use recipe above. - build-manifest.json.
- qfs-source.json.
- evidence-summary.json.
- native-verification.json.
- regeneration-verification.json.
Selected original provenance fields (full tensor/component evidence remains in the linked inventories):
{
"generation": "Complete native FP32 initialization rounded to BF16; exact semantic native save/reload including dtype required.",
"generator_sha256": "5c363a7cc7327d35d66e064be7a8408447a23533cf0a52ad25117e2bb0e94363",
"limitations": [
"Random initialization, not trained or distilled.",
"Not a quantization, quality benchmark, or behavioral approximation of Qwen3.8-27B.",
"Generation and cache observations are recorded separately by verify_native.py."
],
"lineage": {
"relationship": "architecture lineage only; no weights copied",
"repository": "Qwen/Qwen3.8-27B",
"revision": "1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0"
},
"native_fp32_exceptions": [],
"parameter_count": 245378,
"scope": "Text-only CPU fixture. Real small vision encoder and merger initialized, saved and reloaded; image/video execution and unequal-axis mRoPE are not tested. No processor is supplied.",
"seed": 20260907,
"versions": {
"safetensors": "0.8.0",
"tokenizers": "0.23.2",
"torch": "2.11.0+cpu",
"transformers": "5.16.1"
},
"vision_parameter_count": 34688
}
- Downloads last month
- 401