Sentence Similarity
sentence-transformers
Safetensors
mpnet
feature-extraction
Generated from Trainer
dataset_size:129
loss:CoSENTLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use Gabrosh/Earth-Science-Semantic-Similarity with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Gabrosh/Earth-Science-Semantic-Similarity with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Gabrosh/Earth-Science-Semantic-Similarity") sentences = [ "traces historical and scientific advancement of our understanding of earths cosmic context introduces basic physical principles by which planets form and create their associated features of rings satellites diverse landscapes atmospheres and climates includes the physics of asteroids and comets and their orbital characteristics and links to meteorites considers one of the most fundamental questions whether or not we are alone by detailing the scientific exploration goals to be achieved at the moon mars and beyond ", "this is an introduction to the study of the solar system with emphasis on the latest spacecraft results the subject covers basic principles rather than detailed mathematical and physical models topics include an overview of the solar system planetary orbits rings planetary formation meteorites asteroids comets planetary surfaces and cratering planetary interiors planetary atmospheres and life in the solar system ", "in this course describes the largescale circulation systems of the tropical atmosphere are used to infer the nalyses the dynamics of such systems the course includes phase equilibria of homogeneous and heterogeneous systems and thermodynamic modeling of nonideal crystalline solutions it also surveys the processes that lead to the formation of metamorphic and igneous rocks in the major tectonic environments in the earths crust and mantle ", "this introductory course presents a basic study in oceanography and the utilization of seismic waves for the study of ocean it introduces techniques necessary for understanding of elastic wave propagation in layered media" ] 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!