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

aipib
/
sentence_embedding_ja-ft-wifi

Sentence Similarity
sentence-transformers
Safetensors
Transformers
luke
feature-extraction
Model card Files Files and versions
xet
Community

Instructions to use aipib/sentence_embedding_ja-ft-wifi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use aipib/sentence_embedding_ja-ft-wifi with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("aipib/sentence_embedding_ja-ft-wifi")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Transformers

    How to use aipib/sentence_embedding_ja-ft-wifi with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("aipib/sentence_embedding_ja-ft-wifi")
    model = AutoModel.from_pretrained("aipib/sentence_embedding_ja-ft-wifi")
  • Notebooks
  • Google Colab
  • Kaggle
sentence_embedding_ja-ft-wifi / eval
5.48 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
aipib's picture
aipib
Upload 13 files
54b68c2 verified almost 2 years ago
  • Information-Retrieval_evaluation_results.csv
    5.48 kB
    Upload 13 files almost 2 years ago