alt.freeweights.vision / w2v-bert-2.0
From: facebook <huggingface.co/facebook>Newsgroups: alt.freeweights.visionSubject:

w2v-bert-2.0

Date: 2026-11-14Commit: da985baSigned: 2DC28CC7B26A283B ✓

Feature extraction model with 580M parameters. Safetensors weights, 4.65 GB in all. Published by facebook under MIT.

580M params4.65GBw2v-bert-2.0safetensorspermissive
FactsParams580MSize4.65 GBFormatssafetensorsTaskfeature extractionLicenseMITFrom sourcepermissive
$ fw get facebook/w2v-bert-2.0
# manifest sha256 fdf012991f3a… · 4.65 GB · 6 files
$ fw verify ./w2v-bert-2.0 facebook/w2v-bert-2.0
From sourceHosted (signed)facebook/w2v-bert-2.0Last check: 2026-11-14 21:36 UTC

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

Overview

Size
4.65 GB
Weights
2.32 GB (safetensors)
Parameters
580M
Formats
safetensors
Task
feature extraction
License
MIT (permissive)
Files
6, each with a sha256
Publisher
facebook
Added
2026-11-14
Section
alt.freeweights.vision
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-14 21:36 UTCpassed

Model card

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

W2v-BERT 2.0 speech encoder#

We are open-sourcing our Conformer-based W2v-BERT 2.0 speech encoder as described in Section 3.2.1 of the paper, which is at the core of our Seamless models.

This model was pre-trained on 4.5M hours of unlabeled audio data covering more than 143 languages. It requires finetuning to be used for downstream tasks such as Automatic Speech Recognition (ASR), or Audio Classification.

Model Name#paramscheckpoint
W2v-BERT 2.0600Mcheckpoint

This model and its training are supported by 🤗 Transformers, more on it in the docs.

🤗 Transformers usage#

This is a bare checkpoint without any modeling head, and thus requires finetuning to be used for downstream tasks such as ASR. You can however use it to extract audio embeddings from the top layer with this code snippet:

from transformers import AutoFeatureExtractor, Wav2Vec2BertModel
import torch
from datasets import load_dataset

dataset = load_dataset("hf-internal-testing/librispeech_asr_demo", "clean", split="validation")
dataset = dataset.sort("id")
sampling_rate = dataset.features["audio"].sampling_rate

processor = AutoProcessor.from_pretrained("facebook/w2v-bert-2.0")
model = Wav2Vec2BertModel.from_pretrained("facebook/w2v-bert-2.0")

# audio file is decoded on the fly
inputs = processor(dataset[0]["audio"]["array"], sampling_rate=sampling_rate, return_tensors="pt")
with torch.no_grad():
    outputs = model(**inputs)

To learn more about the model use, refer to the following resources:

Seamless Communication usage#

This model can be used in Seamless Communication, where it was released.

Here's how to make a forward pass through the voice encoder, after having completed the installation steps:

import torch

from fairseq2.data.audio import AudioDecoder, WaveformToFbankConverter
from fairseq2.memory import MemoryBlock
from fairseq2.nn.padding import get_seqs_and_padding_mask
from pathlib import Path
from seamless_communication.models.conformer_shaw import load_conformer_shaw_model


audio_wav_path, device, dtype = ...
audio_decoder = AudioDecoder(dtype=torch.float32, device=device)
fbank_converter = WaveformToFbankConverter(
    num_mel_bins=80,
    waveform_scale=2**15,
    channel_last=True,
    standardize=True,
    device=device,
    dtype=dtype,
)
collater = Collater(pad_value=1)

model = load_conformer_shaw_model("conformer_shaw", device=device, dtype=dtype)
model.eval()

with Path(audio_wav_path).open("rb") as fb:
    block = MemoryBlock(fb.read())

decoded_audio = audio_decoder(block)
src = collater(fbank_converter(decoded_audio))["fbank"]
seqs, padding_mask = get_seqs_and_padding_mask(src)

with torch.inference_mode():
  seqs, padding_mask = model.encoder_frontend(seqs, padding_mask)
  seqs, padding_mask = model.encoder(seqs, padding_mask)

Files

6 files · 4.65 GBWeights 2.32 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 6 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md4.79 KB478afeacb3b4ce0d86b361f099416d28a7e7673ade31775c0f85f396979b7fc2
config.json1.87 KBf5572bd5998b68182e9c328a43127ed21fed687f6910497136b91a4e3b0e3675
conformer_shaw.pt2.33 GB8310b4270a5b499e92e20c859892dbf7429619347debb5f8feba79eb88f99b4f
model.safetensors2.32 GBeb890c9660ed6e3414b6812e27257b8ce5454365d5490d3ad581ea60b93be043
preprocessor_config.json275 B8e6281aad64f97e40534135a59dcc5d33571efae376f2a25adf5551951897ab4
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
da985ba098 pinned now manifest updated, same commit2026-11-14 21:36 UTC6 files · 4.65 GB
da985ba0982026-11-14 21:36 UTC6 files · 4.65 GB

Use it

$ fw get facebook/w2v-bert-2.0
# manifest sha256 fdf012991f3a… · 4.65 GB · 6 files
$ fw verify ./w2v-bert-2.0 facebook/w2v-bert-2.0
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/facebook/w2v-bert-2.0.json --dir ./w2v-bert-2.0 $ python3 fw.py verify ./w2v-bert-2.0 ./facebook__w2v-bert-2.0.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download facebook/w2v-bert-2.0 --revision da985ba0987f70aaeb84a80f2851cfac8c697a7b --local-dir ./w2v-bert-2.0
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModel, AutoTokenizer tok = AutoTokenizer.from_pretrained("facebook/w2v-bert-2.0", revision="da985ba0987f70aaeb84a80f2851cfac8c697a7b") model = AutoModel.from_pretrained("facebook/w2v-bert-2.0", revision="da985ba0987f70aaeb84a80f2851cfac8c697a7b", device_map="auto")

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-14
Text in
README.md
Text sha256
478afeacb3b4ce0d86b361f099416d28a7e7673ade31775c0f85f396979b7fc2
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: facebook <huggingface.co/facebook>Newsgroups: alt.freeweights.visionSubject: w2v-bert-2.0Date: 2026-11-14Commit: da985baSigned: 2DC28CC7B26A283B ✓
Upstream
facebook/w2v-bert-2.0
Pinned commit
da985ba0987f70aaeb84a80f2851cfac8c697a7b
Manifest
w2v-bert-2.0.json · .minisig
Manifest sha256
fdf012991f3ab16fce3eb3a852d5e7f5c36de2d5dadaa1d18cc4f41f51266836
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:36 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/facebook/w2v-bert-2.0.json $ curl -O https://freeweights.allternit.com/manifests/facebook/w2v-bert-2.0.json.minisig $ minisign -Vm w2v-bert-2.0.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 facebook/w2v-bert-2.0
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. w2v-bert-2.0.json. Provenance. Takedown history: none.
From: dima806 <huggingface.co/dima806>Subject: ai_vs_real_image_detection
From: legekka <huggingface.co/legekka>Subject: AI-Anime-Image-Detector-ViT
From: onnx-community <huggingface.co/onnx-community>Subject: AI-Anime-Image-Detector-ViT-ONNX
From: AICodexLab <huggingface.co/AICodexLab>Subject: answerdotai-ModernBERT-base-ai-detector
From: onnx-community <huggingface.co/onnx-community>Subject: answerdotai-ModernBERT-base-ai-detector-ONNX
From: onnx-community <huggingface.co/onnx-community>Subject: bart-large-cnn-ONNX