Public model intake sample

Qwen/Qwen-7B

REVIEW

A point-in-time assessment of the exact repository revision, weight format, executable code, native build paths, and license conditions a team should review before production use.

PINNED REVISIONef3c5c9c57b2
WEIGHT PAYLOAD15.44 GB
CONFIDENCEMedium
ASSESSMENTManual · static

Executive summary

Safe tensor files, but not a weights-only dependency.

All eight model-weight shards use SafeTensors, and no current Pickle-format weight files appear in the pinned tree. That is a meaningful positive signal.

The repository also supplies Python modules loaded through trust_remote_code=True. One optional path can compile local C++/CUDA code, although it is disabled by the default pinned configuration. The custom Tongyi Qianwen license adds conditions that need business or legal review.

REVIEW does not mean the model is malicious. It means the available evidence is not sufficient for automatic production admission under a conservative model-intake policy.

Control results

Two pass. Five require a decision.

Repository accessPASS

Public, not gated, and not disabled.

Weight serializationPASS

Eight SafeTensors shards; no current Pickle-format weights.

Revision pinningREVIEW

High · README examples load a mutable model reference.

Remote repository codeREVIEW

High · Model loading requires trust_remote_code=True.

Native code executionREVIEW

Medium · Optional C++/CUDA compilation path exists.

License compatibilityREVIEW

High · Custom Tongyi Qianwen agreement requires use-case review.

Platform attestationREVIEW

Medium · No machine-readable security_repo_status was returned.

Findings

What a reviewer needs to resolve.

WF-001HIGH

Remote repository code is enabled

The configuration maps model and tokenizer classes to repository-supplied Python. The model card instructs users to enable trust_remote_code=True, so loading the model also loads executable code from the repository.

REQUIRED CONTROL

Pin the revision, review or vendor the referenced code, and perform the first load without production secrets or unrestricted network access.

WF-002MEDIUM

A conditional native CUDA build path exists

Repository code can invoke the local CUDA compiler and compile C++/CUDA sources through PyTorch when two optional cache-kernel flags are enabled. Those flags are off in the pinned default configuration.

REQUIRED CONTROL

Keep the flags disabled unless the native extension has been reviewed and built in a restricted, reproducible environment.

WF-003HIGH

The custom license needs use-case approval

The license includes redistribution, attribution, scale, model-training, export-control, and jurisdiction conditions. It is not a standard OSI license.

REQUIRED CONTROL

Document the intended commercial use, distribution model, user scale, and whether outputs will be used for model training; obtain legal review where appropriate.

WF-004PASS

Current weights use SafeTensors

All eight weight shards use SafeTensors. No current .pkl, .pickle, .pt, .pth, or .bin weight file appears in the pinned tree.

REQUIRED CONTROL

Verify downloaded shards against the recorded LFS SHA-256 values. SafeTensors reduces Pickle risk but does not make accompanying code safe.

WF-005HIGH

Unpinned examples can drift

The README examples reference Qwen/Qwen-7B without a fixed revision. A later repository update could silently change weights, configuration, tokenizer, or executable code.

REQUIRED CONTROL

Pin the full commit ef3c5c9c57b252f3149c1408daf4d649ec8b6c85 in every model and tokenizer load path.

Approval conditions

What changes REVIEW into PASS WITH EXCEPTION.

  1. Pin the full commit SHA in every download and load path.
  2. Review or vendor the five custom Python files and two native source files.
  3. Perform first execution in a restricted container without production credentials or unrestricted egress.
  4. Approve the custom license for the exact commercial, redistribution, and model-training use case.
  5. Verify downloaded weight shards against the recorded LFS SHA-256 values.
  6. Require a new review whenever the approved revision changes.

Weight manifest

Eight SafeTensors shards · 15,442,677,288 bytes.

FileBytesLFS SHA-256
model-00001-of-00008.safetensors1,964,066,4889dfd6266bcf80de9c3e5cd4e60300d839d03e459e48975b08d3e3b286044a306
model-00002-of-00008.safetensors2,023,960,8083dedac66034371aa3b284a7886e9ce0fde9245ebac60f507f089b33ef82a2912
model-00003-of-00008.safetensors2,023,960,81681b25b14a58b62300d11b16c66933a8b631400bf846b27a2a5c5344629cd26e8
model-00004-of-00008.safetensors2,023,960,84859a22cb822f9e6d0a6a8415a7bab7b8448ce9672fc71f09266db264afc26ce48
model-00005-of-00008.safetensors2,023,960,848e61126f7ad8c520112c49808a73d59bee18c6da7693d9a963a4867f389c91e4a
model-00006-of-00008.safetensors2,023,960,8480ced56cc3265fe03ee73658f845dc23c713389b5d68087e918d24d0e2dea624f
model-00007-of-00008.safetensors2,023,960,848b0999d47ea087bf79a075ed10889aa3497caff2356200204b032fba208109517
model-00008-of-00008.safetensors1,334,845,7847bc05473a78ade06d526cc206e4a01722563abe99099367cdcbb9b3bf670a5de

Scope & limitations

This is a manual, static intake sample.

REVIEWED
  • Hub metadata and pinned file tree
  • Configuration, tokenizer, README, license, and notice
  • Five Python files and two native source files using limited pattern inspection
NOT PERFORMED
  • Downloading or executing the 15.44 GB weights
  • Dynamic malware analysis or a full source audit
  • Publisher identity, legal opinion, model behavior, privacy, bias, or prompt-injection evaluation