alt.freeweights.deepseek / deepseek_vit_412m.deepseek_v4_1_flash
From: timm <huggingface.co/timm>Newsgroups: alt.freeweights.deepseekSubject:

deepseek_vit_412m.deepseek_v4_1_flash

Date: 2026-11-15Commit: 7c9d152Signed: 2DC28CC7B26A283B ✓

Image feature extraction model with 412M parameters. Safetensors weights, 1.65 GB in all. Published by timm under MIT.

412M params1.65GBdeepseek_vit_412m.deepseek_v4_1_flashsafetensorspermissive
FactsParams412MSize1.65 GBFormatssafetensorsTaskimage feature extractionLicenseMITFrom sourcepermissive
$ fw get timm/deepseek_vit_412m.deepseek_v4_1_flash
# manifest sha256 6534173012ec… · 1.65 GB · 5 files
$ fw verify ./deepseek_vit_412m.deepseek_v4_1_flash timm/deepseek_vit_412m.deepseek_v4_1_flash
From sourceHosted (signed)timm/deepseek_vit_412m.deepseek_v4_1_flashLast check: 2026-11-15 03:44 UTC

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

Fine-tune of DeepSeek-V4.1-Flash.

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
1.65 GB
Weights
1.65 GB (safetensors)
Parameters
412M
Formats
safetensors
Task
image feature extraction
License
MIT (permissive)
Files
5, each with a sha256
Publisher
timm
Added
2026-11-15
Section
alt.freeweights.deepseek
Lineage

Original release from the publisher.

Base model: deepseek-ai/DeepSeek-V4.1-Flash

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:44 UTCpassed

Model card

From the publisher at commit 7c9d152. Shown as plain text with links; images open at the publisher.

Model card for deepseek_vit_412m.deepseek_v4_1_flash#

NOTE: This checkpoint is a native timm remap of the original vision weights, with no additional training. It contains no language-model weights or trained image-classification head.

A DeepSeek ViT image feature model extracted from DeepSeek-V4.1-Flash. This is the classifier-ready wrapper with average pooling and affine-free RMSNorm over the encoder patch features.

Model Notes#

  • The backbone uses 14×14 patches, SwiGLU MLPs, RMSNorm and axial 2D RoPE, with no learned absolute position embeddings. The original linear patch projection is reshaped into a Conv2d without changing its computation.
  • The native aligner groups 3×3 patch tokens in channel-major order and uses a two-layer GELU MLP to project to the source LLM width. Incomplete groups are zero-padded on the bottom/right. It is retained in _enc and _align variants and omitted from the plain classifier.
  • RGB inputs use mean=(0.5, 0.5, 0.5) and std=(0.5, 0.5, 0.5), matching the original. The default timm evaluation transform uses crop_mode="border", crop_pct=1.0 and bicubic resizing to preserve aspect ratio on a fixed, gray-padded canvas. The original processor selects variable canvas dimensions and uses gray 127 padding; timm uses gray 128.
  • Rectangular inputs are supported. Dimensions must be divisible by 14 by default. Pass dynamic_img_pad=True at model creation to zero-pad normalized inputs on the bottom/right to a patch-size multiple. This does not reproduce the original adaptive resize policy.
  • forward_features() returns final-RMSNorm NHWC backbone features. forward() returns projected NLC tokens for the _enc variant, or pooled image embeddings for the classifier variant until a classification head is added.
  • Intermediate backbone maps are available through forward_intermediates() and features_only=True; these do not include the aligner. Use norm=True to apply the encoder's final RMSNorm to intermediate maps.

Model Details#

Model Usage#

Image Features#
import torch
import timm
from PIL import Image

model = timm.create_model('hf-hub:timm/deepseek_vit_412m.deepseek_v4_1_flash', pretrained=True).eval()
data_config = timm.data.resolve_model_data_config(model)
transform = timm.data.create_transform(**data_config, is_training=False)
image = Image.open('image.jpg').convert('RGB')
x = transform(image).unsqueeze(0)

with torch.inference_mode():
    output = model(x)  # (1, 1024): image embeddings
    features = model.forward_features(x)  # (1, 39, 39, 1024): final-RMSNorm backbone features (NHWC)
Intermediate Feature Maps#
with torch.inference_mode():
    maps = model.forward_intermediates(
        x, indices=3, norm=True, output_fmt='NCHW', intermediates_only=True,
    )
for feature_map in maps:
    print(feature_map.shape)  # (1, 1024, 39, 39)
Classification Fine-tuning#
model = timm.create_model(
    'hf-hub:timm/deepseek_vit_412m.deepseek_v4_1_flash', pretrained=True, num_classes=45,
)
logits = model(x)  # (1, 45)

The new linear head is randomly initialized and must be trained on your target dataset.

Citation#

@misc{deepseekai2026deepseekv41flash,
  title={DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compression},
  author={DeepSeek-AI},
  year={2026},
}
@misc{rw2019timm,
  author = {Ross Wightman},
  title = {PyTorch Image Models},
  year = {2019},
  publisher = {GitHub},
  journal = {GitHub repository},
  doi = {10.5281/zenodo.4414861},
  howpublished = {\url{https://github.com/huggingface/pytorch-image-models}}
}

Files

5 files · 1.65 GBWeights 1.65 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 5 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md5.11 KB3bf29a0843054347f8f80be9419b75a87a224e4fcb8bd40d4955297db5730562
config.json816 B15df5490a5c70068513a4eb5c2580091750917f9e1979be6cc76229033c15785
conversion.json376 B5077faf8ebe0aace49c35f28b3cde55a7ce18d639fd94e6a4077937895071a0d
model.safetensors1.65 GBe74034b83e2b5f430f1e9d19b66c5e4710d021c69a941c5a954be2ac1f772d1e
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
7c9d15249e pinned now2026-11-15 03:44 UTC5 files · 1.65 GB

Use it

$ fw get timm/deepseek_vit_412m.deepseek_v4_1_flash
# manifest sha256 6534173012ec… · 1.65 GB · 5 files
$ fw verify ./deepseek_vit_412m.deepseek_v4_1_flash timm/deepseek_vit_412m.deepseek_v4_1_flash
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/timm/deepseek_vit_412m.deepseek_v4_1_flash.json --dir ./deepseek_vit_412m.deepseek_v4_1_flash $ python3 fw.py verify ./deepseek_vit_412m.deepseek_v4_1_flash ./timm__deepseek_vit_412m.deepseek_v4_1_flash.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download timm/deepseek_vit_412m.deepseek_v4_1_flash --revision 7c9d15249ed2b8f6eb037c11f46a6565829e5492 --local-dir ./deepseek_vit_412m.deepseek_v4_1_flash

License

Name
MIT License
Id
MIT
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
3bf29a0843054347f8f80be9419b75a87a224e4fcb8bd40d4955297db5730562
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: timm <huggingface.co/timm>Newsgroups: alt.freeweights.deepseekSubject: deepseek_vit_412m.deepseek_v4_1_flashDate: 2026-11-15Commit: 7c9d152Signed: 2DC28CC7B26A283B ✓
Upstream
timm/deepseek_vit_412m.deepseek_v4_1_flash
Pinned commit
7c9d15249ed2b8f6eb037c11f46a6565829e5492
Manifest
deepseek_vit_412m.deepseek_v4_1_flash.json · .minisig
Manifest sha256
6534173012ec5dccb87742b486fd47df11b2fc5831e4f7849ab04cdd384d80f7
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:44 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/timm/deepseek_vit_412m.deepseek_v4_1_flash.json $ curl -O https://freeweights.allternit.com/manifests/timm/deepseek_vit_412m.deepseek_v4_1_flash.json.minisig $ minisign -Vm deepseek_vit_412m.deepseek_v4_1_flash.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

deepseek-ai/DeepSeek-V4.1-Flash · this model is a finetune of it

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

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download timm/deepseek_vit_412m.deepseek_v4_1_flash
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. deepseek_vit_412m.deepseek_v4_1_flash.json. Provenance. Takedown history: none.
From: bartowski <huggingface.co/bartowski>Subject: deepseek-ai_DeepSeek-R1-0528-GGUF
From: bartowski <huggingface.co/bartowski>Subject: deepseek-ai_DeepSeek-R1-0528-Qwen3-8B-GGUF
From: bartowski <huggingface.co/bartowski>Subject: deepseek-ai_DeepSeek-V3-0324-GGUF
From: bartowski <huggingface.co/bartowski>Subject: deepseek-ai_DeepSeek-V3.1-GGUF
From: mlx-community <huggingface.co/mlx-community>Subject: deepseek-ai-DeepSeek-V4-Flash-8bit
From: mlx-community <huggingface.co/mlx-community>Subject: DeepSeek-OCR-8bit