Back to all models
text-classification mask_token: [MASK]
Query this model
🔥 This model is currently loaded and running on the Inference API. ⚠️ This model could not be loaded by the inference API. ⚠️ This model can be loaded on the Inference API on-demand.
JSON Output
API endpoint  

⚡️ Upgrade your account to access the Inference API

							$
							curl -X POST \
-H "Authorization: Bearer YOUR_ORG_OR_USER_API_TOKEN" \
-H "Content-Type: application/json" \
-d '"json encoded string"' \
https://api-inference.huggingface.co/models/Capreolus/bert-base-msmarco
Share Copied link to clipboard

Monthly model downloads

Capreolus/bert-base-msmarco Capreolus/bert-base-msmarco
50 downloads
last 30 days

pytorch

tf

Contributed by

Capreolus
1 team member · 5 models

How to use this model directly from the 🤗/transformers library:

			
Copy to clipboard
from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Capreolus/bert-base-msmarco") model = AutoModelForSequenceClassification.from_pretrained("Capreolus/bert-base-msmarco")
Uploaded in S3

capreolus/bert-base-msmarco

Model description

BERT-Base model (google/bert_uncased_L-12_H-768_A-12) fine-tuned on the MS MARCO passage classification task. It is intended to be used as a ForSequenceClassification model; see the Capreolus BERT-MaxP implementation for a usage example.

This corresponds to the BERT-Base model used to initialize BERT-MaxP and PARADE variants in PARADE: Passage Representation Aggregation for Document Reranking by Li et al. It was converted from the released TFv1 checkpoint. Please cite the PARADE paper if you use these weights.