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

nampham1106
/
bkcare-embedding

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

Instructions to use nampham1106/bkcare-embedding with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use nampham1106/bkcare-embedding with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("nampham1106/bkcare-embedding")
    
    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 nampham1106/bkcare-embedding with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("nampham1106/bkcare-embedding")
    model = AutoModel.from_pretrained("nampham1106/bkcare-embedding")
  • Notebooks
  • Google Colab
  • Kaggle
bkcare-embedding
813 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
nampham1106's picture
nampham1106
Add exported onnx model 'model_qint8_avx512.onnx' (#2)
ab5e35d verified over 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model. about 2 years ago
  • onnx
    Add exported onnx model 'model_qint8_avx512.onnx' (#2) over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    4.9 kB
    Update README.md about 2 years ago
  • added_tokens.json
    22 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • bpe.codes
    1.14 MB
    Add new SentenceTransformer model. about 2 years ago
  • config.json
    774 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • config_sentence_transformers.json
    165 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • model.safetensors
    540 MB
    xet
    Add new SentenceTransformer model. about 2 years ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • special_tokens_map.json
    167 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • tokenizer_config.json
    1.14 kB
    Add new SentenceTransformer model. about 2 years ago
  • vocab.txt
    895 kB
    Add new SentenceTransformer model. about 2 years ago