Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

OrcaDB
/
bge-base

Feature Extraction
sentence-transformers
Safetensors
Transformers
English
bert
sentence-similarity
mteb
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use OrcaDB/bge-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use OrcaDB/bge-base with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("OrcaDB/bge-base")
    
    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 OrcaDB/bge-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="OrcaDB/bge-base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("OrcaDB/bge-base")
    model = AutoModel.from_pretrained("OrcaDB/bge-base")
  • Notebooks
  • Google Colab
  • Kaggle
bge-base
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
AmoghM's picture
AmoghM
added support instruction flag
7e32c00 verified 11 months ago
  • 1_Pooling
    Add new SentenceTransformer model. about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    94.6 kB
    Add new SentenceTransformer model. about 1 year ago
  • config.json
    873 Bytes
    added support instruction flag 11 months ago
  • config_sentence_transformers.json
    195 Bytes
    Add new SentenceTransformer model. about 1 year ago
  • model.safetensors
    438 MB
    xet
    Add new SentenceTransformer model. about 1 year ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model. about 1 year ago
  • sentence_bert_config.json
    52 Bytes
    Add new SentenceTransformer model. about 1 year ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model. about 1 year ago
  • tokenizer.json
    711 kB
    Add new SentenceTransformer model. about 1 year ago
  • tokenizer_config.json
    1.24 kB
    Add new SentenceTransformer model. about 1 year ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model. about 1 year ago