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-large-zh

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

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

  • Libraries
  • Transformers

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

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="BAAI/bge-large-zh")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("BAAI/bge-large-zh")
    model = AutoModel.from_pretrained("BAAI/bge-large-zh")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Update usage with infinity

#11 opened over 1 year ago by
michaelfeil

Missing file model.safetensors

2
#10 opened about 2 years ago by
difonjohaiv

模型支持最大文本长度为512token,请问一个token对应几个英文字母或中文汉字?

1
#9 opened over 2 years ago by
kyonyan

为什么fastchat上部署了bge模型,同样的sentence,向量化的结果不一样?有好的解决方法吗

#8 opened over 2 years ago by
xiasen

在不分词的情况下词语的含义会丢失么

3
#6 opened over 2 years ago by
yinzhenhua

文章最大的token数量大概是多少?

1
#3 opened almost 3 years ago by
ocean11

有中文文档分割模型吗?

1
#2 opened almost 3 years ago by
yueyexingkong

为什么不做个中英混合的模型呢?

2
#1 opened almost 3 years ago by
qingfengmilvus
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs