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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

vayishu
/
visa-minilm

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:1000
loss:TripletLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use vayishu/visa-minilm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use vayishu/visa-minilm with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("vayishu/visa-minilm")
    
    sentences = [
        "What are the key points in passage fam_402.10_30?",
        "( v ) A dependent applying under [ paragraph ( s)(2 ) ( iii)](/current / title-8 / section-214.2#p-214.2(s)(2)(iii ) ) or [ ( iv)](/current / title-8 / section-214.2#p-214.2(s)(2)(iv ) ) of this section must also submit a certified statement from the post - secondary educational institution confirming that he or she is pursuing studies on a full - time basis .",
        "( b )   ( U ) The criteria for \n qualifying as an H-1B physician are found in subparagraph 3 below .",
        "( ii ) * What are the requirements for participation ? *"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
visa-minilm
91.8 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
vayishu's picture
vayishu
Add new SentenceTransformer model.
0d00981 verified 9 months ago
  • 1_Pooling
    Add new SentenceTransformer model. 9 months ago
  • .gitattributes
    1.52 kB
    initial commit 9 months ago
  • README.md
    20.3 kB
    Add new SentenceTransformer model. 9 months ago
  • config.json
    617 Bytes
    Add new SentenceTransformer model. 9 months ago
  • config_sentence_transformers.json
    283 Bytes
    Add new SentenceTransformer model. 9 months ago
  • model.safetensors
    90.9 MB
    xet
    Add new SentenceTransformer model. 9 months ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model. 9 months ago
  • sentence_bert_config.json
    57 Bytes
    Add new SentenceTransformer model. 9 months ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model. 9 months ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model. 9 months ago
  • tokenizer_config.json
    1.46 kB
    Add new SentenceTransformer model. 9 months ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model. 9 months ago