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

sbintuitions
/
sarashina-embedding-v2-1b

Feature Extraction
sentence-transformers
Safetensors
Transformers
Japanese
llama
sentence-similarity
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use sbintuitions/sarashina-embedding-v2-1b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use sbintuitions/sarashina-embedding-v2-1b with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("sbintuitions/sarashina-embedding-v2-1b")
    
    sentences = [
        "The weather is lovely today.",
        "It's so sunny outside!",
        "He drove to the stadium."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • Transformers

    How to use sbintuitions/sarashina-embedding-v2-1b with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="sbintuitions/sarashina-embedding-v2-1b")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("sbintuitions/sarashina-embedding-v2-1b")
    model = AutoModel.from_pretrained("sbintuitions/sarashina-embedding-v2-1b", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
sarashina-embedding-v2-1b
4.9 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 15 commits
akiFQCint's picture
akiFQCint
Update sentence_bert_config.json
1f3408a verified 12 months ago
  • 1_Pooling
    first commit about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • LICENSE
    11.5 kB
    fix filename about 1 year ago
  • README.md
    6.38 kB
    Update README.md 12 months ago
  • README_JA.md
    6.86 kB
    Update README_JA.md 12 months ago
  • config.json
    669 Bytes
    first commit about 1 year ago
  • config_sentence_transformers.json
    205 Bytes
    first commit about 1 year ago
  • model.safetensors
    4.9 GB
    xet
    first commit about 1 year ago
  • modules.json
    229 Bytes
    first commit about 1 year ago
  • sentence_bert_config.json
    54 Bytes
    Update sentence_bert_config.json 12 months ago
  • special_tokens_map.json
    968 Bytes
    first commit about 1 year ago
  • tokenizer.json
    6.72 MB
    first commit about 1 year ago
  • tokenizer.model
    1.83 MB
    xet
    first commit about 1 year ago
  • tokenizer_config.json
    3.78 kB
    fix : context length setting 12 months ago