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

BAAI
/
bge-small-zh-v1.5

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

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

  • Libraries
  • Transformers

    How to use BAAI/bge-small-zh-v1.5 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="BAAI/bge-small-zh-v1.5")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("BAAI/bge-small-zh-v1.5")
    model = AutoModel.from_pretrained("BAAI/bge-small-zh-v1.5", device_map="auto")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
bge-small-zh-v1.5
192 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 11 commits
ldwang's picture
ldwang
update
7999e1d almost 3 years ago
  • 1_Pooling
    upload almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    27.7 kB
    update almost 3 years ago
  • config.json
    776 Bytes
    upload almost 3 years ago
  • config_sentence_transformers.json
    124 Bytes
    upload almost 3 years ago
  • model.safetensors
    95.8 MB
    xet
    Adding `safetensors` variant of this model (#1) almost 3 years ago
  • modules.json
    349 Bytes
    update almost 3 years ago
  • pytorch_model.bin
    95.8 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
    439 kB
    upload almost 3 years ago
  • tokenizer_config.json
    367 Bytes
    upload almost 3 years ago
  • vocab.txt
    110 kB
    upload almost 3 years ago