AI SeedbankHelp preserve open and free AI for humanity's future

← All models

facebook_contriever

facebook · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.

This model has been trained without supervision following the approach described in Towards Unsupervised Dense Information Retrieval with Contrastive Learning. The associated GitHub repository is available here https://github.com/facebookresearch/contriever.

Usage (HuggingFace Transformers)

Using the model directly available in HuggingFace transformers requires to add a mean pooling operation to obtain a sentence embedding.

import torch
from transformers import AutoTokenizer, AutoModel

tokenizer = AutoTokenizer.from_pretrained('facebook/contriever')
model = AutoModel.from_pretrained('facebook/contriever')

sentences = [
    "Where was Marie Curie born?",
    "Maria Sklodowska, later known as Marie Curie, was born on November 7, 1867.",
    "Born in Paris on 15 May 1859, Pierre Curie was the son of Eugène Curie, a doctor of French Catholic origin from Alsace."
]

# Apply tokenizer
inputs = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')

# Compute token embeddings
outputs = model(**inputs)

# Mean pooling
def mean_pooling(token_embeddings, mask):
    token_embeddings = token_embeddings.masked_fill(~mask[..., None].bool(), 0.)
    sentence_embeddings = token_embeddings.sum(dim=1) / mask.sum(dim=1)[..., None]
    return sentence_embeddings
embeddings = mean_pooling(outputs[0], inputs['attention_mask'])

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:63aee399c5da067ab5a7a16b690a3fc80c74369e&dn=facebook_contriever

Open magnet in torrent client · infohash 63aee399c5da067ab5a7a16b690a3fc80c74369e

Files & hashes

PathSizesha1sha256
README.md1.4 KB (1,402 B)1fe972d43fa2011aa8e32fd5e39706e6bf1ff7e880ae9ba82e4f491f523996794fa0a452db132274294193a23245f0d416dd843b
config.json619 B (619 B)a22e9c97af60e2bd22206918afc71d2073f9818e56dc991b1bc2b4c52208e2c4c88e46b9e4a31a4bbaa335f2319e3dcdb8ed33be
pytorch_model.bin417.7 MB (438,007,537 B)5155bc9efbc24c02c1d7c5d5b6965ae0b729095fd0b6e2516913f812360475154323f50e2b1e1da0ce6a435175e08f218784c6fb
special_tokens_map.json112 B (112 B)e7b0375001f109a6b8873d756ad4f7bbb15fbaa5303df45a03609e4ead04bc3dc1536d0ab19b5358db685b6f3da123d05ec200e3
tokenizer.json455.2 KB (466,081 B)40c4a0f6c414c8218190234bbce9bf4cc04fa3ac5fd1c882abbd30517dced455a2c9768945ec726b96727927e4959348d9de550b
tokenizer_config.json321 B (321 B)f1f6a44d59f78c8979183439c53d33fddf0dbde59a8ed9b01c8a56b555dcdc31cd526ba9e488cfc16ee5a101b3ce64af81d34f3d
vocab.txt226.1 KB (231,508 B)fb140275c155a9c7c5a3b3e0e77a9e839594a93807eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3

Cite this release

Canonical URL
https://aiseedbank.org/models/facebook_contriever/
Slug
facebook_contriever
Infohash
63aee399c5da067ab5a7a16b690a3fc80c74369e
License
no license recorded
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: facebook_contriever.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositoryfacebook/contriever
Revision (pinned)2bd46a25019aeea091fd42d1f0fd4801675cf699
Fetched at2026-09-03T22:30:21Z
License at fetchno license recorded
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-03T22:30:30Z

no license recorded418.4 MB (438,707,580 bytes)transformerspytorchbertendpoints_compatiblepaper: 2112.09118