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

TrendHD
/
bge-small-en-v1.5-int8

Sentence Similarity
sentence-transformers
ONNX
English
bert
int8
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use TrendHD/bge-small-en-v1.5-int8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use TrendHD/bge-small-en-v1.5-int8 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("TrendHD/bge-small-en-v1.5-int8")
    
    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
bge-small-en-v1.5-int8
34.8 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
TrendHD's picture
TrendHD
Update README.md
3f4e283 verified 6 months ago
  • onnx
    Upload model_int8.onnx 6 months ago
  • .gitattributes
    1.52 kB
    initial commit 6 months ago
  • README.md
    638 Bytes
    Update README.md 6 months ago
  • config.json
    713 Bytes
    Upload 6 files 6 months ago
  • quantize_config.json
    703 Bytes
    Upload 6 files 6 months ago
  • special_tokens_map.json
    132 Bytes
    Upload 6 files 6 months ago
  • tokenizer.json
    742 kB
    Upload 6 files 6 months ago
  • tokenizer_config.json
    381 Bytes
    Upload 6 files 6 months ago
  • vocab.txt
    262 kB
    Upload 6 files 6 months ago