Sentence Similarity
sentence-transformers
Safetensors
English
bert
feature-extraction
Generated from Trainer
dataset_size:76064
loss:MatryoshkaLoss
loss:TripletLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use anindya-hf-2002/bge-base-finetuned-hotpotqa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use anindya-hf-2002/bge-base-finetuned-hotpotqa with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("anindya-hf-2002/bge-base-finetuned-hotpotqa") sentences = [ "Which survey in 2010 recommended the The Wide Field Infrared Survey Telescope as the top priority for astronomy?", "High Energy Astronomy Observatory 1 HEAO-1 was an X-ray telescope launched in 1977. HEAO-1 surveyed the sky in the X-ray portion of the electromagnetic spectrum (0.2 keV - 10 MeV), providing nearly constant monitoring of X-ray sources near the ecliptic poles and more detailed studies of a number of objects by observations lasting 3-6 hours. It was the first of NASA's three High Energy Astronomy Observatories, HEAO 1, launched August 12, 1977 aboard an Atlas rocket with a Centaur upper stage, operated until 9 January 1979. During that time, it scanned the X-ray sky almost three times", "Wide Field Infrared Survey Telescope The Wide Field Infrared Survey Telescope (WFIRST) is a future infrared space observatory that was recommended in 2010 by United States National Research Council Decadal Survey committee as the top priority for the next decade of astronomy. On February 17, 2016, WFIRST was formally designated as a mission by NASA.", "The Bluebells The Bluebells were a Scottish indie rock band, active between 1981 and 1986 (later briefly reforming in 1993, 2008–2009 and 2011)." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!