Feature Extraction
Transformers
Safetensors
English
base_encoder
scientific-retrieval
dense-passage-retrieval
dual-encoder
citation-prediction
talk2ref
SBERT
Instructions to use s8frbroy/talk2ref_ref_key_cited_paper_encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use s8frbroy/talk2ref_ref_key_cited_paper_encoder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="s8frbroy/talk2ref_ref_key_cited_paper_encoder")# pip install -U transformers accelerate # Load model directly from transformers import BaseEncoderHF model = BaseEncoderHF.from_pretrained("s8frbroy/talk2ref_ref_key_cited_paper_encoder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files81 unmodified lines8283848586878881 unmodified linesThe cited-paper encoder was trained jointly with the query-talk encoder under a **dual-encoder contrastive framework** inspired by Dense Passage Retrieval (Karpukhin et al., 2020).Each talk $Ti$ and paper $Rj$ is encoded into embeddings $fT(Ti)$ and $fR(Rj)$.Their dot-product similarity $sij = fT(Ti)路fR(Rj)$ is optimized using a sigmoid-based binary loss supporting multiple positives per query:$$L = - \sum_i [y_i \log \sigma(s_i) + (1 - y_i)\log(1 - \sigma(s_i))]81 unmodified lines8283848586878881 unmodified linesThe cited-paper encoder was trained jointly with the query-talk encoder under a **dual-encoder contrastive framework** inspired by Dense Passage Retrieval (Karpukhin et al., 2020).Each talk $Ti$ and paper $Rj$ is encoded into embeddings $fT(Ti)$ and $fR(Rj)$.Their dot-product similarity $s_{ij} = f_T(T_i) \cdot f_R(R_j)$ is optimized using a sigmoid-based binary loss supporting multiple positives per query:$$L = - \sum_i [y_i \log \sigma(s_i) + (1 - y_i)\log(1 - \sigma(s_i))]
README.md+1-1