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

BAAI
/
bge-base-zh

Feature Extraction
Transformers
PyTorch
Safetensors
Chinese
bert
text-embeddings-inference
Model card Files Files and versions
xet
Community
7

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

  • Libraries
  • Transformers

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

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="BAAI/bge-base-zh")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("BAAI/bge-base-zh")
    model = AutoModel.from_pretrained("BAAI/bge-base-zh")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
bge-base-zh / 1_Pooling
Ctrl+K
Ctrl+K
  • 4 contributors
History: 1 commit
ldwang's picture
ldwang
upload
0d90ab2 almost 3 years ago
  • config.json
    190 Bytes
    upload almost 3 years ago