How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("fill-mask", model="binwang/roberta-base")
# Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM

tokenizer = AutoTokenizer.from_pretrained("binwang/roberta-base")
model = AutoModelForMaskedLM.from_pretrained("binwang/roberta-base", device_map="auto")
Quick Links

Historical research checkpoint โ€” SBERT-WK (2020)

No longer actively maintained. Retained for reproducibility of the original work.

This repository hosts the original 12-layer RoBERTa checkpoint used in the SBERT-WK experiments. It is a supporting checkpoint for the sentence embedding method.

For the paper, original software environment, and reproduction instructions, see SBERT-WK: A Sentence Embedding Method by Dissecting BERT-based Word Models.

Downloads last month
29
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Collection including binwang/roberta-base