Downloads · 30 days
17
4% of all-time downloads
lockerai/lockerai-reranking-bert
lockerai-reranking-bert is a machine learning model from lockerai. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Downloads · 30 days
17
4% of all-time downloads
All-time downloads
445
Public
Parameters
396M
3.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.6 GB · 100%
From the Hugging Face model README
このモデルは検索結果の再ランキングのためのBERTモデルです。
from transformers import AutoTokenizer, AutoModel
# トークナイザーとモデルをロード
tokenizer = AutoTokenizer.from_pretrained("lockerai/lockerai-reranking-bert")
model = AutoModel.from_pretrained("lockerai/lockerai-reranking-bert")
# 入力テキストのトークン化
inputs = tokenizer("検索クエリ", "検索結果アイテム", return_tensors="pt")
# 推論
outputs = model(**inputs)
このモデルを使用する場合は、以下を引用してください:
@misc{lockerai_reranking_bert},
author = {lockerai},
title = {lockerai-reranking-bert},
year = {2025},
publisher = {HuggingFace},
howpublished = {\url{https://huggingface.co/lockerai/lockerai-reranking-bert}}
}