Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Gabrosh
/
Earth-Science-Semantic-Similarity

Sentence Similarity
sentence-transformers
Safetensors
mpnet
feature-extraction
Generated from Trainer
dataset_size:129
loss:CoSENTLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

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
Earth-Science-Semantic-Similarity
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Gabrosh's picture
Gabrosh
Upload folder using huggingface_hub
3380355 verified about 1 year ago
  • 1_Pooling
    Upload folder using huggingface_hub about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    52.1 kB
    Upload folder using huggingface_hub about 1 year ago
  • config.json
    613 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • config_sentence_transformers.json
    201 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • model.safetensors
    438 MB
    xet
    Upload folder using huggingface_hub about 1 year ago
  • modules.json
    349 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • sentence_bert_config.json
    53 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • special_tokens_map.json
    964 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • tokenizer.json
    711 kB
    Upload folder using huggingface_hub about 1 year ago
  • tokenizer_config.json
    1.58 kB
    Upload folder using huggingface_hub about 1 year ago
  • vocab.txt
    232 kB
    Upload folder using huggingface_hub about 1 year ago