Downloads · 30 days
13
20% of all-time downloads
PeytonT/cross-encoder-reranker
cross-encoder-reranker is a text classification model from PeytonT. Use it when you need a label for a piece of text. It is set up for transformers.
Reranks retrieved candidates with a cross-encoder scoring pass.
Downloads · 30 days
13
20% of all-time downloads
All-time downloads
66
Public
Parameters
22.7M
90.9 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors90.9 MB · 99%
From the Hugging Face model README
Reranks retrieved candidates with a cross-encoder scoring pass.
sentence-transformers/all-MiniLM-L6-v2encoderL2repository_library_search_stackThis model is part of the Repository Library stack, a research system for indexing, retrieving, aligning, and reasoning over scientific papers, structured paper content, repositories, and cross-domain links between them.
https://huggingface.co/PeytonT/cross-encoder-rerankerhttps://huggingface.co/collections/PeytonT/research-library-6a49c589ef4d763f7539b50dhttps://github.com/peytontolbert/research_libraryhttps://github.com/peytontolbert/research_library/blob/main/models/experiments/l2_cross_encoder_reranker.jsonhttps://github.com/peytontolbert/research_library/tree/main/modelsThe training inputs for this package were assembled from the following Repository Library data sources:
github_repos: repository graph and code chunk data exported from the Repository Library repo pipeline.github_reposquery, candidate_rowrelevance_label[0.9, 0.1, 0.0]40008bf16cross_entropy5e-05256256full_finetune1000unknownunknownaccuracyfrom transformers import AutoModelForSequenceClassification, AutoTokenizer
repo_id = "PeytonT/cross-encoder-reranker"
tokenizer = AutoTokenizer.from_pretrained(repo_id)
model = AutoModelForSequenceClassification.from_pretrained(repo_id)
https://github.com/peytontolbert/research_libraryhttps://huggingface.co/collections/PeytonT/research-library-6a49c589ef4d763f7539b50dPeytonT