Dự án này đã lâu không có cập nhật mới nên không còn hiển thị trên trang chủ, danh mục hay kết quả tìm kiếm — dữ liệu vẫn được giữ nguyên và trang này vẫn xem được bình thường.
Modeltext-classification
Pristinenlp

Pristinenlp/alime-reranker-large-zh

alime-reranker-large-zh The alime reranker model. Usage python from transformers import AutoTokenizer, AutoModelForSequenceClassification import torch pairs = "西湖在哪?", "西湖风景名胜区位于浙江省杭州市","今天天气不错","你吓死我了" if torch.cuda.isavailable(): device = torch.de...

9thích
23tải xuống
0lượt xem

alime-reranker-large-zh

The alime reranker model.

Usage


from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch

pairs = [["西湖在哪?", "西湖风景名胜区位于浙江省杭州市"],["今天天气不错","你吓死我了"]]

if torch.cuda.is_available():
    device = torch.device("cuda")
else:
    device = torch.device("cpu")

tokenizer = AutoTokenizer.from_pretrained("Pristinenlp/alime-reranker-large-zh")
model = AutoModelForSequenceClassification.from_pretrained("Pristinenlp/alime-reranker-large-zh").to(device)

inputs = tokenizer(pairs, padding=True, truncation=True, return_tensors='pt', max_length=512).to(device)
scores = model(**inputs, return_dict=True).logits.view(-1, ).float()
print(scores.tolist())

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

Modeltext-classification
convaiinnovations/laya

Laya Laya is an open-source, non-autoregressive System 1 decision model: give it a state (text, email, ticket, or JSON document) and typed questions, and it returns typed answers with mathematically calibrated probabilities and confidence scores. It...

♥0
57.1k
Oct 3, 2026
Modeltext-classification
BAAI/bge-reranker-base

We have updated the new reranker(https://github.com/FlagOpen/FlagEmbedding/tree/master/FlagEmbedding/llmreranker), supporting larger lengths, more languages, and achieving better performance. FlagEmbedding Model List | FAQ | Usage | Evaluation | Trai...

♥0
2.9M
Jun 24, 2024
Modeltext-ranking
cross-encoder/ms-marco-MiniLM-L6-v2

Cross-Encoder for MS Marco This model was trained on the MS Marco Passage Ranking(https://github.com/microsoft/MSMARCO-Passage-Ranking) task. The model can be used for Information Retrieval: Given a query, encode the query will all possible passages...

♥0
71.4M
Aug 9, 2026
Modelfeature-extraction
BAAI/bge-small-en-v1.5

FlagEmbedding Model List | FAQ | Usage | Evaluation | Train | Contact | Citation | License More details please refer to our Github: FlagEmbedding(https://github.com/FlagOpen/FlagEmbedding). If you are looking for a model that supports more languages,...

♥0
53.1M
Feb 22, 2024
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
190.2M
Jun 1, 2026
Modeltext-classification
BAAI/bge-reranker-v2-m3

Reranker More details please refer to our Github: FlagEmbedding(https://github.com/FlagOpen/FlagEmbedding/tree/master). - Model List(model-list) - Usage(usage) - Fine-tuning(fine-tune) - Evaluation(evaluation) - Citation(citation) Different from emb...

♥0
14.6M
Jun 24, 2024
Modeltext-classification
distilbert/distilbert-base-uncased-finetuned-sst-2-english

DistilBERT base uncased finetuned SST-2 Table of Contents - Model Details(model-details) - How to Get Started With the Model(how-to-get-started-with-the-model) - Uses(uses) - Risks, Limitations and Biases(risks-limitations-and-biases) - Training(tra...

♥0
2.6M
Dec 19, 2023
Modeltext-classification
autotrust/JEV-35B

autotrust/JEV-35B !AutoTrust/GuruSearch recommendation & search live demo: news.guru.so(https://huggingface.co/autotrust/JEV-27B/resolve/main/assets/autotrustgurusearchdemo.png)(https://news.guru.so/ui) 🔴 Live: AutoTrust/GuruSearch recommendation &...

♥0
1.1M
Oct 14, 2026
Modelfeature-extraction
BAAI/bge-reranker-large

We have updated the new reranker(https://github.com/FlagOpen/FlagEmbedding/tree/master/FlagEmbedding/llmreranker), supporting larger lengths, more languages, and achieving better performance. FlagEmbedding Model List | FAQ | Usage | Evaluation | Trai...

♥0
2.1M
May 11, 2024