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
Ctrl+K
Ctrl+K
  • 1 contributor
History: 19 commits
aipib's picture
aipib
Update README.md
6e5f63f verified almost 2 years ago
  • 1_Pooling
    Upload 13 files almost 2 years ago
  • eval
    Upload 13 files almost 2 years ago
  • .gitattributes
    54 Bytes
    Upload 13 files almost 2 years ago
  • README.md
    4.11 kB
    Update README.md almost 2 years ago
  • added_tokens.json
    40 Bytes
    Upload 13 files almost 2 years ago
  • config.json
    868 Bytes
    Upload 13 files almost 2 years ago
  • config_sentence_transformers.json
    124 Bytes
    Upload 13 files almost 2 years ago
  • entity_vocab.json
    62 Bytes
    Upload 13 files almost 2 years ago
  • model.safetensors
    532 MB
    xet
    Upload 13 files almost 2 years ago
  • modules.json
    229 Bytes
    Upload 13 files almost 2 years ago
  • sentence_bert_config.json
    51 Bytes
    Upload 13 files almost 2 years ago
  • sentencepiece.bpe.model
    842 kB
    Upload 13 files almost 2 years ago
  • special_tokens_map.json
    1.7 kB
    Upload 13 files almost 2 years ago
  • tokenizer_config.json
    2.26 kB
    Upload 13 files almost 2 years ago