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

  • Log In
  • Sign Up

BAAI
/
bge-base-en

Feature Extraction
Transformers
PyTorch
ONNX
Safetensors
English
bert
mteb
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community
7

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

  • Libraries
  • Transformers

    How to use BAAI/bge-base-en with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="BAAI/bge-base-en")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("BAAI/bge-base-en")
    model = AutoModel.from_pretrained("BAAI/bge-base-en")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
bge-base-en
1.31 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 21 commits
Shitao's picture
Shitao
yashvardhan7's picture
yashvardhan7
Adding ONNX file of this model (#6)
b737bf5 verified about 2 years ago
  • 1_Pooling
    upload almost 3 years ago
  • onnx
    Adding ONNX file of this model (#6) about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    90.1 kB
    update over 2 years ago
  • config.json
    719 Bytes
    Update config.json almost 3 years ago
  • config_sentence_transformers.json
    124 Bytes
    upload almost 3 years ago
  • model.safetensors
    438 MB
    xet
    Adding `safetensors` variant of this model (#4) over 2 years ago
  • modules.json
    349 Bytes
    update over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.FloatStorage",
    • "torch.LongStorage"

    What is a pickle import?

    438 MB
    xet
    upload almost 3 years ago
  • sentence_bert_config.json
    52 Bytes
    upload almost 3 years ago
  • special_tokens_map.json
    125 Bytes
    upload almost 3 years ago
  • tokenizer.json
    711 kB
    upload almost 3 years ago
  • tokenizer_config.json
    366 Bytes
    upload almost 3 years ago
  • vocab.txt
    232 kB
    upload almost 3 years ago