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

hamzax001
/
sentence_seg

Sentence Similarity
sentence-transformers
Safetensors
mpnet
feature-extraction
Generated from Trainer
dataset_size:24004
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use hamzax001/sentence_seg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use hamzax001/sentence_seg with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("hamzax001/sentence_seg")
    
    sentences = [
        "the revisions remove unnecessary and outdated content from volume i, and relocate basic instructions and technical explanations to a newly designed web page on the commission's website.",
        "\\1\\ we originally adopted the filer manual on april 1, 1993, with an effective date of april 26, 1993.",
        "\\6\\ updates to these taxonomies and schemas are ministerial in nature.",
        "the two commenters expressed concern that the proposed ea see user fee would be used to fund the program for enrollment and renewal of enrolled agents in addition to recovering the irs's cost of overseeing the ea see."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
sentence_seg
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
hamzax001's picture
hamzax001
By hamza
0410c18 verified 10 months ago
  • 1_Pooling
    By hamza 10 months ago
  • .gitattributes
    1.52 kB
    initial commit 10 months ago
  • README.md
    24.6 kB
    By hamza 10 months ago
  • config.json
    551 Bytes
    By hamza 10 months ago
  • config_sentence_transformers.json
    205 Bytes
    By hamza 10 months ago
  • model.safetensors
    438 MB
    xet
    By hamza 10 months ago
  • modules.json
    349 Bytes
    By hamza 10 months ago
  • sentence_bert_config.json
    53 Bytes
    By hamza 10 months ago
  • special_tokens_map.json
    964 Bytes
    By hamza 10 months ago
  • tokenizer.json
    711 kB
    By hamza 10 months ago
  • tokenizer_config.json
    1.62 kB
    By hamza 10 months ago
  • vocab.txt
    232 kB
    By hamza 10 months ago