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

HIT-TMG
/
KaLM-embedding-multilingual-mini-instruct-v1

Sentence Similarity
sentence-transformers
Safetensors
qwen2
feature-extraction
mteb
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community
4

Instructions to use HIT-TMG/KaLM-embedding-multilingual-mini-instruct-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use HIT-TMG/KaLM-embedding-multilingual-mini-instruct-v1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("HIT-TMG/KaLM-embedding-multilingual-mini-instruct-v1")
    
    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]
  • Notebooks
  • Google Colab
  • Kaggle
KaLM-embedding-multilingual-mini-instruct-v1
1.99 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 16 commits
YanshekWoo's picture
YanshekWoo
1022
a47218f verified about 1 year ago
  • 1_Pooling
    init over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    601 kB
    1022 about 1 year ago
  • added_tokens.json
    80 Bytes
    init over 1 year ago
  • config.json
    655 Bytes
    Update config.json over 1 year ago
  • config_sentence_transformers.json
    208 Bytes
    init over 1 year ago
  • merges.txt
    1.67 MB
    init over 1 year ago
  • model.safetensors
    1.98 GB
    xet
    init over 1 year ago
  • modules.json
    349 Bytes
    init over 1 year ago
  • sentence_bert_config.json
    55 Bytes
    init over 1 year ago
  • special_tokens_map.json
    370 Bytes
    init over 1 year ago
  • tokenization_qwen.py
    10.8 kB
    init over 1 year ago
  • tokenizer.json
    7.03 MB
    init over 1 year ago
  • tokenizer_config.json
    1.63 kB
    init over 1 year ago
  • vocab.json
    2.78 MB
    init over 1 year ago